Many metrics are similar to those in etcd.
-
leader_changes
: Counter The number of leader changes seen. -
learner_promote_failed
: Counter The total number of failed learner promotions (likely learner not ready) while this member is leader. -
learner_promote_succeed
: Counter The total number of successful learner promotions while this member is leader. -
heartbeat_send_failures
: Counter The total number of leader heartbeat send failures (likely overloaded from slow disk). -
apply_snapshot_in_progress
: UpDownCounter not equals to 0 if the server is applying the incoming snapshot. 0 if none. -
proposals_committed
: ObservableGauge The total number of consensus proposals committed. -
proposals_failed
: Counter The total number of failed proposals seen. -
proposals_applied
: ObservableGauge The total number of consensus proposals applied. -
proposals_pending
: ObservableGauge The current number of pending proposals to commit. -
snapshot_install_total_duration_seconds
: Histogram The total latency distributions of save called by install_snapshot. -
client_id_revokes
: Counter The total number of client id revokes times. -
has_leader
: ObservableGauge Whether or not a leader exists. 1 is existence, 0 is not. -
is_leader
: ObservableGauge Whether or not this member is a leader. 1 if is, 0 otherwise. -
is_learner
: ObservableGauge Whether or not this member is a learner. 1 if is, 0 otherwise. -
server_id
: ObservableGauge Server or member ID in hexadecimal format. 1 for 'server_id' label with the current ID. -
sp_cnt
: ObservableGauge The speculative pool size of this server. -
online_clients
: ObservableGauge The online client IDs count of this server if it is the leader.
-
client_retry_count
: Counter The total number of retries when the client propose to the cluster. -
client_fast_path_count
: Counter The total number of fast path when the client propose to the cluster. -
client_slow_path_count
: Counter The total number of slow path when the client propose to the cluster. -
client_fast_path_fallback_slow_path_count
: Counter The total number of fast path fallbacks into slow path when the client propose to the cluster.
-
slow_read_indexes
: Counter The total number of pending read indexes not in sync with leader's or timed out read index requests. -
read_indexes_failed
: Counter The total number of failed read indexes seen. -
lease_expired
: Counter The total number of expired leases. -
fd_used
: ObservableGauge The number of used file descriptors. -
fd_limit
: ObservableGauge The file descriptor limit. -
current_version
: ObservableGauge Which version is running. 1 for 'server_version' label with the current version. -
current_rust_version
: ObservableGauge Which Rust version the server is running with. 1 for 'server_rust_version' label with the current version.
-
engine_apply_snapshot_duration_seconds
: Histogram The backend engine apply snapshot duration in seconds. -
engine_write_batch_duration_seconds
: Histogram The backend engine write batch engine,batch_size
refer to the size andsync
if sync option is on.
-
peer_sent_bytes
: Counter The total number of bytes sent to peers. -
peer_sent_failures
: Counter The total number of send failures to peers. -
peer_round_trip_time_seconds
: Histogram The round-trip-time histogram between peers.