danielqsj / kafka_exporter

Kafka exporter for Prometheus
Apache License 2.0
2.17k stars 608 forks source link

请问可以监控kafka “集群“ 的相关指标吗 #58

Open leezake opened 6 years ago

leezake commented 6 years ago

比如说集群中brokers的存活状态,node是否下线

ZJLavender commented 5 years ago

If you want those parameter,you can try to use jmx_exporter

ZJLavender commented 5 years ago

You can see Kafka document: [http://kafka.apache.org/10/documentation.html#monitoring] And there have two JMX metric may help you :"ZooKeeper client request latency" and "ZooKeeper connection status". Because Kafka Cluster store meta date in ZooKeeper, so you can query this metrics and count there status to desice weather you kafka broker is online or offline.