Package org.apache.hadoop.hbase.ipc
Class MetricsHBaseServerSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl
org.apache.hadoop.hbase.ipc.MetricsHBaseServerSourceImpl
- All Implemented Interfaces:
MetricsHBaseServerSource,BaseSource,ExceptionTrackingSource,org.apache.hadoop.metrics2.MetricsSource
@Private
public class MetricsHBaseServerSourceImpl
extends ExceptionTrackingSourceImpl
implements MetricsHBaseServerSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MutableFastCounterprivate final MutableFastCounterprivate final MutableFastCounterprivate final MutableFastCounterprivate final MutableFastCounterprivate final MutableFastCounterprivate MetricHistogramprivate MetricHistogramprivate final MutableFastCounterprivate MetricHistogramprivate MetricHistogramprivate final MutableFastCounterprivate MetricHistogramprivate MetricHistogramprivate final MetricsHBaseServerWrapperFields inherited from class org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl
exceptionRequestTooBig, exceptions, exceptionsBusy, exceptionsCallDropped, exceptionsCallQueueTooBig, exceptionsCallTimedOut, exceptionsMoved, exceptionsMultiTooLarge, exceptionsNSRE, exceptionsOOO, exceptionsQuotaExceeded, exceptionsRpcThrottling, exceptionsSanity, exceptionsScannerReset, exceptionsUnknown, otherExceptionsFields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAMEFields inherited from interface org.apache.hadoop.hbase.metrics.ExceptionTrackingSource
EXCEPTIONS_BUSY_NAME, EXCEPTIONS_CALL_DROPPED, EXCEPTIONS_CALL_QUEUE_TOO_BIG, EXCEPTIONS_CALL_QUEUE_TOO_BIG_DESC, EXCEPTIONS_CALL_TIMED_OUT, EXCEPTIONS_DESC, EXCEPTIONS_MOVED_NAME, EXCEPTIONS_MULTI_TOO_LARGE_DESC, EXCEPTIONS_MULTI_TOO_LARGE_NAME, EXCEPTIONS_NAME, EXCEPTIONS_NSRE_NAME, EXCEPTIONS_OOO_NAME, EXCEPTIONS_QUOTA_EXCEEDED, EXCEPTIONS_REQUEST_TOO_BIG, EXCEPTIONS_RPC_THROTTLING, EXCEPTIONS_SANITY_NAME, EXCEPTIONS_SCANNER_RESET_NAME, EXCEPTIONS_TYPE_DESC, EXCEPTIONS_UNKNOWN_NAME, OTHER_EXCEPTIONSFields inherited from interface org.apache.hadoop.hbase.ipc.MetricsHBaseServerSource
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, BULKLOAD_QUEUE_DESC, BULKLOAD_QUEUE_NAME, GENERAL_QUEUE_DESC, GENERAL_QUEUE_NAME, MAX_OUTBOUND_BYTES_EXCEEDED_DESC, MAX_OUTBOUND_BYTES_EXCEEDED_NAME, METAPRIORITY_QUEUE_DESC, METAPRIORITY_QUEUE_NAME, NETTY_DM_USAGE_DESC, NETTY_DM_USAGE_NAME, NETTY_MAX_PENDING_OUTBOUND_DESC, NETTY_MAX_PENDING_OUTBOUND_NAME, NETTY_TOTAL_PENDING_OUTBOUND_DESC, NETTY_TOTAL_PENDING_OUTBOUND_NAME, NUM_ACTIVE_BULKLOAD_HANDLER_DESC, NUM_ACTIVE_BULKLOAD_HANDLER_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, UNWRITABLE_TIME_DESC, UNWRITABLE_TIME_NAME, WRITE_QUEUE_DESC, WRITE_QUEUE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionMetricsHBaseServerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsHBaseServerWrapper wrapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoiddequeuedCall(int qTime) voidgetMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector, boolean all) voidvoidprocessedCall(int processingTime) voidqueuedAndProcessedCall(int totalTime) voidreceivedBytes(int count) voidreceivedRequest(long count) voidsentBytes(long count) voidsentResponse(long count) voidunwritableTime(long unwritableTime) Methods inherited from class org.apache.hadoop.hbase.metrics.ExceptionTrackingSourceImpl
callDroppedException, callQueueTooBigException, callTimedOut, exception, failedSanityException, init, movedRegionException, multiActionTooLargeException, notServingRegionException, otherExceptions, outOfOrderException, quotaExceededException, requestTooBigException, rpcThrottlingException, scannerResetException, tooBusyException, unknownScannerExceptionMethods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogramMethods inherited from interface org.apache.hadoop.hbase.metrics.ExceptionTrackingSource
callDroppedException, callQueueTooBigException, callTimedOut, exception, failedSanityException, movedRegionException, multiActionTooLargeException, notServingRegionException, otherExceptions, outOfOrderException, quotaExceededException, requestTooBigException, rpcThrottlingException, scannerResetException, tooBusyException, unknownScannerException
-
Field Details
-
wrapper
-
authorizationSuccesses
-
authorizationFailures
-
authenticationSuccesses
-
authenticationFailures
-
authenticationFallbacks
-
sentBytes
-
receivedBytes
-
maxOutboundBytesExceeded
-
queueCallTime
-
processCallTime
-
totalCallTime
-
unwritableTime
-
requestSize
-
responseSize
-
-
Constructor Details
-
MetricsHBaseServerSourceImpl
public MetricsHBaseServerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext, MetricsHBaseServerWrapper wrapper)
-
-
Method Details
-
authorizationSuccess
- Specified by:
authorizationSuccessin interfaceMetricsHBaseServerSource
-
authorizationFailure
- Specified by:
authorizationFailurein interfaceMetricsHBaseServerSource
-
authenticationFailure
- Specified by:
authenticationFailurein interfaceMetricsHBaseServerSource
-
authenticationFallback
- Specified by:
authenticationFallbackin interfaceMetricsHBaseServerSource
-
authenticationSuccess
- Specified by:
authenticationSuccessin interfaceMetricsHBaseServerSource
-
sentBytes
- Specified by:
sentBytesin interfaceMetricsHBaseServerSource
-
receivedBytes
- Specified by:
receivedBytesin interfaceMetricsHBaseServerSource
-
sentResponse
- Specified by:
sentResponsein interfaceMetricsHBaseServerSource
-
receivedRequest
- Specified by:
receivedRequestin interfaceMetricsHBaseServerSource
-
dequeuedCall
- Specified by:
dequeuedCallin interfaceMetricsHBaseServerSource
-
processedCall
- Specified by:
processedCallin interfaceMetricsHBaseServerSource
-
queuedAndProcessedCall
- Specified by:
queuedAndProcessedCallin interfaceMetricsHBaseServerSource
-
unwritableTime
- Specified by:
unwritableTimein interfaceMetricsHBaseServerSource
-
maxOutboundBytesExceeded
- Specified by:
maxOutboundBytesExceededin interfaceMetricsHBaseServerSource
-
getMetrics
- Specified by:
getMetricsin interfaceorg.apache.hadoop.metrics2.MetricsSource- Overrides:
getMetricsin classBaseSourceImpl
-