Make it possible to disable OpenTelemetry Instrumentation #650
Labels
enhancement
New feature or request
telemetry
issues that relate to the telemetry generated by the demo
Feature Request
Is your feature request related to a problem?
#589, #606 and some other issues ask for the capability to autoinstrument services, especially by using the otel operator which comes with the capability to inject Automatic Instrumentation. While creating new services which are then auto instrumented is a possibility, I'd like to propose another solution:
By making it possibile to disable manual OpenTelemetry instrumentation, it would be possible to apply injected automatic instrumentation via the operator instead.
This not only removes the need to add even more services, it also allows has a few other benefits:
Describe the solution you'd like:
My naive assumption is that this might be fairly easy to implement:
OTEL_DO_NOT_INSTRUMENT="true"
if(!env.OTEL_DO_NOT_INSTRUMENT) { intializeSDK(); }
)The text was updated successfully, but these errors were encountered: