/zookeeper_exporter

Prometheus exporter for monitoring a ZooKeeper ensemble.

Primary LanguageGoApache License 2.0Apache-2.0

Prometheus ZooKeeper Exporter

An exporter for Prometheus to monitor an Apache ZooKeeper ensemble.

Building and Running

make
./zookeeper_exporter

Modes

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.

Running via docker

An example run uzing docker:

docker run -d -p 9114:9114 curiositychina/zookeeper_exporter zkserver1:2181 zkserver2:2181 zkserver3:2181