Postgresql restarted
critical

Description Postgresql restarted
Query
>>>
	
				
					
					
						time
					
				
			
				
					() - 
				
			
				
					
				
			
				
					 < 60
				
			
    
Query Explanation

The query checks how many seconds have elapsed since the PostgreSQL server’s process (pg_postmaster) started (pg_postmaster_start_time_seconds). If that elapsed time is less than 60 seconds (i.e., the server started within the last minute), the alert fires, indicating that PostgreSQL has just restarted.

Get Alert
Download
Copy to Clipboard