Class MetricsCoprocessor
java.lang.Object
org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor
Utility class for tracking metrics for various types of coprocessors. Each coprocessor instance
creates its own MetricRegistry which is exported as an individual MetricSource. MetricRegistries
are ref counted using the hbase-metric module interfaces.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetricRegistry
static MetricRegistry
static MetricRegistry
static MetricRegistry
(package private) static MetricRegistryInfo
static MetricRegistryInfo
(package private) static MetricRegistryInfo
static MetricRegistryInfo
static void
removeRegistry
(MetricRegistry registry) private static String
-
Field Details
-
MASTER_COPROC_METRICS_NAME
- See Also:
-
MASTER_COPROC_METRICS_CONTEXT
- See Also:
-
MASTER_COPROC_METRICS_DESCRIPTION
- See Also:
-
MASTER_COPROC_METRICS_JMX_CONTEXT
- See Also:
-
RS_COPROC_METRICS_NAME
- See Also:
-
RS_COPROC_METRICS_CONTEXT
- See Also:
-
RS_COPROC_METRICS_DESCRIPTION
- See Also:
-
RS_COPROC_METRICS_JMX_CONTEXT
- See Also:
-
REGION_COPROC_METRICS_NAME
- See Also:
-
REGION_COPROC_METRICS_CONTEXT
- See Also:
-
REGION_COPROC_METRICS_DESCRIPTION
- See Also:
-
REGION_COPROC_METRICS_JMX_CONTEXT
- See Also:
-
WAL_COPROC_METRICS_NAME
- See Also:
-
WAL_COPROC_METRICS_CONTEXT
- See Also:
-
WAL_COPROC_METRICS_DESCRIPTION
- See Also:
-
WAL_COPROC_METRICS_JMX_CONTEXT
- See Also:
-
-
Constructor Details
-
MetricsCoprocessor
public MetricsCoprocessor()
-
-
Method Details
-
suffix
-
createRegistryInfoForMasterCoprocessor
-
createRegistryForMasterCoprocessor
-
createRegistryInfoForRSCoprocessor
-
createRegistryForRSCoprocessor
-
createRegistryInfoForRegionCoprocessor
-
createRegistryForRegionCoprocessor
-
createRegistryInfoForWALCoprocessor
-
createRegistryForWALCoprocessor
-
removeRegistry
-