@InterfaceAudience.Private public interface MetricsZooKeeperSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
incrementAuthFailedCount()
Increment the count of failed ops due to AUTHFAILED Exception.
|
void |
incrementConnectionLossCount()
Increment the count of failed ops due to a CONNECTIONLOSS Exception.
|
void |
incrementDataInconsistencyCount()
Increment the count of failed ops due to a DATAINCONSISTENCY Exception.
|
void |
incrementInvalidACLCount()
Increment the count of failed ops due to INVALIDACL Exception.
|
void |
incrementNoAuthCount()
Increment the count of failed ops due to NOAUTH Exception.
|
void |
incrementOperationTimeoutCount()
Increment the count of failed ops due to an OPERATIONTIMEOUT Exception.
|
void |
incrementRuntimeInconsistencyCount()
Increment the count of failed ops due to RUNTIMEINCONSISTENCY Exception.
|
void |
incrementSessionExpiredCount()
Increment the count of failed ops due to a SESSIONEXPIRED Exception.
|
void |
incrementSystemErrorCount()
Increment the count of failed ops due to a SYSTEMERROR Exception.
|
void |
incrementTotalFailedZKCalls()
Record the total number of failed ZooKeeper API calls.
|
void |
recordReadOperationLatency(long latency)
Record the latency incurred for read operations.
|
void |
recordSyncOperationLatency(long latency)
Record the latency incurred for sync operations.
|
void |
recordWriteOperationLatency(long latency)
Record the latency incurred for write operations.
|
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String EXCEPTION_AUTHFAILED
static final String EXCEPTION_AUTHFAILED_DESC
static final String EXCEPTION_CONNECTIONLOSS
static final String EXCEPTION_CONNECTIONLOSS_DESC
static final String EXCEPTION_DATAINCONSISTENCY
static final String EXCEPTION_DATAINCONSISTENCY_DESC
static final String EXCEPTION_INVALIDACL
static final String EXCEPTION_INVALIDACL_DESC
static final String EXCEPTION_NOAUTH
static final String EXCEPTION_NOAUTH_DESC
static final String EXCEPTION_OPERATIONTIMEOUT
static final String EXCEPTION_OPERATIONTIMEOUT_DESC
static final String EXCEPTION_RUNTIMEINCONSISTENCY
static final String EXCEPTION_RUNTIMEINCONSISTENCY_DESC
static final String EXCEPTION_SESSIONEXPIRED
static final String EXCEPTION_SESSIONEXPIRED_DESC
static final String EXCEPTION_SYSTEMERROR
static final String EXCEPTION_SYSTEMERROR_DESC
static final String TOTAL_FAILED_ZK_CALLS
static final String TOTAL_FAILED_ZK_CALLS_DESC
static final String READ_OPERATION_LATENCY_NAME
static final String READ_OPERATION_LATENCY_DESC
static final String WRITE_OPERATION_LATENCY_NAME
static final String WRITE_OPERATION_LATENCY_DESC
static final String SYNC_OPERATION_LATENCY_NAME
static final String SYNC_OPERATION_LATENCY_DESC
void incrementAuthFailedCount()
void incrementConnectionLossCount()
void incrementDataInconsistencyCount()
void incrementInvalidACLCount()
void incrementNoAuthCount()
void incrementOperationTimeoutCount()
void incrementRuntimeInconsistencyCount()
void incrementSessionExpiredCount()
void incrementSystemErrorCount()
void recordReadOperationLatency(long latency)
void recordWriteOperationLatency(long latency)
void recordSyncOperationLatency(long latency)
void incrementTotalFailedZKCalls()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.