Postgresql high rate statement timeout critical
>>>
rate
(
postgresql_errors_total
{type="statement_timeout"}[1m]) > 3
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.
Exporters Used
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 down
Postgresql exporter error
Postgresql high rate deadlock
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