The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:
metrics :
<metric_name> :
enabled : false
zookeeper.connection.active
Number of active clients connected to a ZooKeeper server.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{connections}
Sum
Int
Cumulative
false
zookeeper.data_tree.ephemeral_node.count
Number of ephemeral nodes that a ZooKeeper server has in its data tree.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{nodes}
Sum
Int
Cumulative
false
Size of data in bytes that a ZooKeeper server has in its data tree.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
By
Sum
Int
Cumulative
false
zookeeper.file_descriptor.limit
Maximum number of file descriptors that a ZooKeeper server can open.
Unit
Metric Type
Value Type
{file_descriptors}
Gauge
Int
zookeeper.file_descriptor.open
Number of file descriptors that a ZooKeeper server has open.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{file_descriptors}
Sum
Int
Cumulative
false
The number of followers. Only exposed by the leader.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{followers}
Sum
Int
Cumulative
false
Name
Description
Values
state
State of followers
Str: synced
, unsynced
zookeeper.fsync.exceeded_threshold.count
Number of times fsync duration has exceeded warning threshold.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{events}
Sum
Int
Cumulative
true
Average time in milliseconds for requests to be processed.
Unit
Metric Type
Value Type
ms
Gauge
Int
Maximum time in milliseconds for requests to be processed.
Unit
Metric Type
Value Type
ms
Gauge
Int
Minimum time in milliseconds for requests to be processed.
Unit
Metric Type
Value Type
ms
Gauge
Int
The number of ZooKeeper packets received or sent by a server.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{packets}
Sum
Int
Cumulative
true
Name
Description
Values
direction
State of a packet based on io direction.
Str: received
, sent
Number of currently executing requests.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{requests}
Sum
Int
Cumulative
false
Response from zookeeper ruok command
Unit
Metric Type
Value Type
1
Gauge
Int
The number of pending syncs from the followers. Only exposed by the leader.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{syncs}
Sum
Int
Cumulative
false
Number of watches placed on Z-Nodes on a ZooKeeper server.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{watches}
Sum
Int
Cumulative
false
Number of z-nodes that a ZooKeeper server has in its data tree.
Unit
Metric Type
Value Type
Aggregation Temporality
Monotonic
{znodes}
Sum
Int
Cumulative
false
Name
Description
Values
Enabled
server.state
State of the Zookeeper server (leader, standalone or follower).
Any Str
true
zk.version
Zookeeper version of the instance.
Any Str
true