-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Is your feature request related to a problem? Please describe.
When using the Java auto-instrumentation agent, if I set OTEL_TRACES_EXPORTER=none, traces are not exported, but spans are still generated at runtime. My understanding is that this still introduces performance overhead.
If my goal is to collect only metrics, is there a way to fully disable span creation so that no tracing data is produced at all? This would help reduce unnecessary runtime costs.
Describe the solution you'd like
When using the Java auto-instrumentation agent, if I set OTEL_TRACES_EXPORTER=none, traces are not exported, but spans are still generated at runtime. My understanding is that this still introduces performance overhead.
If my goal is to collect only metrics, is there a way to fully disable span creation so that no tracing data is produced at all? This would help reduce unnecessary runtime costs.
Describe alternatives you've considered
No response
Additional context
No response
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.