public class RaftLogMetricsBase extends RatisMetrics implements RaftLogMetrics
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_LOG_ENTRY_COUNT |
static String |
METADATA_LOG_ENTRY_COUNT |
static String |
RAFT_LOG_LOAD_SEGMENT_LATENCY |
static String |
RAFT_LOG_READ_ENTRY_LATENCY |
static String |
RATIS_LOG_WORKER_METRICS |
static String |
RATIS_LOG_WORKER_METRICS_DESC |
static String |
STATE_MACHINE_LOG_ENTRY_COUNT |
RATIS_APPLICATION_NAME_METRICS, registry| Constructor and Description |
|---|
RaftLogMetricsBase(RaftGroupMemberId serverId) |
| Modifier and Type | Method and Description |
|---|---|
static RatisMetricRegistry |
getLogWorkerMetricRegistry(RaftGroupMemberId serverId) |
com.codahale.metrics.Timer |
getRaftLogLoadSegmentTimer() |
com.codahale.metrics.Timer |
getRaftLogReadEntryTimer() |
void |
onLogEntryCommitted(LogEntryHeader header) |
create, getRegistry, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonStateMachineDataReadTimeout, onStateMachineDataWriteTimeoutpublic static final String RATIS_LOG_WORKER_METRICS_DESC
public static final String RATIS_LOG_WORKER_METRICS
public static final String METADATA_LOG_ENTRY_COUNT
public static final String CONFIG_LOG_ENTRY_COUNT
public static final String STATE_MACHINE_LOG_ENTRY_COUNT
public static final String RAFT_LOG_READ_ENTRY_LATENCY
public static final String RAFT_LOG_LOAD_SEGMENT_LATENCY
public RaftLogMetricsBase(RaftGroupMemberId serverId)
public static RatisMetricRegistry getLogWorkerMetricRegistry(RaftGroupMemberId serverId)
public void onLogEntryCommitted(LogEntryHeader header)
onLogEntryCommitted in interface RaftLogMetricspublic com.codahale.metrics.Timer getRaftLogReadEntryTimer()
public com.codahale.metrics.Timer getRaftLogLoadSegmentTimer()
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.