@InterfaceAudience.Private public class MetricsHBaseServerSourceImpl extends ExceptionTrackingSourceImpl implements MetricsHBaseServerSource
Modifier and Type | Field and Description |
---|---|
private MutableFastCounter |
authenticationFailures |
private MutableFastCounter |
authenticationFallbacks |
private MutableFastCounter |
authenticationSuccesses |
private MutableFastCounter |
authorizationFailures |
private MutableFastCounter |
authorizationSuccesses |
private MetricHistogram |
processCallTime |
private MetricHistogram |
queueCallTime |
private MutableFastCounter |
receivedBytes |
private MetricHistogram |
requestSize |
private MetricHistogram |
responseSize |
private MutableFastCounter |
sentBytes |
private MetricHistogram |
totalCallTime |
private MetricsHBaseServerWrapper |
wrapper |
exceptions, exceptionsBusy, exceptionsCallQueueTooBig, exceptionsMoved, exceptionsMultiTooLarge, exceptionsNSRE, exceptionsOOO, exceptionsSanity, exceptionsScannerReset, exceptionsUnknown
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
AUTHENTICATION_FAILURES_DESC, AUTHENTICATION_FAILURES_NAME, AUTHENTICATION_FALLBACKS_DESC, AUTHENTICATION_FALLBACKS_NAME, AUTHENTICATION_SUCCESSES_DESC, AUTHENTICATION_SUCCESSES_NAME, AUTHORIZATION_FAILURES_DESC, AUTHORIZATION_FAILURES_NAME, AUTHORIZATION_SUCCESSES_DESC, AUTHORIZATION_SUCCESSES_NAME, GENERAL_QUEUE_DESC, GENERAL_QUEUE_NAME, METAPRIORITY_QUEUE_DESC, METAPRIORITY_QUEUE_NAME, NETTY_DM_USAGE_DESC, NETTY_DM_USAGE_NAME, NUM_ACTIVE_GENERAL_HANDLER_DESC, NUM_ACTIVE_GENERAL_HANDLER_NAME, NUM_ACTIVE_HANDLER_DESC, NUM_ACTIVE_HANDLER_NAME, NUM_ACTIVE_PRIORITY_HANDLER_DESC, NUM_ACTIVE_PRIORITY_HANDLER_NAME, NUM_ACTIVE_READ_HANDLER_DESC, NUM_ACTIVE_READ_HANDLER_NAME, NUM_ACTIVE_REPLICATION_HANDLER_DESC, NUM_ACTIVE_REPLICATION_HANDLER_NAME, NUM_ACTIVE_SCAN_HANDLER_DESC, NUM_ACTIVE_SCAN_HANDLER_NAME, NUM_ACTIVE_WRITE_HANDLER_DESC, NUM_ACTIVE_WRITE_HANDLER_NAME, NUM_GENERAL_CALLS_DROPPED_DESC, NUM_GENERAL_CALLS_DROPPED_NAME, NUM_LIFO_MODE_SWITCHES_DESC, NUM_LIFO_MODE_SWITCHES_NAME, NUM_OPEN_CONNECTIONS_DESC, NUM_OPEN_CONNECTIONS_NAME, PRIORITY_QUEUE_DESC, PRIORITY_QUEUE_NAME, PROCESS_CALL_TIME_DESC, PROCESS_CALL_TIME_NAME, QUEUE_CALL_TIME_DESC, QUEUE_CALL_TIME_NAME, QUEUE_SIZE_DESC, QUEUE_SIZE_NAME, READ_QUEUE_DESC, READ_QUEUE_NAME, RECEIVED_BYTES_DESC, RECEIVED_BYTES_NAME, REPLICATION_QUEUE_DESC, REPLICATION_QUEUE_NAME, REQUEST_SIZE_DESC, REQUEST_SIZE_NAME, RESPONSE_SIZE_DESC, RESPONSE_SIZE_NAME, SCAN_QUEUE_DESC, SCAN_QUEUE_NAME, SENT_BYTES_DESC, SENT_BYTES_NAME, TOTAL_CALL_TIME_DESC, TOTAL_CALL_TIME_NAME, WRITE_QUEUE_DESC, WRITE_QUEUE_NAME
EXCEPTIONS_BUSY_NAME, EXCEPTIONS_CALL_QUEUE_TOO_BIG, EXCEPTIONS_CALL_QUEUE_TOO_BIG_DESC, EXCEPTIONS_DESC, EXCEPTIONS_MOVED_NAME, EXCEPTIONS_MULTI_TOO_LARGE_DESC, EXCEPTIONS_MULTI_TOO_LARGE_NAME, EXCEPTIONS_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_SANITY_NAME, EXCEPTIONS_SCANNER_RESET_NAME, EXCEPTIONS_TYPE_DESC, EXCEPTIONS_UNKNOWN_NAME
HBASE_METRICS_SYSTEM_NAME
Constructor and Description |
---|
MetricsHBaseServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsHBaseServerWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
void |
authenticationFailure() |
void |
authenticationFallback() |
void |
authenticationSuccess() |
void |
authorizationFailure() |
void |
authorizationSuccess() |
void |
dequeuedCall(int qTime) |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all) |
void |
processedCall(int processingTime) |
void |
queuedAndProcessedCall(int totalTime) |
void |
receivedBytes(int count) |
void |
receivedRequest(long count) |
void |
sentBytes(long count) |
void |
sentResponse(long count) |
callQueueTooBigException, exception, failedSanityException, init, movedRegionException, multiActionTooLargeException, notServingRegionException, outOfOrderException, scannerResetException, tooBusyException, unknownScannerException
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
callQueueTooBigException, exception, failedSanityException, movedRegionException, multiActionTooLargeException, notServingRegionException, outOfOrderException, scannerResetException, tooBusyException, unknownScannerException
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
private final MetricsHBaseServerWrapper wrapper
private final MutableFastCounter authorizationSuccesses
private final MutableFastCounter authorizationFailures
private final MutableFastCounter authenticationSuccesses
private final MutableFastCounter authenticationFailures
private final MutableFastCounter authenticationFallbacks
private final MutableFastCounter sentBytes
private final MutableFastCounter receivedBytes
private MetricHistogram queueCallTime
private MetricHistogram processCallTime
private MetricHistogram totalCallTime
private MetricHistogram requestSize
private MetricHistogram responseSize
public MetricsHBaseServerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsHBaseServerWrapper wrapper)
public void authorizationSuccess()
authorizationSuccess
in interface MetricsHBaseServerSource
public void authorizationFailure()
authorizationFailure
in interface MetricsHBaseServerSource
public void authenticationFailure()
authenticationFailure
in interface MetricsHBaseServerSource
public void authenticationFallback()
authenticationFallback
in interface MetricsHBaseServerSource
public void authenticationSuccess()
authenticationSuccess
in interface MetricsHBaseServerSource
public void sentBytes(long count)
sentBytes
in interface MetricsHBaseServerSource
public void receivedBytes(int count)
receivedBytes
in interface MetricsHBaseServerSource
public void sentResponse(long count)
sentResponse
in interface MetricsHBaseServerSource
public void receivedRequest(long count)
receivedRequest
in interface MetricsHBaseServerSource
public void dequeuedCall(int qTime)
dequeuedCall
in interface MetricsHBaseServerSource
public void processedCall(int processingTime)
processedCall
in interface MetricsHBaseServerSource
public void queuedAndProcessedCall(int totalTime)
queuedAndProcessedCall
in interface MetricsHBaseServerSource
public void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector, boolean all)
getMetrics
in interface org.apache.hadoop.metrics2.MetricsSource
getMetrics
in class BaseSourceImpl
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.