lucianjon / zk-exporter

Exposes monitoring metrics for Apache Zookeeper to Prometheus
MIT License
27 stars 7 forks source link

"zk_ok" metric always return 1 #6

Open kholis opened 5 years ago

kholis commented 5 years ago

zk_ok always return 1, even instance is dead. how to fix this? thankyou.

ricky1024 commented 5 years ago

+1

pkesso commented 5 years ago

It seems that some metrics, like is_ok and zk_server_state returns latest available value, so when node goes down, exporter returns value instead of N/A, NULL or something.