A Prometheus exporter for Zookeeper 3.4+. It send the mntr
command to a Zookeeper node and converts the output to Prometheus format.
Download the latest release, pull the Docker image or follow the instructions below for building the source.
There is a -help
flag for listing the available flags.
go get -u github.com/carlpett/zookeeper_exporter
and then make build
.
Due to the type of data exposed by Zookeeper's mntr
command, it currently resets Zookeeper's internal statistics every time it is scraped. This makes it unsuitable for having multiple parallel scrapers.