From bc494327e72e0eb0c613918e6fc1e9d4cc86c9e1 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 9 Aug 2022 16:40:58 +0200 Subject: [PATCH] [Prometheus] Remove useless alert Signed-off-by: Yohann D'ANELLO --- roles/prometheus/templates/prometheus/alert.rules.yml.j2 | 8 -------- 1 file changed, 8 deletions(-) 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