-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Describe the bug
I have a Quarkus application that processes thousands of Kafka events per second. However, I don't want to have a trace/span for every Kafka event.
https://quarkus.io/guides/opentelemetry
how can i disable the creation of traces for Kafka?
i got 4 different ENVS
- name: OTEL_INSTRUMENTATION_KAFKA_ENABLED
value: 'false'
- name: OTEL_INSTRUMENT_MESSAGING
value: 'false'
- name: QUARKUS_OTEL_INSTRUMENT_MESSAGING
value: 'false'
- name: QUARKUS_OTEL_INSTRUMENTATION_KAFKA_ENABLED
value: 'false'
The documentation is very unclear, especially when you have part of an agent and part of a library, and then there's the Quarkus library.
Best Achim
Steps to reproduce
Create a Quarkus app that processes/produces many Kafka events and implement the OpenTelemetry library.
Expected behavior
Possibility to prevent instrumentation using ENV for all Kafka events
Actual behavior
Chewing traces per second only for Kafka events
Javaagent or library instrumentation version
quarkus-opentelemetry
Environment
<quarkus.platform.version>3.20.2.redhat-00002</quarkus.platform.version>
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.