public interface MetricProvider
MetricRegistry.| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns a unique name of the Metric Provider.
|
void |
initialize()
This will be called when initializing the default
MetricRegistry. |
<T> CallbackGauge |
newCallbackGauge(MetricId metricId,
T obj,
ToDoubleFunction<T> toDoubleFunction) |
Counter |
newCounter(MetricId metricId) |
Gauge |
newGauge(MetricId metricId) |
Summary |
newSummary(MetricId metricId) |
Timer |
newTimer(MetricId metricId) |
String getName()
MetricRegistryvoid initialize()
MetricRegistry.<T> CallbackGauge newCallbackGauge(MetricId metricId, T obj, ToDoubleFunction<T> toDoubleFunction)
Copyright © 2018 WSO2. All rights reserved.