Postgresql replication lag
warning

Description The PostgreSQL replication lag is high (> 5s)
Query for 30s
>>>
	
				
					
				
			
				
					 > 5
				
			
    
Query Explanation

The rule checks the metric pg_replication_lag_seconds and triggers when it exceeds 5 seconds for a replica. In other words, any PostgreSQL replica reporting a replication lag greater than 5 s will fire the alert.

Get Alert
Download
Copy to Clipboard