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 |
---|---|
protected MetricsInfo |
AbstractMetric.info() |
MetricsInfo |
MetricsTag.info() |
Modifier and Type | Method and Description |
---|---|
MetricStringBuilder |
MetricStringBuilder.add(MetricsInfo info,
Object value) |
MetricsRecordBuilder |
MetricsJsonBuilder.addCounter(MetricsInfo info,
int value) |
MetricsRecordBuilder |
MetricStringBuilder.addCounter(MetricsInfo info,
int value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addCounter(MetricsInfo info,
int value)
Add an integer metric
|
MetricsRecordBuilder |
MetricsJsonBuilder.addCounter(MetricsInfo info,
long value) |
MetricsRecordBuilder |
MetricStringBuilder.addCounter(MetricsInfo info,
long value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addCounter(MetricsInfo info,
long value)
Add an long metric
|
MetricsRecordBuilder |
MetricsJsonBuilder.addGauge(MetricsInfo info,
double value) |
MetricsRecordBuilder |
MetricStringBuilder.addGauge(MetricsInfo info,
double value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
double value)
Add a double gauge metric
|
MetricsRecordBuilder |
MetricsJsonBuilder.addGauge(MetricsInfo info,
float value) |
MetricsRecordBuilder |
MetricStringBuilder.addGauge(MetricsInfo info,
float value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
float value)
Add a float gauge metric
|
MetricsRecordBuilder |
MetricsJsonBuilder.addGauge(MetricsInfo info,
int value) |
MetricsRecordBuilder |
MetricStringBuilder.addGauge(MetricsInfo info,
int value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.addGauge(MetricsInfo info,
int value)
Add a integer gauge metric
|
MetricsRecordBuilder |
MetricsJsonBuilder.addGauge(MetricsInfo info,
long value) |
MetricsRecordBuilder |
MetricStringBuilder.addGauge(MetricsInfo info,
long value) |
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
|
MetricsRecordBuilder |
MetricsJsonBuilder.tag(MetricsInfo info,
String value) |
MetricsRecordBuilder |
MetricStringBuilder.tag(MetricsInfo info,
String value) |
abstract MetricsRecordBuilder |
MetricsRecordBuilder.tag(MetricsInfo info,
String value)
Add a metrics value with metrics information
|
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() |
protected MetricsInfo |
MutableGauge.info() |
MetricsInfo |
MetricsRegistry.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
|
org.apache.hadoop.metrics2.lib.MutableGaugeFloat |
MetricsRegistry.newGauge(MetricsInfo info,
float iVal)
Create a mutable float gauge
|
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
|
static MetricsTag |
Interns.tag(MetricsInfo info,
String value)
Get a metrics tag.
|
MetricsRegistry |
MetricsRegistry.tag(MetricsInfo info,
String value) |
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) |
MutableCounterLong(MetricsInfo info,
long initValue) |
MutableGauge(MetricsInfo info) |
Copyright © 2018 Apache Software Foundation. All rights reserved.