Skip to content

Disabling OpenTelemetry Tracing while keeping OTLP Log and Metrics export #47011

Answered by brunobat
Ultranium asked this question in Q&A
Discussion options

You must be logged in to vote

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:

quarkus.otel.instrument.grpc=false
quarkus.otel.instrument.messaging=false
quarkus.otel.instrument.resteasy-client=false
quarkus.otel.instrument.resteasy-client=false
quarkus.otel.instrument.vertx-http=false
quarkus.otel.instrument.vertx-event-bus=false
quarkus.otel.instrument.vertx-sql-client=false
quarkus.otel.instrument.vertx-redis-client=false

You can ignore dependencies you don't use and other libraries outside quarkus core might have additional switches.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Ultranium
Comment options

Answer selected by Ultranium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment