public final class LogAppenderMetrics extends RatisMetrics
| Modifier and Type | Field and Description |
|---|---|
static String |
FOLLOWER_MATCH_INDEX |
static String |
FOLLOWER_NEXT_INDEX |
static String |
FOLLOWER_RPC_RESP_TIME |
static String |
RATIS_LOG_APPENDER_METRICS |
static String |
RATIS_LOG_APPENDER_METRICS_DESC |
RATIS_APPLICATION_NAME_METRICS, registry| Constructor and Description |
|---|
LogAppenderMetrics(RaftGroupMemberId groupMemberId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFollowerGauges(RaftPeerId id,
LongSupplier getNextIndex,
LongSupplier getMatchIndex,
Supplier<Timestamp> getLastRpcTime) |
create, getRegistry, unregisterpublic static final String RATIS_LOG_APPENDER_METRICS
public static final String RATIS_LOG_APPENDER_METRICS_DESC
public static final String FOLLOWER_NEXT_INDEX
public static final String FOLLOWER_MATCH_INDEX
public static final String FOLLOWER_RPC_RESP_TIME
public LogAppenderMetrics(RaftGroupMemberId groupMemberId)
public void addFollowerGauges(RaftPeerId id, LongSupplier getNextIndex, LongSupplier getMatchIndex, Supplier<Timestamp> getLastRpcTime)
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.