Postgresql unused replication slot
warning

Description Unused Replication Slots
Query for 1m
>>>
	
				
					(
				
			
				
					
				
			
				
					 == 0) and (
				
			
				
					
				
			
				
					 == 0)
				
			
    
Query Explanation

The alert fires when a replication slot exists (pg_replication_is_replica == 0 indicates it is a slot on the primary) but it is not currently active (pg_replication_slots_active == 0). In that case the slot is unused, triggering the alert.

Get Alert
Download
Copy to Clipboard