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
601 stars 123 forks source link

How to get the last committed offset metric from v1's kafka_minion_group_topic_partition_last_commit? #240

Open Itox001 opened 6 months ago

Itox001 commented 6 months ago

Hello! Thanks for this awesome tool.

As we upgraded from Kafka minion V1 to Kminion V2, we lost the metric kafka_minion_group_topic_partition_last_commit. This was useful for us, since we could detect stalled consumers easily. I imagine that the metric should still be implicitly available in what Kminion V2 exposes, but I can't find how to extract it. Can anybody advise of this is possible?

Thanks!