diff --git a/roles/prometheus/templates/prometheus/alert.rules.yml.j2 b/roles/prometheus/templates/prometheus/alert.rules.yml.j2 index e11d6f77..c6339f26 100644 --- a/roles/prometheus/templates/prometheus/alert.rules.yml.j2 +++ b/roles/prometheus/templates/prometheus/alert.rules.yml.j2 @@ -271,14 +271,6 @@ groups: annotations: summary: Postgresql too many connections (instance {{ $labels.instance }}) - - alert: PostgresqlNotEnoughConnections - expr: sum by (datname) (pg_stat_activity_count{datname!~"template.*|postgres"}) < 5 - for: 2m - labels: - severity: warning - annotations: - summary: Postgresql not enough connections (instance {{ $labels.instance }}) - - alert: PostgresqlDeadLocks expr: increase(pg_stat_database_deadlocks{datname!~"template.*|postgres"}[1m]) > 5 for: 0m