redpanda-data / kminion

KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
MIT License
613 stars 122 forks source link

Documentation: Wrong type of the metric `kminion_kafka_consumer_group_topic_offset_sum` #165

Closed s2504s closed 2 years ago

s2504s commented 2 years ago

Hi, there! It looks like is a mistake in the metric description:

# TYPE kminion_kafka_consumer_group_topic_offset_sum gauge

But it seems to me this is a counter

image

https://github.com/redpanda-data/kminion/blob/master/docs/metrics.md

weeco commented 2 years ago

This is a gauge but the monotonic increase is expected as Kafka offsets are append only. The offset sum / high water marks can not suddenly drop, unless we remove partitions or similar.