Documentation
¶
Overview ¶
Package server fetches metrics from ZooKeeper by using the srvr command
See the srvr command documentation at https://zookeeper.apache.org/doc/current/zookeeperAdmin.html
ZooKeeper srvr Command Output
$ echo srvr | nc localhost 2181 Zookeeper version: 3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03, built on 06/29/2018 04:05 GMT
Latency min/avg/max: 1/2/3 Received: 46 Sent: 45 Connections: 1 Outstanding: 0 Zxid: 0x700601132 Mode: standalone Node count: 4 Proposal sizes last/min/max: -3/-999/-1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricSet ¶
type MetricSet struct {
mb.BaseMetricSet
}
MetricSet for fetching ZooKeeper health metrics.
Click to show internal directories.
Click to hide internal directories.