Postgresql high rate deadlock
critical

Description Postgres detected deadlocks
Query
>>>
	
				
					
					
						increase
					
				
			
				
					(
				
			
				
					
				
			
				
					{type="deadlock_detected"}[1m]) > 1
				
			
    
Query Explanation

The query counts how many deadlock errors occurred in the last minute (increase(postgresql_errors_total{type=\"deadlock_detected\"}[1m])). If that count exceeds 1 (i.e., more than one deadlock detected in a minute), the alert fires.

Get Alert
Download
Copy to Clipboard