Postgresql high rate statement timeout
critical

Description Postgres transactions showing high rate of statement timeouts
Query
>>>
	
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{type="statement_timeout"}[1m]) > 3
				
			
    
Query Explanation

The query calculates the per‑second rate of PostgreSQL errors with type="statement_timeout" over the last minute and fires when this rate exceeds 3 errors per second. In other words, if more than three statement‑timeout errors are observed each second on average over a 1‑minute window, the alert triggers.

Get Alert
Download
Copy to Clipboard