You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As maintainers/owners of some open source libraries, we were asked to disable our first party instrumentation because the users uses our library in an environment where they also use the DataDog auto-instrumentation (arguably they should detect first party instrumentation and not double instrument) which duplicates instrumentation and confuses users.
Ideally if this is implemented via the Context, we can actually have this implemented in the SdkTracerProvider will just work in all the instrumentations.
What did you expect to see?
A solution that we can implement in Python/Java/Go/JavaScript.
Additional context.
Add any other context about the problem here. If you followed an existing documentation, please share the link to it.
Also, the Developer Experience SIG there is a good chance that a feature like Python's "suppress_instrumentation" will be taken up. But those suppress entire call paths and thus would extend beyond a specific instrumentation library.
Thanks @tsloughter, this will help for the isolated case of the whole library.
Also, the Developer Experience SIG there is a good chance that a feature like Python's "suppress_instrumentation" will be taken up. But those suppress entire call paths and thus would extend beyond a specific instrumentation library.
This would be amazing because this + the scope config will cover most of the cases.
mtwo
transferred this issue from open-telemetry/opentelemetry-specification
Oct 1, 2024
What are you trying to achieve?
As maintainers/owners of some open source libraries, we were asked to disable our first party instrumentation because the users uses our library in an environment where they also use the DataDog auto-instrumentation (arguably they should detect first party instrumentation and not double instrument) which duplicates instrumentation and confuses users.
Ideally if this is implemented via the Context, we can actually have this implemented in the
SdkTracerProvider
will just work in all the instrumentations.What did you expect to see?
A solution that we can implement in Python/Java/Go/JavaScript.
Additional context.
Add any other context about the problem here. If you followed an existing documentation, please share the link to it.
I know of an existing way to do this in Python, see open-telemetry/opentelemetry-python#181
The text was updated successfully, but these errors were encountered: