sqlcommenter has defined a format for propagating context into SQL statements for propagation through DBs. As part of bringing it to OTel, we should probably start by speccing out propagation. I suspect with such a spec it would be fairly simple to implement in many existing OTel SQL instrumentation libraries.
Related discussion arguing against a snowflake approach to sqlcommenter instrumentation:
open-telemetry/community#783 (comment)
sqlcommenterhas defined a format for propagating context into SQL statements for propagation through DBs. As part of bringing it to OTel, we should probably start by speccing out propagation. I suspect with such a spec it would be fairly simple to implement in many existing OTel SQL instrumentation libraries.Related discussion arguing against a snowflake approach to sqlcommenter instrumentation:
open-telemetry/community#783 (comment)