mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
Update query for unused replication slot rule
This commit is contained in:
parent
264bcb82be
commit
237e89babc
1 changed files with 1 additions and 1 deletions
|
|
@ -700,7 +700,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
- name: Postgresql unused replication slot
|
- name: Postgresql unused replication slot
|
||||||
description: Unused Replication Slots
|
description: Unused Replication Slots
|
||||||
query: "pg_replication_slots_active == 0"
|
query: "(pg_replication_slots_active == 0) and (pg_replication_is_replica == 0)"
|
||||||
severity: warning
|
severity: warning
|
||||||
for: 1m
|
for: 1m
|
||||||
- name: Postgresql too many dead tuples
|
- name: Postgresql too many dead tuples
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue