@ExperimentalApi public final class Metrics extends Object
MetricsComponent.| Modifier and Type | Method and Description |
|---|---|
static ExportComponent |
getExportComponent()
Returns the global
ExportComponent. |
static MetricRegistry |
getMetricRegistry()
Returns the global
MetricRegistry. |
public static ExportComponent getExportComponent()
ExportComponent.ExportComponent.public static MetricRegistry getMetricRegistry()
MetricRegistry.
This MetricRegistry is already added to the global MetricProducerManager.
MetricRegistry.