opentelemetry-specification icon indicating copy to clipboard operation
opentelemetry-specification copied to clipboard

Define configuration for enabling sqlcommenter

Open tammy-baylis-swi opened this issue 1 year ago • 3 comments

It would be great if there was a convention for how to enable sqlcommenter for those OTel libraries that have it implemented.

At the moment I see some Python and JS instrumentation libraries do this with a boolean, though the naming is inconsistent. Examples:

If instead we had OTEL_SQLCOMMENTER_ENABLED (or similar) then this could be adopted by existing libraries and more libraries as sqlcommenter is implemented. It could also be exposed as an environment variable used in auto-instrumentation and manual instrumentation.

tammy-baylis-swi avatar Jun 20 '23 18:06 tammy-baylis-swi