Kafka 消费者组指标集
编辑Kafka 消费者组指标集编辑
这是 Kafka 模块的 consumergroup
指标集。
这是一个默认的指标集。如果主机模块未配置,则默认情况下启用此指标集。
有关指标集中每个字段的描述,请参见导出字段 部分。
以下是由此指标集生成的示例文档
{ "@timestamp": "2017-10-12T08:05:34.853Z", "event": { "dataset": "kafka.consumergroup", "duration": 115000, "module": "kafka" }, "kafka": { "broker": { "address": "172.21.0.2:9092", "id": 0 }, "consumergroup": { "client": { "host": "127.0.0.1", "id": "consumer-1", "member_id": "consumer-1-8653cb3a-afed-4b1b-87d0-2a208319b41e" }, "consumer_lag": 77, "error": { "code": 0 }, "id": "console-consumer-40539", "meta": "", "offset": -1 }, "partition": { "id": 0, "topic_id": "0-test" }, "topic": { "name": "test" } }, "metricset": { "name": "consumergroup", "period": 10000 }, "service": { "address": "172.21.0.2:9092", "type": "kafka" } }