Skip to content

Commit

Permalink
prometheus.rules.yml: Fix the split brain warning alert
Browse files Browse the repository at this point in the history
(cherry picked from commit 9ce7772)
  • Loading branch information
amnonh committed Apr 4, 2024
1 parent d36a45c commit 2b06a51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prometheus/prom_rules/prometheus.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,16 +297,16 @@ groups:
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)
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
summary: Some nodes in the cluster do not see all of the other live nodes
- alert: bloomFilterSize
expr: scylla_sstables_bloom_filter_memory_size/scylla_memory_total_memory > 0.1
for: 10m
labels:
severity: "warn"
description: 'Bloom filter size'
description: 'Bloom filter size in node {{ $labels.instance }}'
summary: The bloom filter takes too much memory, update bloom_filter_fp_chance

0 comments on commit 2b06a51

Please sign in to comment.