Skip to content

Apache ZooKeeper

Supported ZooKeeper versions and how HEAL monitors them over JMX.

2 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
App Server ZOOKEEPER 3.6.0, 3.6.3

Monitoring Strategies for Components#

Zookeeper is monitored using JMX to collect performance metrics and script. HEAL’s Component Agent connects to Zookeeper’s JMX server to gather data on request latencies, session counts, and resource utilization, which is then sent to the HEAL platform.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
Zookeeper Zookeeper jvm cpu usage JVM_CPU_USAGE_Zookeeper the CPU usage of the Zookeeper Java Virtual Machine (JVM). Count
Zookeeper Zookeeper Total Live Threads TOTAL_LIVE_THREADS_Zookeeper the current number of live threads in Zookeeper. Count
Zookeeper Zookeeper Total Started Threads TOTAL_STARTED_THREADS_Zookeeper the total number of threads started by Zookeeper since it was launched. Count
Zookeeper Zookeeper Total Peak Threads TOTAL_PEAK_THREADS_Zookeeper the highest number of threads active at any point in time since Zookeeper was launched. Count
Zookeeper Zookeeper Total Daemon Threads TOTAL_DAEMON_THREADS_Zookeeper the current number of daemon threads in Zookeeper. Count
Zookeeper Zookeeper jvm heap Size JVM_HEAPSIZE_Zookeeper the current size of the JVM heap used by Zookeeper. Count
Zookeeper Zookeeper Heap Memory Usage In MB HEAP_MEMORY_USAGE_IN_MB_Zookeeper the amount of heap memory used by Zookeeper in megabytes (MB). Count
Zookeeper Zookeeper Non Heap Memory Usage In MB NON_HEAP_MEMORY_USAGE_IN_MB_Zookeeper the amount of non-heap memory used by Zookeeper in megabytes (MB). Count
Zookeeper Avg Request Latency zookeeper##@@##AvgRequestLatency The amount of time it takes for the server to respond to a client request. Milliseconds
Zookeeper Fsync Threshold Exceed Count zookeeper##@@##FsyncThresholdExceedCount Number of fsync threshold exceeds so far Count
Zookeeper Max Client Cn xns Per Host zookeeper##@@##MaxClientCnxnsPerHost Current maxClientCnxns allowed from a particular host Count
Zookeeper Max Request Latency zookeeper##@@##MaxRequestLatency The maximum time taken by ZooKeeper server to process a request Milliseconds
Zookeeper Max Session Timeout zookeeper##@@##MaxSessionTimeout The maximum session timeout that the server will allow the client to negotiate Milliseconds
Zookeeper Min Request Latency zookeeper##@@##MinRequestLatency The minimum time taken by ZooKeeper server to process a request Milliseconds
Zookeeper Min Session Timeout zookeeper##@@##MinSessionTimeout The minimum session timeout that the server will allow the client to negotiate Milliseconds
Zookeeper Num Alive Connections zookeeper##@@##NumAliveConnections Number of currently active database connections. Count
Zookeeper Outstanding Requests zookeeper##@@##OutstandingRequests Number of requests queued Count
Zookeeper Packets Received zookeeper##@@##PacketsReceived The number of packets received Count
Zookeeper Packets Sent zookeeper##@@##PacketsSent The number of packets sent Count
Zookeeper Total Daemon Threads DaemonThreadCount The total number of threads available in a process. Daemon threads include started and alive threads too. Count
Zookeeper TotalPeakThreads PeakThreadCount Total number of currently running threads Count
Zookeeper Total Live Threads ThreadCount The total number of threads that are running. A thread automatically expires once it completes its execution. Count
Zookeeper Thread Count ThreadCount Total number of threads currently running in the system. Count
Zookeeper Total Started Threads TotalStartedThreadCount Total number of threads that have been started since the application started. Count
Zookeeper Heap Memory Usage HeapMemoryUsage-used Total amount of heap memory being used by the application. Bytes
Zookeeper Max NonHeap Memory NonHeapMemoryUsage-committed the maximum amount of non-heap memory used by the HEAL Appnomic software. Kilobytes
Zookeeper Max Heap Memory HeapMemoryUsage-committed the maximum amount of heap memory used by the HEAL Appnomic software. Kilobytes
Zookeeper NonHeap Memory Usage NonHeapMemoryUsage-used Current Non-heap memory usage (in MB) of the server. Bytes
Zookeeper Process CPU Load ProcessCpuLoad The percentage of CPU usage by the process running the server. Percentage
Zookeeper Collection Count CollectionCount Total number of collections that have occurred. Count
Zookeeper Collection Time CollectionTime Approximate accumulated collection elapsed time in milliseconds. Milliseconds
Zookeeper Certificate Expiry Days CERTIFICATE_EXPIRY_DAYS Indicates the number of days remaining until the server certificate expires. Count