kafka_consumergroup_current_offset_sum from kafka-exporter shows -1 #10028
Casper-dss
started this conversation in
General
Replies: 1 comment 1 reply
-
You should probably start by explaining what is the metric you are talking about, where do you get it etc. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
The metric prometheus.metrics.kafka_consumergroup_current_offset_sum shows -1. I think it is calculating wrong, depending on what the purpose with this metric is.
We have a topic with 3 partitions and 1 message, and one consumer group, with on consumer. When I look at the metrics for each of the partitions it looks like this:
When these are added, the result is -1. But shouldn't it be 1? I think the -1 values should be ignored in the sum.
Beta Was this translation helpful? Give feedback.
All reactions