org.apache.hadoop.hbase.regionserver
Interface MetricsRegionServerSource

All Superinterfaces:
BaseSource
All Known Implementing Classes:
MetricsRegionServerSourceImpl

public interface MetricsRegionServerSource
extends BaseSource

Interface for classes that expose metrics about the regionserver.


Field Summary
static String APPEND_KEY
           
static String BLOCK_CACHE_COUNT
           
static String BLOCK_CACHE_COUNT_DESC
           
static String BLOCK_CACHE_EVICTION_COUNT
           
static String BLOCK_CACHE_EVICTION_COUNT_DESC
           
static String BLOCK_CACHE_EXPRESS_HIT_PERCENT
           
static String BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC
           
static String BLOCK_CACHE_FREE_DESC
           
static String BLOCK_CACHE_FREE_SIZE
           
static String BLOCK_CACHE_HIT_COUNT
           
static String BLOCK_CACHE_HIT_COUNT_DESC
           
static String BLOCK_CACHE_HIT_PERCENT
           
static String BLOCK_CACHE_HIT_PERCENT_DESC
           
static String BLOCK_CACHE_MISS_COUNT
           
static String BLOCK_CACHE_SIZE
           
static String BLOCK_CACHE_SIZE_DESC
           
static String BLOCK_COUNT_MISS_COUNT_DESC
           
static String CHECK_MUTATE_FAILED_COUNT
           
static String CHECK_MUTATE_FAILED_COUNT_DESC
           
static String CHECK_MUTATE_PASSED_COUNT
           
static String CHECK_MUTATE_PASSED_COUNT_DESC
           
static String CLUSTER_ID_DESC
           
static String CLUSTER_ID_NAME
           
static String COMPACTION_QUEUE_LENGTH
           
static String COMPACTION_QUEUE_LENGTH_DESC
           
static String DATA_SIZE_WITHOUT_WAL
           
static String DATA_SIZE_WITHOUT_WAL_DESC
           
static String DELETE_KEY
           
static String FLUSH_QUEUE_LENGTH
           
static String FLUSH_QUEUE_LENGTH_DESC
           
static String GET_KEY
           
static String INCREMENT_KEY
           
static String MEMSTORE_SIZE
           
static String MEMSTORE_SIZE_DESC
           
static String METRICS_CONTEXT
          The name of the metrics context that metrics will be under.
static String METRICS_DESCRIPTION
          Description
static String METRICS_JMX_CONTEXT
          The name of the metrics context that metrics will be under in jmx
static String METRICS_NAME
          The name of the metrics
static String MUTATE_KEY
           
static String NUMBER_OF_PUTS_WITHOUT_WAL
           
static String NUMBER_OF_PUTS_WITHOUT_WAL_DESC
           
static String PERCENT_FILES_LOCAL
           
static String PERCENT_FILES_LOCAL_DESC
           
static String READ_REQUEST_COUNT
           
static String READ_REQUEST_COUNT_DESC
           
static String REGION_COUNT
           
static String REGION_COUNT_DESC
           
static String RS_START_TIME_DESC
           
static String RS_START_TIME_NAME
           
static String SERVER_NAME_DESC
           
static String SERVER_NAME_NAME
           
static String SLOW_APPEND_DESC
           
static String SLOW_APPEND_KEY
           
static String SLOW_DELETE_DESC
           
static String SLOW_DELETE_KEY
           
static String SLOW_GET_DESC
           
static String SLOW_GET_KEY
           
static String SLOW_INCREMENT_DESC
           
static String SLOW_INCREMENT_KEY
           
static String SLOW_MUTATE_DESC
           
static String SLOW_MUTATE_KEY
           
static String STATIC_BLOOM_SIZE
           
static String STATIC_BLOOM_SIZE_DESC
           
static String STATIC_INDEX_SIZE
           
static String STATIC_INDEX_SIZE_DESC
           
static String STORE_COUNT
           
static String STORE_COUNT_DESC
           
static String STOREFILE_COUNT
           
static String STOREFILE_COUNT_DESC
           
static String STOREFILE_INDEX_SIZE
           
static String STOREFILE_INDEX_SIZE_DESC
           
static String STOREFILE_SIZE
           
static String STOREFILE_SIZE_DESC
           
static String TOTAL_REQUEST_COUNT
           
static String TOTAL_REQUEST_COUNT_DESC
           
static String UPDATES_BLOCKED_DESC
           
static String UPDATES_BLOCKED_TIME
           
static String WRITE_REQUEST_COUNT
           
static String WRITE_REQUEST_COUNT_DESC
           
static String ZOOKEEPER_QUORUM_DESC
           
static String ZOOKEEPER_QUORUM_NAME
           
 
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
 
Method Summary
 void incrSlowAppend()
          Increment the number of slow Appends that have happened.
 void incrSlowDelete()
          Increment the number of slow Deletes that have happened.
 void incrSlowGet()
          Increment the number of slow Gets that have happened.
 void incrSlowIncrement()
          Increment the number of slow Increments that have happened.
 void incrSlowPut()
          Increment the number of slow Puts that have happened.
 void updateAppend(long t)
          Update the Append time histogram.
 void updateDelete(long t)
          Update the Delete time histogram
 void updateGet(long t)
          Update the Get time histogram .
 void updateIncrement(long t)
          Update the Increment time histogram.
 void updatePut(long t)
          Update the Put time histogram
 
Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
 

Field Detail

METRICS_NAME

static final String METRICS_NAME
The name of the metrics

See Also:
Constant Field Values

METRICS_CONTEXT

static final String METRICS_CONTEXT
The name of the metrics context that metrics will be under.

See Also:
Constant Field Values

METRICS_DESCRIPTION

static final String METRICS_DESCRIPTION
Description

See Also:
Constant Field Values

METRICS_JMX_CONTEXT

static final String METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx

See Also:
Constant Field Values

REGION_COUNT

static final String REGION_COUNT
See Also:
Constant Field Values

REGION_COUNT_DESC

static final String REGION_COUNT_DESC
See Also:
Constant Field Values

STORE_COUNT

static final String STORE_COUNT
See Also:
Constant Field Values

STORE_COUNT_DESC

static final String STORE_COUNT_DESC
See Also:
Constant Field Values

STOREFILE_COUNT

static final String STOREFILE_COUNT
See Also:
Constant Field Values

STOREFILE_COUNT_DESC

static final String STOREFILE_COUNT_DESC
See Also:
Constant Field Values

MEMSTORE_SIZE

static final String MEMSTORE_SIZE
See Also:
Constant Field Values

MEMSTORE_SIZE_DESC

static final String MEMSTORE_SIZE_DESC
See Also:
Constant Field Values

STOREFILE_SIZE

static final String STOREFILE_SIZE
See Also:
Constant Field Values

STOREFILE_SIZE_DESC

static final String STOREFILE_SIZE_DESC
See Also:
Constant Field Values

TOTAL_REQUEST_COUNT

static final String TOTAL_REQUEST_COUNT
See Also:
Constant Field Values

TOTAL_REQUEST_COUNT_DESC

static final String TOTAL_REQUEST_COUNT_DESC
See Also:
Constant Field Values

READ_REQUEST_COUNT

static final String READ_REQUEST_COUNT
See Also:
Constant Field Values

READ_REQUEST_COUNT_DESC

static final String READ_REQUEST_COUNT_DESC
See Also:
Constant Field Values

WRITE_REQUEST_COUNT

static final String WRITE_REQUEST_COUNT
See Also:
Constant Field Values

WRITE_REQUEST_COUNT_DESC

static final String WRITE_REQUEST_COUNT_DESC
See Also:
Constant Field Values

CHECK_MUTATE_FAILED_COUNT

static final String CHECK_MUTATE_FAILED_COUNT
See Also:
Constant Field Values

CHECK_MUTATE_FAILED_COUNT_DESC

static final String CHECK_MUTATE_FAILED_COUNT_DESC
See Also:
Constant Field Values

CHECK_MUTATE_PASSED_COUNT

static final String CHECK_MUTATE_PASSED_COUNT
See Also:
Constant Field Values

CHECK_MUTATE_PASSED_COUNT_DESC

static final String CHECK_MUTATE_PASSED_COUNT_DESC
See Also:
Constant Field Values

STOREFILE_INDEX_SIZE

static final String STOREFILE_INDEX_SIZE
See Also:
Constant Field Values

STOREFILE_INDEX_SIZE_DESC

static final String STOREFILE_INDEX_SIZE_DESC
See Also:
Constant Field Values

STATIC_INDEX_SIZE

static final String STATIC_INDEX_SIZE
See Also:
Constant Field Values

STATIC_INDEX_SIZE_DESC

static final String STATIC_INDEX_SIZE_DESC
See Also:
Constant Field Values

STATIC_BLOOM_SIZE

static final String STATIC_BLOOM_SIZE
See Also:
Constant Field Values

STATIC_BLOOM_SIZE_DESC

static final String STATIC_BLOOM_SIZE_DESC
See Also:
Constant Field Values

NUMBER_OF_PUTS_WITHOUT_WAL

static final String NUMBER_OF_PUTS_WITHOUT_WAL
See Also:
Constant Field Values

NUMBER_OF_PUTS_WITHOUT_WAL_DESC

static final String NUMBER_OF_PUTS_WITHOUT_WAL_DESC
See Also:
Constant Field Values

DATA_SIZE_WITHOUT_WAL

static final String DATA_SIZE_WITHOUT_WAL
See Also:
Constant Field Values

DATA_SIZE_WITHOUT_WAL_DESC

static final String DATA_SIZE_WITHOUT_WAL_DESC
See Also:
Constant Field Values

PERCENT_FILES_LOCAL

static final String PERCENT_FILES_LOCAL
See Also:
Constant Field Values

PERCENT_FILES_LOCAL_DESC

static final String PERCENT_FILES_LOCAL_DESC
See Also:
Constant Field Values

COMPACTION_QUEUE_LENGTH

static final String COMPACTION_QUEUE_LENGTH
See Also:
Constant Field Values

COMPACTION_QUEUE_LENGTH_DESC

static final String COMPACTION_QUEUE_LENGTH_DESC
See Also:
Constant Field Values

FLUSH_QUEUE_LENGTH

static final String FLUSH_QUEUE_LENGTH
See Also:
Constant Field Values

FLUSH_QUEUE_LENGTH_DESC

static final String FLUSH_QUEUE_LENGTH_DESC
See Also:
Constant Field Values

BLOCK_CACHE_FREE_SIZE

static final String BLOCK_CACHE_FREE_SIZE
See Also:
Constant Field Values

BLOCK_CACHE_FREE_DESC

static final String BLOCK_CACHE_FREE_DESC
See Also:
Constant Field Values

BLOCK_CACHE_COUNT

static final String BLOCK_CACHE_COUNT
See Also:
Constant Field Values

BLOCK_CACHE_COUNT_DESC

static final String BLOCK_CACHE_COUNT_DESC
See Also:
Constant Field Values

BLOCK_CACHE_SIZE

static final String BLOCK_CACHE_SIZE
See Also:
Constant Field Values

BLOCK_CACHE_SIZE_DESC

static final String BLOCK_CACHE_SIZE_DESC
See Also:
Constant Field Values

BLOCK_CACHE_HIT_COUNT

static final String BLOCK_CACHE_HIT_COUNT
See Also:
Constant Field Values

BLOCK_CACHE_HIT_COUNT_DESC

static final String BLOCK_CACHE_HIT_COUNT_DESC
See Also:
Constant Field Values

BLOCK_CACHE_MISS_COUNT

static final String BLOCK_CACHE_MISS_COUNT
See Also:
Constant Field Values

BLOCK_COUNT_MISS_COUNT_DESC

static final String BLOCK_COUNT_MISS_COUNT_DESC
See Also:
Constant Field Values

BLOCK_CACHE_EVICTION_COUNT

static final String BLOCK_CACHE_EVICTION_COUNT
See Also:
Constant Field Values

BLOCK_CACHE_EVICTION_COUNT_DESC

static final String BLOCK_CACHE_EVICTION_COUNT_DESC
See Also:
Constant Field Values

BLOCK_CACHE_HIT_PERCENT

static final String BLOCK_CACHE_HIT_PERCENT
See Also:
Constant Field Values

BLOCK_CACHE_HIT_PERCENT_DESC

static final String BLOCK_CACHE_HIT_PERCENT_DESC
See Also:
Constant Field Values

BLOCK_CACHE_EXPRESS_HIT_PERCENT

static final String BLOCK_CACHE_EXPRESS_HIT_PERCENT
See Also:
Constant Field Values

BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC

static final String BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC
See Also:
Constant Field Values

RS_START_TIME_NAME

static final String RS_START_TIME_NAME
See Also:
Constant Field Values

ZOOKEEPER_QUORUM_NAME

static final String ZOOKEEPER_QUORUM_NAME
See Also:
Constant Field Values

SERVER_NAME_NAME

static final String SERVER_NAME_NAME
See Also:
Constant Field Values

CLUSTER_ID_NAME

static final String CLUSTER_ID_NAME
See Also:
Constant Field Values

RS_START_TIME_DESC

static final String RS_START_TIME_DESC
See Also:
Constant Field Values

ZOOKEEPER_QUORUM_DESC

static final String ZOOKEEPER_QUORUM_DESC
See Also:
Constant Field Values

SERVER_NAME_DESC

static final String SERVER_NAME_DESC
See Also:
Constant Field Values

CLUSTER_ID_DESC

static final String CLUSTER_ID_DESC
See Also:
Constant Field Values

UPDATES_BLOCKED_TIME

static final String UPDATES_BLOCKED_TIME
See Also:
Constant Field Values

UPDATES_BLOCKED_DESC

static final String UPDATES_BLOCKED_DESC
See Also:
Constant Field Values

DELETE_KEY

static final String DELETE_KEY
See Also:
Constant Field Values

GET_KEY

static final String GET_KEY
See Also:
Constant Field Values

INCREMENT_KEY

static final String INCREMENT_KEY
See Also:
Constant Field Values

MUTATE_KEY

static final String MUTATE_KEY
See Also:
Constant Field Values

APPEND_KEY

static final String APPEND_KEY
See Also:
Constant Field Values

SLOW_MUTATE_KEY

static final String SLOW_MUTATE_KEY
See Also:
Constant Field Values

SLOW_GET_KEY

static final String SLOW_GET_KEY
See Also:
Constant Field Values

SLOW_DELETE_KEY

static final String SLOW_DELETE_KEY
See Also:
Constant Field Values

SLOW_INCREMENT_KEY

static final String SLOW_INCREMENT_KEY
See Also:
Constant Field Values

SLOW_APPEND_KEY

static final String SLOW_APPEND_KEY
See Also:
Constant Field Values

SLOW_MUTATE_DESC

static final String SLOW_MUTATE_DESC
See Also:
Constant Field Values

SLOW_DELETE_DESC

static final String SLOW_DELETE_DESC
See Also:
Constant Field Values

SLOW_GET_DESC

static final String SLOW_GET_DESC
See Also:
Constant Field Values

SLOW_INCREMENT_DESC

static final String SLOW_INCREMENT_DESC
See Also:
Constant Field Values

SLOW_APPEND_DESC

static final String SLOW_APPEND_DESC
See Also:
Constant Field Values
Method Detail

updatePut

void updatePut(long t)
Update the Put time histogram

Parameters:
t - time it took

updateDelete

void updateDelete(long t)
Update the Delete time histogram

Parameters:
t - time it took

updateGet

void updateGet(long t)
Update the Get time histogram .

Parameters:
t - time it took

updateIncrement

void updateIncrement(long t)
Update the Increment time histogram.

Parameters:
t - time it took

updateAppend

void updateAppend(long t)
Update the Append time histogram.

Parameters:
t - time it took

incrSlowPut

void incrSlowPut()
Increment the number of slow Puts that have happened.


incrSlowDelete

void incrSlowDelete()
Increment the number of slow Deletes that have happened.


incrSlowGet

void incrSlowGet()
Increment the number of slow Gets that have happened.


incrSlowIncrement

void incrSlowIncrement()
Increment the number of slow Increments that have happened.


incrSlowAppend

void incrSlowAppend()
Increment the number of slow Appends that have happened.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.