Package | Description |
---|---|
org.apache.hadoop.fs.azure.metrics |
Infrastructure for a Metrics2 source that provides information on Windows
Azure Filesystem for Hadoop instances.
|
org.apache.hadoop.metrics2 |
Metrics 2.0
|
org.apache.hadoop.metrics2.lib |
A collection of library classes for implementing metrics sources
|
Modifier and Type | Method and Description |
---|---|
MetricsInfo |
AzureFileSystemInstrumentation.getMetricsRegistryInfo()
Get the metrics registry information.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetric
The immutable metric
|
class |
MetricsTag
Immutable tag for metrics (for grouping on host/queue/username etc.)
|
Modifier and Type | Method and Description |
---|---|
MetricsInfo |
MetricsTag.info() |
protected MetricsInfo |
AbstractMetric.info() |
Modifier and Type | Method and Description |
---|---|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addCounter(MetricsInfo info,
int value)
Add an integer metric
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addCounter(MetricsInfo info,
long value)
Add an long metric
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
double value)
Add a double gauge metric
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
float value)
Add a float gauge metric
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
int value)
Add a integer gauge metric
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
long value)
Add a long gauge metric
|
MetricsRecordBuilder |
MetricsCollector.addRecord(MetricsInfo info)
Add a metrics record
|
void |
MetricsVisitor.counter(MetricsInfo info,
int value)
Callback for integer value counters
|
void |
MetricsVisitor.counter(MetricsInfo info,
long value)
Callback for long value counters
|
void |
MetricsVisitor.gauge(MetricsInfo info,
double value)
Callback for double value gauges
|
void |
MetricsVisitor.gauge(MetricsInfo info,
float value)
Callback for float value gauges
|
void |
MetricsVisitor.gauge(MetricsInfo info,
int value)
Callback for integer value gauges
|
void |
MetricsVisitor.gauge(MetricsInfo info,
long value)
Callback for long value gauges
|
abstract MetricsRecordBuilder |
MetricsRecordBuilder.tag(MetricsInfo info,
String value)
Add a metrics tag
|
Constructor and Description |
---|
AbstractMetric(MetricsInfo info)
Construct the metric
|
MetricsTag(MetricsInfo info,
String value)
Construct the tag with name, description and value
|
Modifier and Type | Method and Description |
---|---|
protected MetricsInfo |
MutableCounter.info() |
MetricsInfo |
MetricsRegistry.info() |
protected MetricsInfo |
MutableGauge.info() |
static MetricsInfo |
Interns.info(String name,
String description)
Get a metric info object
|
Modifier and Type | Method and Description |
---|---|
MutableCounterInt |
MetricsRegistry.newCounter(MetricsInfo info,
int iVal)
Create a mutable integer counter
|
MutableCounterLong |
MetricsRegistry.newCounter(MetricsInfo info,
long iVal)
Create a mutable long integer counter
|
MutableGaugeInt |
MetricsRegistry.newGauge(MetricsInfo info,
int iVal)
Create a mutable integer gauge
|
MutableGaugeLong |
MetricsRegistry.newGauge(MetricsInfo info,
long iVal)
Create a mutable long integer gauge
|
MetricsRegistry |
MetricsRegistry.tag(MetricsInfo info,
String value) |
static MetricsTag |
Interns.tag(MetricsInfo info,
String value)
Get a metrics tag
|
MetricsRegistry |
MetricsRegistry.tag(MetricsInfo info,
String value,
boolean override)
Add a tag to the metrics
|
Constructor and Description |
---|
MetricsRegistry(MetricsInfo info)
Construct the registry with a metadata object
|
MutableCounter(MetricsInfo info) |
MutableGauge(MetricsInfo info) |
Copyright © 2018 Apache Software Foundation. All rights reserved.