From ad9d0782a4da25733a2df2f2b147b55dd34d3e2d Mon Sep 17 00:00:00 2001 From: orlando Date: Thu, 2 Feb 2023 22:15:34 -0400 Subject: [PATCH] feat: complement Consumer groups section, explaining the necessary flags. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3316c3aa..2376b9a4 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,13 @@ kafka_topic_partition_under_replicated_partition{partition="0",topic="__consumer | `kafka_consumergroup_current_offset` | Current Offset of a ConsumerGroup at Topic/Partition | | `kafka_consumergroup_lag` | Current Approximate Lag of a ConsumerGroup at Topic/Partition | +#### Important Note + +To be able to collect these metrics, you must set the following flags: + +* ``use.consumelag.zookeeper``: enable collection of zookeeper metrics +* ``zookeeper.server``: address for connection to zookeeper + **Metrics output example** ```txt