Skip to main content

Module metrics

Module metrics 

Source
Expand description

Metrics registration. Plugins create metric families and update counters, gauges, and histograms.

Traits§

Counter
Single counter handle (one specific label combination).
CounterVec
A counter metric family — use with_labels to get a concrete handle.
Gauge
Single gauge handle (one specific label combination).
GaugeVec
Histogram
Single histogram handle (one specific label combination).
HistogramVec
MetricsRegistry
Plugins register metric families here. Observers render them.