What is the correct way to turn off the metrics export ? #2591
Answered
by
jkwatson
ashutoshraina
asked this question in
Q&A
-
Is there a flag to turn of the metrics export and only have the traces exported ? I looked on the readme but I could not find a property in the OTEL resource attributes. |
Beta Was this translation helpful? Give feedback.
Answered by
jkwatson
Jan 27, 2021
Replies: 1 comment 1 reply
-
If you're asking about the SDK, then just not configuring it to do metrics is enough. If you're asking about the auto-instrumentation agent, then I recommend heading over to the discussions in that repository: https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ashutoshraina
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're asking about the SDK, then just not configuring it to do metrics is enough.
If you're asking about the auto-instrumentation agent, then I recommend heading over to the discussions in that repository: https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions