danielqsj / kafka_exporter

Kafka exporter for Prometheus
Apache License 2.0
2.09k stars 602 forks source link

kafka_consumergroup_current_offset and kafka_consumergroup_lag cannot be seen #407

Open Alexios-cd opened 10 months ago

Alexios-cd commented 10 months ago

About Version

kafka_exporter 1.7.0 / 2023-05-24 kafka_version 2.2.1

About Start Shell

./kafka_exporter \
--kafka.version=2.2.1 \
--web.listen-address=:19308 \
--kafka.server=bigdata01:9092 \
--kafka.server=bigdata02:9092 \
--kafka.server=bigdata03:9092

ALL Log

I0907 10:51:14.995928   14923 kafka_exporter.go:800] Starting kafka_exporter (version=1.7.0, branch=HEAD, revision=7e840e81a0170375214e2c1e1dc7ce94aeff8712)
I0907 10:51:15.000278   14923 kafka_exporter.go:971] Listening on HTTP :19308

image

The offset value of kafka used should be stored in __consumer_offsets, independent of zookeeper,

Any suggestions?

Mallikarjunradware commented 9 months ago

Same issue here, I am also unable to get any metrics of consumergroup. It was working fine till 13th Sep, suddenly it is stopped working.

So far I have take below actions:

Please help if anyone has come across the same issue and able to overcome.