-
Hi All , We need to filter or limit kafka metrics which we don't monitor but unable to find where to add the filter criteria . We have a third part app scraping metrics from prometheus endpoint and they want filter logic to be applied at kafka broker level as they don't want to do that after reading all the metrics . Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
it depends a bit what metrics are you talking about. You can configure the metrics exposed through the JMX Prometheus Exporter in the Config Map that configures it. For Kafka Exporter, you can configure some things such as topic or group filters in the Kafka CR. |
Beta Was this translation helpful? Give feedback.
I'm not sure it is that simple as you are matching the JMX metrics and translating them into Prometheus metrics. But essentially yes, the rules there control what is exposed. So by replacing some of the wildcards with more specific values, you reduce the exposed metrics.