Monitor Apache ZooKeeper cluster health and performance
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 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. Let’s take a look at what you need to see to monitor Zookeeper and the performance metrics to gather with Applications Manager:
Automatically discover Zookeeper Clusters, monitor memory (heap and non-heap) on the Znode get alerts of changes in resource consumption. Automatically collect, graph and get alerts on garbage collection iterations, heap size and usage, threads. ZooKeeper hosts are deployed in a cluster and, as long as a majority of hosts are up, the service will be available. Make sure the total node count inside the ZooKeeper tree is consistent.
Analyze a JVM Thread Dump and pinpoint the root cause of issues. Track thread usage with metrics like Daemon, Peak and Live Thread Count. Ensure that started threads don't overload the server's memory.
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 view of the performance of your servers, regardless of whether they change roles from Followers to Leader or back.
Track the number of Znodes, the watcher 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 Apache 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.