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
        }
    }
}