Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/cp-kafka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
appVersion: 7.6.0
description: A Helm chart for Confluent Kafka on Kubernetes
name: cp-kafka
version: 0.3.6
version: 0.3.7
4 changes: 2 additions & 2 deletions charts/cp-kafka/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ spec:
- alert: KafkaUnderReplicatedPartitions
annotations:
message: {{` "etcd cluster \"{{ $labels.job }}\": member {{ $labels.instance }} has no leader." `}}
expr: count(cp_kafka_server_replicamanager_underreplicatedpartitions) > 1
expr: sum(cp_kafka_server_replicamanager_underreplicatedpartitions) > 1
for: 5m
labels:
severity: critical
- alert: KafkaPartitionsOffline
annotations:
message: {{` "etcd cluster \"{{ $labels.job }}\": member {{ $labels.instance }} has no leader." `}}
expr: count(cp_kafka_controller_kafkacontroller_offlinepartitionscount) > 1
expr: sum(cp_kafka_controller_kafkacontroller_offlinepartitionscount) > 1
for: 5m
labels:
severity: critical
Expand Down