Class PeriodicMetricReader

java.lang.Object
io.opentelemetry.sdk.metrics.export.PeriodicMetricReader
All Implemented Interfaces:
MetricReader

public final class PeriodicMetricReader extends Object implements MetricReader
Wraps a MetricExporter and automatically reads and exports the metrics every export interval. Metrics may also be dropped when it becomes time to export again, and there is an export in progress.