Kafka consumergroup 度量集
编辑Kafka consumergroup 度量集
编辑这是 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" } }