@ExperimentalApi public abstract class MetricProducer extends Object
Metric producer that can be registered for exporting using MetricProducerManager.
All implementation MUST be thread-safe.
| Constructor and Description |
|---|
MetricProducer() |
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<Metric> |
getMetrics()
Returns a collection of produced
Metrics to be exported. |
public abstract Collection<Metric> getMetrics()
Metrics to be exported.Metrics to be exported.