Class MetricsTableRequests
java.lang.Object
org.apache.hadoop.hbase.regionserver.metrics.MetricsTableRequests
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Stringprivate static final Stringprivate Histogramprivate Histogram(package private) Stringprivate Counterprivate static final String(package private) Stringprivate static final Stringprivate static final Stringprivate Histogramprivate Histogramprivate Histogramprivate Histogramprivate org.apache.hadoop.conf.Configurationprivate static final Stringprivate static final Stringprivate Histogramprivate Histogramstatic final booleanstatic final Stringstatic final Stringstatic final booleanprivate booleanprivate boolean(package private) Stringprivate static final Stringprivate Histogramprivate Histogram(package private) Stringprivate static final Stringprivate Histogramprivate Histogramprivate static final StringThe name of the metrics context that metrics will be under.private static final StringDescriptionprivate static final StringThe name of the metrics context that metrics will be under in jmxprivate static final StringThe name of the metricsprivate static final Stringprivate static final Stringprivate Histogramprivate Histogramprivate Meterprivate MetricRegistryprivate MetricRegistryInfo(package private) Stringprivate static final Stringprivate static final Stringprivate Histogramprivate Histogramprivate Histogramprivate static final Stringprivate static final Stringprivate TableNameprivate Meter -
Constructor Summary
ConstructorsConstructorDescriptionMetricsTableRequests(TableName tableName, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionprivate MetricRegistryprivate MetricRegistryInfoprivate voidbooleanbooleanprivate static StringqualifyMetrics(String prefix, TableName tableName) voidvoidupdateAppend(long time, long blockBytesScanned) Update the Append time histogram.voidupdateCheckAndDelete(long time) Update the CheckAndDelete time histogram.voidupdateCheckAndMutate(long time, long blockBytesScanned) Update the CheckAndMutate time histogram.voidupdateCheckAndPut(long time) Update the CheckAndPut time histogram.voidupdateDelete(long t) Update the Delete time histogramvoidupdateDeleteBatch(long t) Update the batch Delete time histogramvoidupdateGet(long time, long blockBytesScanned) Update the Get time histogram .voidupdateIncrement(long time, long blockBytesScanned) Update the Increment time histogram.voidupdatePut(long t) Update the Put time histogramvoidupdatePutBatch(long t) Update the batch Put time histogramvoidupdateScan(long time, long responseCellSize, long blockBytesScanned) Update the scan metrics.voidUpdate table read QPSvoidupdateTableReadQueryMeter(long count) Update table read QPSvoidUpdate table write QPSvoidupdateTableWriteQueryMeter(long count) Update table write QPS
-
Field Details
-
ENABLE_TABLE_LATENCIES_METRICS_KEY
- See Also:
-
ENABLE_TABLE_LATENCIES_METRICS_DEFAULT
- See Also:
-
ENABLE_TABLE_QUERY_METER_METRICS_KEY
- See Also:
-
ENABLE_TABLE_QUERY_METER_METRICS_KEY_DEFAULT
- See Also:
-
METRICS_NAME
The name of the metrics- See Also:
-
METRICS_CONTEXT
The name of the metrics context that metrics will be under.- See Also:
-
METRICS_DESCRIPTION
Description- See Also:
-
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx- See Also:
-
GET_TIME
- See Also:
-
SCAN_TIME
- See Also:
-
SCAN_SIZE
- See Also:
-
PUT_TIME
- See Also:
-
PUT_BATCH_TIME
- See Also:
-
DELETE_TIME
- See Also:
-
DELETE_BATCH_TIME
- See Also:
-
INCREMENT_TIME
- See Also:
-
APPEND_TIME
- See Also:
-
CHECK_AND_DELETE_TIME
- See Also:
-
CHECK_AND_PUT_TIME
- See Also:
-
CHECK_AND_MUTATE_TIME
- See Also:
-
BLOCK_BYTES_SCANNED_KEY
-
GET_BLOCK_BYTES_SCANNED_KEY
-
SCAN_BLOCK_BYTES_SCANNED_KEY
-
CHECK_AND_MUTATE_BLOCK_BYTES_SCANNED_KEY
-
INCREMENT_BLOCK_BYTES_SCANNED_KEY
-
APPEND_BLOCK_BYTES_SCANNED_KEY
-
TABLE_READ_QUERY_PER_SECOND
- See Also:
-
TABLE_WRITE_QUERY_PER_SECOND
- See Also:
-
getTimeHistogram
-
scanTimeHistogram
-
scanSizeHistogram
-
putTimeHistogram
-
putBatchTimeHistogram
-
deleteTimeHistogram
-
deleteBatchTimeHistogram
-
incrementTimeHistogram
-
appendTimeHistogram
-
checkAndDeleteTimeHistogram
-
checkAndPutTimeHistogram
-
checkAndMutateTimeHistogram
-
blockBytesScannedCount
-
checkAndMutateBlockBytesScanned
-
getBlockBytesScanned
-
incrementBlockBytesScanned
-
appendBlockBytesScanned
-
scanBlockBytesScanned
-
readMeter
-
writeMeter
-
registry
-
tableName
-
conf
-
registryInfo
-
enableTableLatenciesMetrics
-
enabTableQueryMeterMetrics
-
-
Constructor Details
-
MetricsTableRequests
-
-
Method Details
-
isEnableTableLatenciesMetrics
-
isEnabTableQueryMeterMetrics
-
init
-
createRegistryForTableRequests
-
createRegistryInfoForTableRequests
-
removeRegistry
-
qualifyMetrics
-
updatePut
Update the Put time histogram- Parameters:
t- time it took
-
updatePutBatch
Update the batch Put time histogram- Parameters:
t- time it took
-
updateDelete
Update the Delete time histogram- Parameters:
t- time it took
-
updateDeleteBatch
Update the batch Delete time histogram- Parameters:
t- time it took
-
updateGet
Update the Get time histogram .- Parameters:
time- time it tookblockBytesScanned- size of block bytes scanned to retrieve the response
-
updateIncrement
Update the Increment time histogram.- Parameters:
time- time it tookblockBytesScanned- size of block bytes scanned to retrieve the response
-
updateAppend
Update the Append time histogram.- Parameters:
time- time it tookblockBytesScanned- size of block bytes scanned to retrieve the response
-
updateScan
Update the scan metrics.- Parameters:
time- response time of scanresponseCellSize- size of the scan resposneblockBytesScanned- size of block bytes scanned to retrieve the response
-
updateCheckAndDelete
Update the CheckAndDelete time histogram.- Parameters:
time- time it took
-
updateCheckAndPut
Update the CheckAndPut time histogram.- Parameters:
time- time it took
-
updateCheckAndMutate
Update the CheckAndMutate time histogram.- Parameters:
time- time it took
-
updateTableReadQueryMeter
Update table read QPS- Parameters:
count- Number of occurrences to record
-
updateTableReadQueryMeter
Update table read QPS -
updateTableWriteQueryMeter
Update table write QPS- Parameters:
count- Number of occurrences to record
-
updateTableWriteQueryMeter
Update table write QPS -
getMetricRegistryInfo
-