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 MetricProducerManagerReturns the globalMetricProducerManagerwhich can be used to register handlers to export all the recorded metrics.static ExportComponentReturns 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 globalMetricProducerManagerwhich can be used to register handlers to export all the recorded metrics.- Returns:
- the implementation of the
MetricExporteror no-op if no implementation linked in the binary. - Since:
- 0.17
-