Zookeeper Too Many Leaders
critical

Description Zookeeper cluster has too many nodes marked as leader
Query
>>>
	
				
					
					
						sum
					
				
			
				
					(
				
			
				
					
				
			
				
					) > 1
				
			
    
Query Explanation

The query sum(zk_server_leader) > 1 adds up the zk_server_leader metric across all Zookeeper instances (each leader reports a value of 1). The alert triggers when the sum exceeds 1, meaning more than one node is acting as leader simultaneously.

Get Alert
Download
Copy to Clipboard