Update query for unused replication slot rule

This commit is contained in:
Samuel Berthe 2025-09-14 19:22:05 +02:00 committed by GitHub
parent 264bcb82be
commit 237e89babc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -700,7 +700,7 @@ groups:
severity: critical
- name: Postgresql unused replication slot
description: Unused Replication Slots
query: "pg_replication_slots_active == 0"
query: "(pg_replication_slots_active == 0) and (pg_replication_is_replica == 0)"
severity: warning
for: 1m
- name: Postgresql too many dead tuples