-
Is it possible to turn off OpenTelemetry Tracing subsystem completely but keep active OTel metrics and logging? Some of my projects don't really need tracing, but centralized log and metrics acquisition via OpenTelemetry is handy.
which tell me that tracing components are still active. I can easily suppress those messages by configuring logging, but it would be a better solution to disable the tracing itself what it's not needed, thus avoiding unnecessary use of machine resources. Setting the property
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @brunobat (opentelemetry), @ebullient (metrics), @jmartisk (metrics), @radcortez (opentelemetry) |
Beta Was this translation helpful? Give feedback.
-
The exception when you set
You can ignore dependencies you don't use and other libraries outside quarkus core might have additional switches. |
Beta Was this translation helpful? Give feedback.
The exception when you set
quarkus.otel.traces.enabled=false
looks like a bug. Can you please file one?You can disable all tracing instrumentation, therefore suppressing most span related processing by setting:
You can ignore dependencies you don't use and other libraries outside quarkus core might have additional switches.