Package | Description |
---|---|
org.apache.hadoop.metrics2 |
Metrics 2.0
|
org.apache.hadoop.metrics2.sink |
Builtin metrics sinks
|
org.apache.hadoop.metrics2.util |
General helpers for implementing source and sinks
|
Modifier and Type | Method and Description |
---|---|
boolean |
MetricsFilter.accepts(MetricsRecord record)
Whether to accept the record
|
void |
MetricsSink.putMetrics(MetricsRecord record)
Put a metrics record in the sink
|
Modifier and Type | Method and Description |
---|---|
void |
StatsDSink.putMetrics(MetricsRecord record) |
void |
GraphiteSink.putMetrics(MetricsRecord record) |
void |
FileSink.putMetrics(MetricsRecord record) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.metrics2.util.MetricsCache.Record |
MetricsCache.update(MetricsRecord mr)
Update the cache and return the current cache record
|
org.apache.hadoop.metrics2.util.MetricsCache.Record |
MetricsCache.update(MetricsRecord mr,
boolean includingTags)
Update the cache and return the current cached record
|
Copyright © 2017 Apache Software Foundation. All rights reserved.