Apache ZooKeeper is an open source project that centralizes configuration information, naming, synchronization, passwords and certs and group services over large clusters in distributed systems, making configuration easier to manage with improved, more reliable propagation of changes.
Why use a Telegraf plugin for Apache Zookeeper?
Because Apache Zookeeper helps to keep your service-oriented architecture highly available, it makes sense to keep Apache Zookeeper up and running in a performant and efficient manner. You can use the Apache Zookeeper Telegraf Plugin to help you collect key performance metrics about your instance to do just that.
How to monitor Apache Zookeeper using the Telegraf plugin
Getting started with the Apache Zookeeper Telegraf Plugin requires that you modify some configurations to help fit with your environment. Simply add the addresses to gather the metrics from (IP or hostname with port), set some time outs, and configure the optional TLS configurations. Once you have that set up, it will start pumping metrics into your InfluxDB instance for you to query, visualize, and start keeping your Apache Zookeeper instance running.
Key Apache Zookeeper metrics to use for monitoring
Some of the important Apache Zookeeper metrics that you can proactively monitor with the Apache Zookeeper Telegraf plugin include:
followers(integer, leader only)
synced_followers(integer, leader only)
pending_syncs(integer, leader only)