-
Couldn't load subscription status.
- Fork 913
Description
I have a spring boot app auto configured with opentelemetry, and am using kafka to send some messages. I am attempting to prevent some attributes/metrics from being emitted such as client-id and kafka.producer.io_ratio. Here is a sample of a properties file
otel.experimental.resource.disabled-keys=client-id,kafka.producer.io_ratio
I am not getting the expected results. I may have a fundamental misunderstanding of this prop as it seems to work for some other attributes, can someone point out what im doing wrong? I also tried creating a view-config.yml file and had the below
- selector:
instrument_name: kafka.producer.io_ratio
views:
aggregation: drop
but this seemed to disable all sorts of tracing and the entire kafka metrics.