Redis missing master
critical

Description Redis cluster has no node marked as master.
Query
>>>
	
				
					(
				
			
				
					
					
						count
					
				
			
				
					(
				
			
				
					
				
			
				
					{role="master"}) or 
				
			
				
					
					
						vector
					
				
			
				
					(0)) < 1
				
			
    
Query Explanation

The query counts all redis_instance_info series with role="master"; using or vector(0) it returns 0 when none exist, so the expression < 1 becomes true only when there are no master nodes, triggering the alert.

Get Alert
Download
Copy to Clipboard