This commit is contained in:
samber 2025-09-14 17:22:29 +00:00
parent 237e89babc
commit b158ebb551

View file

@ -122,7 +122,7 @@ groups:
description: "Postgres detected deadlocks\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
- alert: PostgresqlUnusedReplicationSlot
expr: 'pg_replication_slots_active == 0'
expr: '(pg_replication_slots_active == 0) and (pg_replication_is_replica == 0)'
for: 1m
labels:
severity: warning