Skip to content

Commit

Permalink
Merge pull request #2100 from vladzcloudius/alert-manager-update-aler…
Browse files Browse the repository at this point in the history
…ts-severities

prometheus.rules.yml: make InstanceDown alerts 'error'
  • Loading branch information
amnonh authored Nov 2, 2023
2 parents fda2684 + f825da3 commit ed22c45
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 @@ -133,23 +133,23 @@ groups:
expr: up{job="scylla"} == 0
for: 30s
labels:
severity: "warn"
severity: "error"
annotations:
description: '{{ $labels.instance }} has been down for more than 30 seconds.'
summary: Instance {{ $labels.instance }} down
- alert: InstanceDown
expr: sum(up{job="scylla"}>0)by(instance) unless sum(scylla_transport_requests_served{shard="0"}) by(instance)
for: 1m
labels:
severity: "warn"
severity: "error"
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: "warn"
severity: "error"
annotations:
description: '{{ $labels.instance }} instance is shutting down.'
summary: Instance {{ $labels.instance }} down
Expand Down

0 comments on commit ed22c45

Please sign in to comment.