Skip to content

Commit

Permalink
prometheus/prom_rules/prometheus.rules.yml: Add a warning about split…
Browse files Browse the repository at this point in the history
…-brain cluster
  • Loading branch information
amnonh committed Feb 19, 2024
1 parent 2a58877 commit 3ff6f13
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 3ff6f13

Please sign in to comment.