public interface MetricsIOSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
CHECKSUM_FAILURES_DESC |
static String |
CHECKSUM_FAILURES_KEY |
static String |
FS_PREAD_TIME_HISTO_DESC |
static String |
FS_PREAD_TIME_HISTO_KEY |
static String |
FS_READ_TIME_HISTO_DESC |
static String |
FS_READ_TIME_HISTO_KEY |
static String |
FS_WRITE_HISTO_KEY |
static String |
FS_WRITE_TIME_HISTO_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
|
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
updateFsPReadTime(long t)
Update the fs positional read time histogram
|
void |
updateFsReadTime(long t)
Update the fs sequential read time histogram
|
void |
updateFsWriteTime(long t)
Update the fs write time histogram
|
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String FS_READ_TIME_HISTO_KEY
static final String FS_PREAD_TIME_HISTO_KEY
static final String FS_WRITE_HISTO_KEY
static final String CHECKSUM_FAILURES_KEY
static final String FS_READ_TIME_HISTO_DESC
static final String FS_PREAD_TIME_HISTO_DESC
static final String FS_WRITE_TIME_HISTO_DESC
static final String CHECKSUM_FAILURES_DESC
void updateFsReadTime(long t)
t
- time it took, in millisecondsvoid updateFsPReadTime(long t)
t
- time it took, in millisecondsvoid updateFsWriteTime(long t)
t
- time it took, in millisecondsCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.