-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
262bed3
commit 51c1142
Showing
3 changed files
with
25 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
groups: | ||
- name: konsumer-alerts | ||
rules: | ||
- alert: ProcessedMessageDecreasing | ||
expr: sum(rate(kafka_konsumer_processed_messages_total{job="konsumer"}[1m])) < 0.1 | ||
- alert: UnprocessedMessageIncreasing | ||
expr: increase(kafka_konsumer_unprocessed_messages_total{job="konsumer"}[5m]) > 0 | ||
for: 5m | ||
labels: | ||
severity: "critical" | ||
annotations: | ||
summary: "Kafka Konsumer processed message decreasing" | ||
description: "Kafka Konsumer processed message decreasing, current rate: {{ $value }} <http://localhost:3000/d/DlIdtG_4z/kafka-konsumer-dashboard|Grafana>" | ||
summary: "Kafka Konsumer unprocessed message increasing" | ||
description: "Kafka Konsumer unprocessed message increasing, current value: {{ $value }} <http://localhost:3000/d/DlIdtG_4z/kafka-konsumer-dashboard|Grafana>" |