Class SdkMeterProvider

  • All Implemented Interfaces:
    io.opentelemetry.api.metrics.MeterProvider, MetricProducer

    public final class SdkMeterProvider
    extends Object
    implements io.opentelemetry.api.metrics.MeterProvider, MetricProducer
    SdkMeterProvider implementation for MeterProvider.

    This class is not intended to be used in application code and it is used only by OpenTelemetry.

    WARNING: A MetricProducer is stateful. It will only return changes since the last time it was accessed. This means that if more than one MetricExporter has a handle to this MetricProducer, the two exporters will not receive copies of the same metric data to export.