public final class ServerMetrics extends Object
Modifier and Type | Method and Description |
---|---|
static ServerMetrics |
getMetrics()
Access current ServerMetrics.
|
MetricsProvider |
getMetricsProvider() |
static void |
metricsProviderInitialized(MetricsProvider metricsProvider) |
void |
resetAll() |
public static final ServerMetrics NULL_METRICS
public static final ServerMetrics DEFAULT_METRICS_FOR_TESTS
public final Summary FSYNC_TIME
public final Summary SNAPSHOT_TIME
public final Summary DB_INIT_TIME
public final Summary READ_LATENCY
public final Summary UPDATE_LATENCY
public final Summary PROPAGATION_LATENCY
public final Summary FOLLOWER_SYNC_TIME
public final Summary ELECTION_TIME
public final Counter LOOKING_COUNT
public final Counter DIFF_COUNT
public final Counter SNAP_COUNT
public final Counter COMMIT_COUNT
public final Counter CONNECTION_REQUEST_COUNT
public final Counter REVALIDATE_COUNT
public final Counter CONNECTION_DROP_COUNT
public final Counter CONNECTION_REVALIDATE_COUNT
public final Counter SESSIONLESS_CONNECTIONS_EXPIRED
public final Counter STALE_SESSIONS_EXPIRED
public final Summary UNAVAILABLE_TIME
public final Summary LEADER_UNAVAILABLE_TIME
public final Summary CONNECTION_TOKEN_DEFICIT
public final Counter CONNECTION_REJECTED
public final Summary INFLIGHT_SNAP_COUNT
public final Summary INFLIGHT_DIFF_COUNT
public final Counter UNRECOVERABLE_ERROR_COUNT
public final SummarySet WRITE_PER_NAMESPACE
public final SummarySet READ_PER_NAMESPACE
public final Counter BYTES_RECEIVED_COUNT
public final Summary PREP_PROCESSOR_QUEUE_TIME
public final Summary PREP_PROCESSOR_QUEUE_SIZE
public final Counter PREP_PROCESSOR_QUEUED
public final Counter OUTSTANDING_CHANGES_QUEUED
public final Counter OUTSTANDING_CHANGES_REMOVED
public final Summary PREP_PROCESS_TIME
public final Summary PROPOSAL_PROCESS_TIME
public final Summary CLOSE_SESSION_PREP_TIME
public final Summary PROPOSAL_LATENCY
public final Summary PROPOSAL_ACK_CREATION_LATENCY
public final Summary COMMIT_PROPAGATION_LATENCY
public final Counter LEARNER_PROPOSAL_RECEIVED_COUNT
public final Counter LEARNER_COMMIT_RECEIVED_COUNT
public final Summary STARTUP_TXNS_LOADED
public final Summary STARTUP_TXNS_LOAD_TIME
public final Summary STARTUP_SNAP_LOAD_TIME
public final Summary SYNC_PROCESSOR_QUEUE_AND_FLUSH_TIME
public final Summary SYNC_PROCESSOR_QUEUE_SIZE
public final Counter SYNC_PROCESSOR_QUEUED
public final Summary SYNC_PROCESSOR_QUEUE_TIME
public final Summary SYNC_PROCESSOR_FLUSH_TIME
public final Summary SYNC_PROCESS_TIME
public final Summary BATCH_SIZE
public final Summary QUORUM_ACK_LATENCY
public final SummarySet ACK_LATENCY
public final Counter PROPOSAL_COUNT
public final Counter QUIT_LEADING_DUE_TO_DISLOYAL_VOTER
public final Summary NODE_CREATED_WATCHER
public final Summary NODE_DELETED_WATCHER
public final Summary NODE_CHANGED_WATCHER
public final Summary NODE_CHILDREN_WATCHER
public final Counter ADD_DEAD_WATCHER_STALL_TIME
public final Counter DEAD_WATCHERS_QUEUED
public final Counter DEAD_WATCHERS_CLEARED
public final Summary DEAD_WATCHERS_CLEANER_LATENCY
public final Counter RESPONSE_PACKET_CACHE_HITS
public final Counter RESPONSE_PACKET_CACHE_MISSING
public final Counter RESPONSE_PACKET_GET_CHILDREN_CACHE_HITS
public final Counter RESPONSE_PACKET_GET_CHILDREN_CACHE_MISSING
public final SummarySet LEARNER_HANDLER_QP_SIZE
public final SummarySet LEARNER_HANDLER_QP_TIME
public final Summary REQUESTS_IN_SESSION_QUEUE
public final Summary PENDING_SESSION_QUEUE_SIZE
public final Summary READS_AFTER_WRITE_IN_SESSION_QUEUE
public final Summary READ_ISSUED_FROM_SESSION_QUEUE
public final Summary SESSION_QUEUES_DRAINED
public final Summary TIME_WAITING_EMPTY_POOL_IN_COMMIT_PROCESSOR_READ
public final Summary WRITE_BATCH_TIME_IN_COMMIT_PROCESSOR
public final Summary CONCURRENT_REQUEST_PROCESSING_IN_COMMIT_PROCESSOR
public final Summary READS_QUEUED_IN_COMMIT_PROCESSOR
public final Summary WRITES_QUEUED_IN_COMMIT_PROCESSOR
public final Summary COMMITS_QUEUED_IN_COMMIT_PROCESSOR
public final Counter COMMITS_QUEUED
public final Summary READS_ISSUED_IN_COMMIT_PROC
public final Summary WRITES_ISSUED_IN_COMMIT_PROC
public final Counter THROTTLED_OPS
public final Summary READ_COMMITPROC_TIME
public final Summary WRITE_COMMITPROC_TIME
public final Summary LOCAL_WRITE_COMMITTED_TIME
public final Summary SERVER_WRITE_COMMITTED_TIME
public final Summary COMMIT_PROCESS_TIME
public final Summary OM_PROPOSAL_PROCESS_TIME
public final Summary OM_COMMIT_PROCESS_TIME
public final Summary READ_FINAL_PROC_TIME
public final Summary WRITE_FINAL_PROC_TIME
public final Counter ENSEMBLE_AUTH_SUCCESS
public final Counter ENSEMBLE_AUTH_FAIL
public final Counter ENSEMBLE_AUTH_SKIP
public final Counter STALE_REQUESTS
public final Counter STALE_REQUESTS_DROPPED
public final Counter STALE_REPLIES
public final Summary REQUEST_THROTTLE_QUEUE_TIME
public final Counter REQUEST_THROTTLE_WAIT_COUNT
public final Counter LARGE_REQUESTS_REJECTED
public final Summary NETTY_QUEUED_BUFFER
public final Counter DIGEST_MISMATCHES_COUNT
public final Summary LEARNER_REQUEST_PROCESSOR_QUEUE_SIZE
public final Counter UNSUCCESSFUL_HANDSHAKE
public final Counter INSECURE_ADMIN
public final Counter TLS_HANDSHAKE_EXCEEDED
public final Counter CNXN_CLOSED_WITHOUT_ZK_SERVER_RUNNING
public final Counter SKIP_LEARNER_REQUEST_TO_NEXT_PROCESSOR_COUNT
public final Summary SOCKET_CLOSING_TIME
public final Counter REQUESTS_NOT_FORWARDED_TO_COMMIT_PROCESSOR
public final Counter RESPONSE_BYTES
public final Counter WATCH_BYTES
public final Summary JVM_PAUSE_TIME
public static ServerMetrics getMetrics()
public static void metricsProviderInitialized(MetricsProvider metricsProvider)
public void resetAll()
public MetricsProvider getMetricsProvider()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.