Package io.opencensus.metrics.export
Class ExportComponent
java.lang.Object
io.opencensus.metrics.export.ExportComponent
- Direct Known Subclasses:
ExportComponent.NoopExportComponent
,ExportComponentImpl
Class that holds the implementation instance for
MetricProducerManager
.
Unless otherwise noted all methods (on component) results are cacheable.
- Since:
- 0.17
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MetricProducerManager
Returns the globalMetricProducerManager
which can be used to register handlers to export all the recorded metrics.static ExportComponent
Returns the no-op implementation of theExportComponent
.
-
Constructor Details
-
ExportComponent
public ExportComponent()
-
-
Method Details
-
newNoopExportComponent
Returns the no-op implementation of theExportComponent
.- Returns:
- the no-op implementation of the
ExportComponent
. - Since:
- 0.17
-
getMetricProducerManager
Returns the globalMetricProducerManager
which can be used to register handlers to export all the recorded metrics.- Returns:
- the implementation of the
MetricExporter
or no-op if no implementation linked in the binary. - Since:
- 0.17
-