Postgresql dead locks warning
PostgreSQL has dead-locks
>>>
increase
(
{datname!~"template.*|postgres"}[1m]) > 5
The rule watches the pg_stat_database_deadlocks metric (excluding template and postgres databases) and counts how many dead‑locks occurred in the last minute (increase(...[1m])). If more than 5 dead‑locks are detected within that minute, the alert fires.
Get Alert✕
Download
Copy to Clipboard