Package io.opentelemetry.sdk.metrics
Class SdkMeterProvider.SdkCollectionRegistration
java.lang.Object
io.opentelemetry.sdk.metrics.SdkMeterProvider.SdkCollectionRegistration
- All Implemented Interfaces:
CollectionRegistration
- Enclosing class:
SdkMeterProvider
private static class SdkMeterProvider.SdkCollectionRegistration
extends Object
implements CollectionRegistration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<MetricProducer> private final MeterProviderSharedState -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSdkCollectionRegistration(List<MetricProducer> metricProducers, MeterProviderSharedState sharedState) -
Method Summary
Modifier and TypeMethodDescriptionCollect all metrics, including metrics from the SDK and any registeredMetricProducers.
-
Field Details
-
metricProducers
-
-
Constructor Details
-
Method Details
-
collectAllMetrics
Description copied from interface:CollectionRegistrationCollect all metrics, including metrics from the SDK and any registeredMetricProducers.If
MetricReader.getMemoryMode()is configured toMemoryMode.REUSABLE_DATAdo not keep the result or any of its contained objects as they are to be reused to return the result for the next call to this method.- Specified by:
collectAllMetricsin interfaceCollectionRegistration
-