kafka_exporter icon indicating copy to clipboard operation
kafka_exporter copied to clipboard

How to limit kafka exporter metrics

Open zarafree opened this issue 2 years ago • 5 comments

We wanted to gather only limited metrics from kafka exporter (Not JMX kafka metrics). For example, we need only kafka_consumergroup_current_offset and kafka_consumergroup_lag metrics from kafka exporter. We are getting OOMkilled for kafka exporter. We tried to increase pod limit but no luck so wanted to filter metrics so it will improve performance. any help / suggestions?

zarafree avatar Mar 23 '22 09:03 zarafree

how many topics/partitions are you running? We have ~1400 topics with ~7500 partitions and kafka-exporter is using 75MB of ram.

See this response: https://github.com/danielqsj/kafka_exporter/issues/305#issuecomment-1162214186

andyast avatar Jun 21 '22 19:06 andyast

It's not a ram problem but a scrape time problem

msartor92 avatar Oct 07 '22 09:10 msartor92

+1

trycrmr avatar Jul 17 '23 20:07 trycrmr

+1

devopsteam605 avatar Jul 30 '23 20:07 devopsteam605