Class MetricsTableRequests
java.lang.Object
org.apache.hadoop.hbase.regionserver.metrics.MetricsTableRequests
-
Field Summary
Modifier and TypeFieldDescription(package private) String
private static final String
private Histogram
private Histogram
(package private) String
private Counter
private static final String
(package private) String
private static final String
private static final String
private Histogram
private Histogram
private Histogram
private Histogram
private org.apache.hadoop.conf.Configuration
private static final String
private static final String
private Histogram
private Histogram
static final boolean
static final String
static final String
static final boolean
private boolean
private boolean
(package private) String
private static final String
private Histogram
private Histogram
(package private) String
private static final String
private Histogram
private Histogram
private static final String
The name of the metrics context that metrics will be under.private static final String
Descriptionprivate static final String
The name of the metrics context that metrics will be under in jmxprivate static final String
The name of the metricsprivate static final String
private static final String
private Histogram
private Histogram
private Meter
private MetricRegistry
private MetricRegistryInfo
(package private) String
private static final String
private static final String
private Histogram
private Histogram
private Histogram
private static final String
private static final String
private TableName
private Meter
-
Constructor Summary
ConstructorDescriptionMetricsTableRequests
(TableName tableName, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptionprivate MetricRegistry
private MetricRegistryInfo
private void
boolean
boolean
private static String
qualifyMetrics
(String prefix, TableName tableName) void
void
updateAppend
(long time, long blockBytesScanned) Update the Append time histogram.void
updateCheckAndDelete
(long time) Update the CheckAndDelete time histogram.void
updateCheckAndMutate
(long time, long blockBytesScanned) Update the CheckAndMutate time histogram.void
updateCheckAndPut
(long time) Update the CheckAndPut time histogram.void
updateDelete
(long t) Update the Delete time histogramvoid
updateDeleteBatch
(long t) Update the batch Delete time histogramvoid
updateGet
(long time, long blockBytesScanned) Update the Get time histogram .void
updateIncrement
(long time, long blockBytesScanned) Update the Increment time histogram.void
updatePut
(long t) Update the Put time histogramvoid
updatePutBatch
(long t) Update the batch Put time histogramvoid
updateScan
(long time, long responseCellSize, long blockBytesScanned) Update the scan metrics.void
Update table read QPSvoid
updateTableReadQueryMeter
(long count) Update table read QPSvoid
Update table write QPSvoid
updateTableWriteQueryMeter
(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
-