public class MetricReader extends Object
Metrics from a MetricProducerManager and
exports them to a MetricExporter.| Modifier and Type | Class and Description |
|---|---|
static class |
MetricReader.Options
Options for
MetricReader. |
| Modifier and Type | Method and Description |
|---|---|
static MetricReader |
create(MetricReader.Options options)
Creates a new
MetricReader. |
void |
readAndExport(MetricExporter metricExporter)
Reads the metrics from the
MetricProducerManager and exports them to the metricExporter. |
public static MetricReader create(MetricReader.Options options)
MetricReader.options - the options for MetricReader.MetricReader.public void readAndExport(MetricExporter metricExporter)
MetricProducerManager and exports them to the metricExporter.metricExporter - the exporter called to export the metrics read.