Skip to content

Fix false alarm for "PostgreSQL_SplitBrain" alert

Matt Smiley requested to merge patch-10 into master

The expression "count(pg_replication_is_replica == 0) BY (environment,type) > bool 1" was returning data series with 0 values, but for alerting purposes, we want the healthy case to return no data series at all.

Fixes a bug I didn't catch in review for the previous MR: !2712 (merged)

Edited by Matt Smiley

Merge request reports