diff --git a/_data/rules.yml b/_data/rules.yml index cbee2db..ab1cf81 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -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