Skip to content

Commit

Permalink
Merge pull request #2183 from amnonh/split_brain_mode
Browse files Browse the repository at this point in the history
prometheus/prom_rules/prometheus.rules.yml: Add a warning about split-brain cluster
  • Loading branch information
amnonh authored Feb 19, 2024
2 parents 2a58877 + 3ff6f13 commit ec27f70
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prometheus/prom_rules/prometheus.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,10 @@ groups:
severity: "warn"
description: 'Node {{ $labels.instance }} in Joining mode for 1 day'
summary: Node {{ $labels.instance }} in Joining mode for 1 day
- alert: splitBrain
expr: sum(scylla_gossip_live) >= (count(scylla_node_operation_mode==3)-1) * count(scylla_gossip_live)
for: 10m
labels:
severity: "warn"
description: 'Cluster in a split-brain mode'
summary: Some nodes the cluster do not see all of the other live nodes

0 comments on commit ec27f70

Please sign in to comment.