[Prometheus] Remove useless alert
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>alerts
parent
d1c9dc30a7
commit
bc494327e7
|
@ -271,14 +271,6 @@ groups:
|
||||||
annotations:
|
annotations:
|
||||||
summary: Postgresql too many connections (instance {{ $labels.instance }})
|
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
|
- alert: PostgresqlDeadLocks
|
||||||
expr: increase(pg_stat_database_deadlocks{datname!~"template.*|postgres"}[1m]) > 5
|
expr: increase(pg_stat_database_deadlocks{datname!~"template.*|postgres"}[1m]) > 5
|
||||||
for: 0m
|
for: 0m
|
||||||
|
|
Loading…
Reference in New Issue