Promhub Logo promhub_

Postgresql down
critical
Get Alert

Description Postgresql instance is down
Query
>>>
	
				
					pg_up
				
			
				
					 == 0
				
			
    
Query Explanation

The rule checks the pg_up metric, which is 1 when a PostgreSQL instance is reachable and 0 when it isn’t; the alert fires when pg_up == 0, meaning the monitored PostgreSQL server is not responding.

Source Awesome Prometheus Alerts

Exporters Used

  • PostgreSQL exporter

Related Alerts

  • PostgreSQLCacheHitRatio

  • PostgreSQLDown

  • PostgreSQLHighConnections

  • PostgreSQLMaxConnectionsReached

  • PostgreSQLQPS

  • PostgreSQLSlowQueries

  • Postgresql SSL compression active

  • Postgresql bloat index high (> 80%)

  • Postgresql bloat table high (> 80%)

  • Postgresql commit rate low

  • Postgresql configuration changed

  • Postgresql dead locks

  • Postgresql exporter error

  • Postgresql high rate deadlock

  • Postgresql high rate statement timeout

  • Postgresql high rollback rate

  • Postgresql invalid index

  • Postgresql low XID consumption

  • Postgresql not enough connections

  • Postgresql replication lag

  • Postgresql restarted

  • Postgresql table not auto analyzed

  • Postgresql table not auto vacuumed

  • Postgresql too many connections

  • Postgresql too many dead tuples

  • Postgresql too many locks acquired

  • Postgresql unused replication slot

Get Alert✕
Download
Copy to Clipboard
Promhub Logo promhub_
Overview Alerts 639 Dashboards 2000 Exporters 215 Metrics 2283
Shortcuts
Search /
Move jk
Open ⏎l
Back h
Copy YAML y

Built for the Prometheus community