ZooKeeper connection metricsetedit

connection Metricset fetches the data returned by the cons admin keyword. It exposes the following metrics:

  • zookeeper.connection.interest_ops: Interest ops
  • zookeeper.connection.queued: Queued connections
  • zookeeper.connection.received: Received connections
  • zookeeper.connection.sent: Connections sent

Fieldsedit

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

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