ZooKeeper server metricset

edit

server Metricset fetches the data returned by the srvr admin keyword.

  • connections: Connections established by the server
  • latency.avg: Average latency of the server
  • latency.max: Max latency reached by the server
  • latency.min: Minimum latency that has been reached by the server
  • mode: Server mode
  • node_count: Total number of nodes
  • outstanding: Outstanding
  • received: Received requests to the server
  • sent: Requests sent by the server
  • version_date: Date of the Zookeeper release in use
  • zxid: Original value of the Zookeeper transaction ID
  • count: Total transactions of the leader in epoch
  • epoch: Epoch value of the Zookeeper transaction ID

Fields

edit

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",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "event": {
        "dataset": "zookeeper.server",
        "duration": 115000,
        "module": "zookeeper"
    },
    "metricset": {
        "name": "server"
    },
    "service": {
        "address": "localhost:2181",
        "type": "zookeeper",
        "version": "3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03"
    },
    "zookeeper": {
        "server": {
            "connections": 1,
            "count": 0,
            "epoch": 0,
            "latency": {
                "avg": 0,
                "max": 0,
                "min": 0
            },
            "mode": "standalone",
            "node_count": 4,
            "outstanding": 0,
            "received": 38,
            "sent": 37,
            "version_date": "06/29/2018 04:05 GMT",
            "zxid": "0x0"
        }
    }
}