-
-
Notifications
You must be signed in to change notification settings - Fork 197
Incorrect kafka_consumergroup_group_offset Metric #30
Comments
Thanks for trying out the project @abhishekjiitr. When Kafka Lag Exporter reports group offsets it will default to Can you provide more information? Could you attach Kafka Lag Exporter metrics for the consumer group thta's being reported with group offsets of |
I have the same issue, even though our topics are in used a lot. Other lag checkers (burrow, remora, command-line, and yahoo's kafka-manager) see correct numbers.
What is reported here as the lag is the actual offset of the consumer, and also the latest offset produced. It's not possible, that this partition isn't consumed. And the group offset gets updated ... Output of kafka-consumer-groups.sh: |
@smlgbl I misunderstood the original problem. That's indeed a regression bug. Looking into it now. |
@seglo Thank you very much. I'd really like this to work - burrow and remora have proven unreliable... |
Some sample metrics from the lag exporter (with topic & cluster name obfuscated):
Output for
|
@abhishekjiitr @smlgbl Try |
Yes, it is much better than the last version, the metrics look correct now |
@smlgbl Thanks for checking. The peaks in the chart you're showing are from kafka-lag-exporter? Can you confirm it's the EDIT: I'm partially colourblind so I'm not sure which line is which ;) |
All the kafka_consumergroup_group_offset metrics for various consumer groups are all zero which leads to the lag metrics being insanely large (i.e. equal to the latest offsets), which is incorrect as the same metrics are shown correctly using
kafka-consumer-groups.sh
Helm Chart used: kafka-lag-exporter-0.4.1
Kafka Version used: 1.1.0
Kafka is deployed on kubernetes, and is not a Strimzi Kafka
Debug logs also look fine, no errors:
The text was updated successfully, but these errors were encountered: