Allow users a consistent story across languages to disable first party instrumentation for a library #4185
Labels
area:configuration
Related to configuring the SDK
spec:trace
Related to the specification/trace directory
triage:deciding:community-feedback
triage:followup
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: