mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +08:00
Merge pull request #20 from MarceStarlet/kafka-insync
Adding in-sync replica by topic metric rule
This commit is contained in:
commit
04ff3a8568
1 changed files with 4 additions and 0 deletions
|
|
@ -270,6 +270,10 @@ services:
|
|||
- name: danielqsj/kafka_exporter
|
||||
doc_url: https://github.com/danielqsj/kafka_exporter
|
||||
rules:
|
||||
- name: Kafka Topics
|
||||
description: Kafka topic in-sync partition
|
||||
query: 'sum(kafka_topic_partition_in_sync_replica) by (topic) < 3'
|
||||
severity: error
|
||||
- name: Kafka consumers group
|
||||
description: Kafka consumers group
|
||||
query: 'sum(kafka_consumergroup_lag) by (consumergroup) > 50'
|
||||
|
|
|
|||
Loading…
Reference in a new issue