Skip to content

Commit

Permalink
[DPE-5702] chore: Active Controllers alert set to == 0 (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer authored and deusebio committed Oct 18, 2024
1 parent 1134475 commit 168521f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/alert_rules/prometheus/kafka_metrics.rules
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ groups:
# Controller and Partitions
# =========================
- alert: Active Controllers
expr: sum(kafka_controller_kafkacontroller_activecontrollercount{juju_charm!=".*"}) != 1
expr: sum(kafka_controller_kafkacontroller_activecontrollercount{juju_charm!=".*"}) == 0
for: 1m
labels:
severity: critical
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.'
4 changes: 2 additions & 2 deletions src/grafana_dashboards/kafka-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"y": 1
},
"id": 647,
"interval": null,
"interval": "30s",
"links": [],
"mappingType": 1,
"mappingTypes": [
Expand Down Expand Up @@ -206,7 +206,7 @@
"y": 1
},
"id": 233,
"interval": null,
"interval": "30s",
"links": [],
"mappingType": 1,
"mappingTypes": [
Expand Down

0 comments on commit 168521f

Please sign in to comment.