Interface BasicMetric<T extends BasicMetric<T>>
- Type Parameters:
T
- Child type of metric
- All Known Implementing Classes:
NoopCounter
,NoopGauge
,NoopHistogram
,NoopInfo
,PrometheusCounter
,PrometheusGauge
,PrometheusHistogram
,PrometheusInfo
public interface BasicMetric<T extends BasicMetric<T>>
Basic interface for metric that can have labels (dimensions).
-
Method Summary
-
Method Details
-
labels
Returns child with the given labels.Must be passed the same number of labels are were passed to
BaseMetricSettings.labels(String...)
.- Parameters:
labels
- labels (dimensions) of metric to log
-
labels
Returns child with the given labels.Must be passed the same number of labels are were passed to
BaseMetricSettings.labels(String...)
.- Parameters:
labels
- labels (dimensions) of metric to log
-