Skip to content
Discussion options

You must be logged in to vote

Hi @bangonkali, the auto-instrumentation package provides the following environment variables that would implement the same functionality as if you were configuring the SDK this way, which handles the "*" input:

  • OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_SOURCES (
    | `OTEL_DOTNET_AUTO_TRACES_ADDITIONAL_SOURCES` | Comma-separated list of additional `System.Diagnostics.ActivitySource` names to be added to the tracer at the startup. Use it to capture manually instrumented spans. | | [Experimental](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/versioning-and-stability.md) |
    )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bangonkali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants