Skip to content

Commit

Permalink
chore: shorten Active Controllers alert period, set to == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer committed Oct 10, 2024
1 parent 7cfebee commit 2ca73c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/alert_rules/prometheus/kafka_metrics.rules
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ groups:
# Controller and Partitions
# =========================
- alert: Active Controllers
expr: sum(kafka_controller_kafkacontroller_activecontrollercount{juju_charm!=".*"}) != 1
for: 1m
expr: sum(kafka_controller_kafkacontroller_activecontrollercount{juju_charm!=".*"}) == 0
for: 0m
labels:
severity: critical
annotations:
Expand Down Expand Up @@ -246,4 +246,4 @@ groups:
severity: warning
annotations:
summary: 'Broker {{ $labels.instance }} :: Safe Guard :: 1000 topics reached'
description: 'The number of active topics in the cluster has reached 1000.'
description: 'The number of active topics in the cluster has reached 1000.'

0 comments on commit 2ca73c9

Please sign in to comment.