mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +08:00
Fixing in-sync replica condition
If the in-sync replicas minimum set by topic is less than 3, an alert is needed.
This commit is contained in:
parent
23e5627567
commit
3aa92fbc9a
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ services:
|
|||
rules:
|
||||
- name: Kafka Topics
|
||||
description: Kafka topic in-sync partition
|
||||
query: 'sum(kafka_topic_partition_in_sync_replica) by (topic) > 3'
|
||||
query: 'sum(kafka_topic_partition_in_sync_replica) by (topic) < 3'
|
||||
severity: error
|
||||
- name: Kafka consumers group
|
||||
description: Kafka consumers group
|
||||
|
|
|
|||
Loading…
Reference in a new issue