Apache ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. ZooKeeper can be deployed either in stand-alone or clustered mode. Moein Monitoring system supports monitoring of this tool in both operational modes. A variety of performance metrics for java virtual machine (JVM) such as threads, heap memory, garbage collectors, and metrics related to nodes and replicas are all monitored. Performance indicators monitored for zookeeper are listed below:
Zookeeper KPIs:
- Average Request Latency
- Server Start Time
- Sent Packets
- Received Packets
- Outstanding Requests
- Alive Connections
- Data Directory Size
- Election Time
- Packet Send Rate
- Packet Receive Rate
- Number Of Nodes In Data Tree
- Number Of Watches In Data Tree
Replica:
- List Of Replicas
- Client Socket
- Election Socket
- Is Leader?
- Learner Type
- Quorum Socket
Host KPIs:
- Committed Virtual Memory
- Total Swap Space
- Free Swap Space Size
- Used Swap Space
- Swap Space Usage
- Host Free Memory
- Host Total Memory
- Host Used Memory
- Host Memory Used Percentage
- CPU Time
- CPU Usage
- Host CPU Usage
- Number Of Processors
- Open File Descriptors
- Maximum File Descriptors
- JVM Up Time
Threads :
- Daemon Thread Count
- Peak Thread Count
- Active Thread Count
- Total Started Thread Count
- Current Thread CPU Time
- Current Thread User Time
Memory :
- Committed Heap Memory
- Initial Heap Memory
- Maximum Heap Memory
- Used Heap Memory
- Heap Memory Used Percentage
- Committed Non-Heap Memory
- Initial Non-Heap Memory
- Maximum Non-Heap Memory
- Used Non-Heap Memory
- Non-Heap Memory Used Percentage
Java Classes:
- Total Classes
- Current Locaded Classes
- Unloaded Classes
Garbage Collectors:
- Garbage Collection Count
- Garbage Collection Rate
- Garbage Collection Time
- Average Garbage Collection Time
Communication Protocols: