@ThreadSafe public interface MetricProducer
MetricProducer
is the interface that all "pull based" metric libraries should implement
in order to make data available to the OpenTelemetry exporters.Modifier and Type | Method and Description |
---|---|
Collection<MetricData> |
getAllMetrics()
Returns a collection of produced
MetricData s to be exported. |
Collection<MetricData> getAllMetrics()
MetricData
s to be exported.MetricData
s to be exported.