MySQL high threads running
warning

Description More than 60% of MySQL connections are in running state on {{ $labels.instance }}
Query for 2m
>>>
	
				
					
					
						max_over_time
					
				
			
				
					(
				
			
				
					
				
			
				
					[1m]) / 
				
			
				
					
				
			
				
					 * 100 > 60
				
			
    
Query Explanation

The rule computes the highest count of MySQL threads in the Running state over the last minute, divides that by the configured max_connections, multiplies by 100, and fires when the result exceeds 60 %. In short, if more than 60 % of the allowed MySQL connections are active (running), the alert triggers for that instance.

Get Alert
Download
Copy to Clipboard