@ExperimentalApi public abstract class ExportComponent extends Object
MetricProducerManager
.
Unless otherwise noted all methods (on component) results are cacheable.
Constructor and Description |
---|
ExportComponent() |
Modifier and Type | Method and Description |
---|---|
abstract MetricProducerManager |
getMetricProducerManager()
Returns the global
MetricProducerManager which can be used to register handlers to
export all the recorded metrics. |
static ExportComponent |
newNoopExportComponent()
Returns the no-op implementation of the
ExportComponent . |
public static ExportComponent newNoopExportComponent()
ExportComponent
.ExportComponent
.public abstract MetricProducerManager getMetricProducerManager()
MetricProducerManager
which can be used to register handlers to
export all the recorded metrics.MetricExporter
or no-op if no implementation linked
in the binary.