Skip to content

Commit

Permalink
fix: monitor specific consumer group (#97)
Browse files Browse the repository at this point in the history
* fix: monitor specific consumer group

* Regenerate chart README.md [skip-ci]

* .

* Regenerate chart README.md [skip-ci]
  • Loading branch information
omerlh authored Jan 15, 2024
1 parent 0b1b877 commit 1447f11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/dafka-consumer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm Chart for Dafka Consumer
name: dafka-consumer
version: 12.0.0
version: 12.0.1
2 changes: 1 addition & 1 deletion charts/dafka-consumer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dafka-consumer

![Version: 12.0.0](https://img.shields.io/badge/Version-12.0.0-informational?style=flat-square)
![Version: 12.0.1](https://img.shields.io/badge/Version-12.0.1-informational?style=flat-square)

A Helm Chart for Dafka Consumer

Expand Down
2 changes: 1 addition & 1 deletion charts/dafka-consumer/templates/prometheus-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
rules:
{{ if .Values.prometheusRule.aivenDefaultRules.enabled }}
- alert: KafkaLag
expr: sum(kafka_consumer_group_rep_lag) by (name, topic) > {{ default .Values.prometheusRule.aivenDefaultRules.lagThreshold 100000 }}
expr: sum(kafka_consumer_group_rep_lag{name="{{ .Values.groupId | default .Values.name | default .Release.Name }}"}) by (topic) > {{ default .Values.prometheusRule.aivenDefaultRules.lagThreshold 100000 }}
for: {{ default .Values.prometheusRule.aivenDefaultRules.for "30m" }}
labels:
service: {{ .Release.Name }}
Expand Down

0 comments on commit 1447f11

Please sign in to comment.