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:

  • approximate_data_size (integer)
  • avg_latency (integer)
  • ephemerals_count (integer)
  • max_file_descriptor_count (integer)
  • max_latency (integer)
  • min_latency (integer)
  • num_alive_connections (integer)
  • open_file_descriptor_count (integer)
  • outstanding_requests (integer)
  • packets_received (integer)
  • packets_sent (integer)
  • version (string)
  • watch_count (integer)
  • znode_count (integer)
  • followers (integer, leader only)
  • synced_followers (integer, leader only)
  • pending_syncs (integer, leader only)

For more information, please check out the documentation.

Project URL   Documentation

Related Resources

Zookeeper Monitoring Template

How to use the Zookeeper Monitoring Template

Create your own InfluxDB template

Watch the webinar “Create InfluxDB Templates to Make Operations Workflows and Use Cases Scalable and Reliable”.

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Scroll to Top