Skip to content

Commit 5d66ea2

Browse files
committed
Change alert duration from 0m to 5m for PostgreSQL alerts
Signed-off-by: Dylan Stephano-Shachter <dylan.stephano-shachter@canonical.com>
1 parent 7ef5979 commit 5d66ea2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/prometheus_alert_rules/postgresql_rules.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ groups:
99
# 2.2.1
1010
- alert: PostgresqlDown
1111
expr: 'pg_up == 0'
12-
for: 0m
12+
for: 5m
1313
labels:
1414
severity: critical
1515
annotations:
@@ -34,7 +34,7 @@ groups:
3434
# 2.2.3
3535
- alert: PostgresqlExporterError
3636
expr: 'pg_exporter_last_scrape_error > 0'
37-
for: 0m
37+
for: 5m
3838
labels:
3939
severity: critical
4040
annotations:

0 commit comments

Comments
 (0)