Use the Replica Conflicts alert in Mini DBA to monitor PostgreSQL instances and make this condition visible before it becomes a wider database incident.
Mini DBA describes this alert as: Query conflicts on a hot standby can cancel replica queries and indicate replication/recovery pressure. The default evaluation frequency is Minute, so the alert is intended to be close enough to operational reality for live triage.
This alert protects high availability and disaster recovery by warning when replicas, replication slots, or apply processes fall behind. Lag can turn a planned failover into data loss risk or leave reporting users looking at stale data.
Enable it where replication, read replicas, failover, or reporting copies are part of the service design. Disable it on standalone systems that do not use replication so the alert list stays focused.
Threshold meaning: Conflicts per minute. Major threshold: 10 conflicts/min. Minor threshold: 1 conflicts/min. Comparison direction: "over". Use higher thresholds on batch-heavy, development, or intentionally bursty systems where brief pressure is expected. Use lower thresholds on latency-sensitive production systems, small instances with little headroom, and services with strict recovery or availability commitments.
Check the sender, receiver, apply process, network path, and oldest retained log position. Restart failed replication workers only after capturing the error, then address the root cause such as disk pressure, long transactions, schema drift, network latency, or insufficient replica capacity.
For recovery and replication alerts, route notifications to the people who own recovery objectives. Higher thresholds can be reasonable for reporting replicas, but production failover paths normally need tighter settings and explicit escalation.