| Package | Description |
|---|---|
| org.apache.hadoop.metrics.file |
Implementation of the metrics package that writes the metrics to a file.
|
| org.apache.hadoop.metrics.ganglia |
Implementation of the metrics package that sends metric data to
Ganglia.
|
| org.apache.hadoop.metrics.spi |
The Service Provider Interface for the Metrics API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec)
Deprecated.
Emits a metrics record to a file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GangliaContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Collection<OutputRecord>> |
AbstractMetricsContext.getAllRecords()
Retrieves all the records managed by this MetricsContext.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
NullContextWithUpdateThread.emitRecord(String contextName,
String recordName,
OutputRecord outRec)
Do-nothing version of emitRecord
|
protected void |
NoEmitMetricsContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec)
Do-nothing version of emitRecord
|
protected void |
CompositeContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec) |
protected void |
NullContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec)
Do-nothing version of emitRecord
|
protected abstract void |
AbstractMetricsContext.emitRecord(String contextName,
String recordName,
OutputRecord outRec)
Sends a record to the metrics system.
|
Copyright © 2015 Apache Software Foundation. All Rights Reserved.