Apache ZooKeeper is an open-source server that reliably coordinates distributed processes and applications. It allows distributed processes to coordinate with each other through a shared hierarchal namespace which is organized similarly to a standard file system. Apache ZooKeeper provides a hierarchical file system (with ZNodes as the system files) that helps with the discovery, registration, configuration, locking, leader selection, queueing, etc. of services working in different machines. ZooKeeper server maintains configuration information, naming, providing distributed synchronization, and providing group services, used by distributed applications.
Applications Manager's ZooKeeper monitoring aims to help administrators manage their ZooKeeper server - collect all the metrics that can help with troubleshooting, display performance graphs and be alerted automatically of potential issues. In order to keep track of your ZooKeeper server's overall operation efficiency, monitor key performance metrics such as:
Automatically discover ZooKeeper clusters, monitor memory (heap and non-heap) on the Znode, and get alerts of changes in resource consumption. Automatically collect, graph and get alerts on garbage collection iterations, heap size, system usage, and threads. ZooKeeper hosts are deployed in a cluster and, as long as a majority of hosts are up, the service will be available. Applications Manager's ZooKeeper monitoring helps make sure the total node count inside the ZooKeeper tree is consistent.
Analyze JVM thread dumps with Apache ZooKeeper monitoring to pinpoint the root cause of performance issues for troubleshooting. Track thread usage with ZooKeeper monitoring metrics like daemon, peak and live thread count. Ensure that started threads don't overload the server's memory.
With our ZooKeeper monitor, gauge the amount of time it takes for the server to respond to a client request, queued requests and connections in the server and performance degradation due to network usage (client packets sent and received). Get a consistent preview of the Zookeeper performance, regardless of whether they change roles from Followers to Leader or back.
Track the number of Znodes, the number of watchers setup over the nodes, and the number of followers within the ensemble. Keep an eye on the leader selection stats and client session times. Know where the Leader is for a quorum, and when there is a change in Leaders. Get alerts on the number of active, connected sessions, and measure the growth rate over a specific time period.
Get a jumpstart on monitoring ZooKeeper in your environment. Get instant notifications when there are performance issues with the components of Apache ZooKeeper. Become aware of performance bottlenecks and take quick remedial actions before your end users experience issues with Apache ZooKeeper monitoring. Download 30-day free trial now!
As ZooKeeper offers coordination services within a distributed system, ZooKeeper monitoring can be employed to help ease the management process with the aid of performance metrics, graphs, alarms, and RCA reports. It provides a centralized console to keep a close watch on the coordination process between distributed services through which admins can interpolate the data to find faults within the server and make necessary optimizations.
Using a monitoring software like Applications Manager, you can get detailed insights on the Znodes, watchers, and ephemeral nodes in your ZooKeeper cluster. Once a ZooKeeper monitor has been setup, you can view the count, activity status, and assign thresholds to resources in your cluster. To setup your own ZooKeeper monitor:
To learn more, visit our ZooKeeper monitoring help page.