Defined in File metric_producer.h
public opentelemetry::sdk::metrics::MetricCollector(Class MetricCollector)
MetricProducer is the interface that is used to make metric data available to the OpenTelemetry exporters. Implementations should be stateful, in that each call to
Collectwill return any metric generated since the last call was made.
Implementations must be thread-safe.
Subclassed by opentelemetry::sdk::metrics::MetricCollector
MetricProducer() = default
virtual ~MetricProducer() = default
- MetricProducer() = default