Interface BasicMetric<T extends BasicMetric<T>>

Type Parameters:
T - Child type of metric
All Known Subinterfaces:
Counter, Gauge, Histogram, Info
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

    Modifier and Type
    Method
    Description
    labels(String... labels)
    Returns child with the given labels.
    default T
    Returns child with the given labels.
  • Method Details