ZooKeeper 连接度量集

编辑

connection 度量集获取由 cons 管理关键字返回的数据。它公开以下指标:

  • zookeeper.connection.interest_ops: 感兴趣的操作
  • zookeeper.connection.queued: 排队的连接
  • zookeeper.connection.received: 已接收的连接
  • zookeeper.connection.sent: 已发送的连接

字段

有关度量集中每个字段的描述,请参阅导出字段部分。

以下是此度量集生成的示例文档:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "client": {
        "ip": "192.168.176.1",
        "port": 53618
    },
    "event": {
        "dataset": "zookeeper.connection",
        "duration": 115000,
        "module": "zookeeper"
    },
    "metricset": {
        "name": "connection",
        "period": 10000
    },
    "service": {
        "address": "192.168.176.2:2181",
        "node": {
            "name": "0"
        },
        "type": "zookeeper"
    },
    "zookeeper": {
        "connection": {
            "interest_ops": 0,
            "queued": 0,
            "received": 1,
            "sent": 0
        }
    }
}