Skip to content
Permalink
Browse files

prometheus.rules: add an alert when a node is leaving

  • Loading branch information
Amnon Heiman
Amnon Heiman committed Jul 8, 2019
1 parent c3423b1 commit badbb59eae17bf7af6eb43b129ff4449195692c5
Showing with 8 additions and 0 deletions.
  1. +8 −0 prometheus/prometheus.rules.yml
@@ -17,6 +17,14 @@ groups:
annotations:
description: '{{ $labels.instance }} instance is shutting down.'
summary: Instance {{ $labels.instance }} down
- alert: InstanceDown
expr: scylla_node_operation_mode > 3
for: 30s
labels:
severity: "2"
annotations:
description: '{{ $labels.instance }} instance is shutting down.'
summary: Instance {{ $labels.instance }} down
- alert: DiskFull
expr: node_filesystem_avail{mountpoint="/var/lib/scylla"} / node_filesystem_size{mountpoint="/var/lib/scylla"}
* 100 < 25

0 comments on commit badbb59

Please sign in to comment.
You can’t perform that action at this time.