mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-25 02:46:59 +08:00
Publish
This commit is contained in:
parent
237e89babc
commit
b158ebb551
1 changed files with 1 additions and 1 deletions
2
dist/rules/postgresql/postgres-exporter.yml
vendored
2
dist/rules/postgresql/postgres-exporter.yml
vendored
|
|
@ -122,7 +122,7 @@ groups:
|
||||||
description: "Postgres detected deadlocks\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "Postgres detected deadlocks\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
- alert: PostgresqlUnusedReplicationSlot
|
- alert: PostgresqlUnusedReplicationSlot
|
||||||
expr: 'pg_replication_slots_active == 0'
|
expr: '(pg_replication_slots_active == 0) and (pg_replication_is_replica == 0)'
|
||||||
for: 1m
|
for: 1m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue