danielqsj / kafka_exporter

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

Taking State into Consideration & Maybe Exposing the `state` label #355

Open sherifkayad opened 1 year ago

sherifkayad commented 1 year ago

First of all thanks for this great project!

Just wanted to raise an issue that the state of the Consumer Groups (e.g. Empty or Stable) it not reflected in the metrics. That would be helpful because we also would like to see the lag stats (in Grafana) only for those Consumer Groups that are "Stable" (they have active consumers).

Any thoughts here?