An exporter for Prometheus to monitor an Apache ZooKeeper ensemble.
make
./zookeeper_exporter
zookeeper_exporter can be run in two modes: exhibitor and explicit.
In explicit mode (the default), it monitors a list of ZooKeeper servers given as command line args.
In exhibitor mode, the exporter will automatically discover servers by querying [Exhibitor]. Command lines args are assumed to be a list of Exhibitor nodes. To enable exhibitor mode, use the -exporter.discovery.exhibitor
flag.
An example run uzing docker:
docker run -d -p 9114:9114 infonova/zookeeper_exporter zkserver1:2181 zkserver2:2181 zkserver3:2181