Expand description
This library contains the core supported metric types. They are all wrappers around the
Prometheus core types. These types are primarily used for defining metrics, and not for
using them. The actual usage of metrics is done through the generated structs from the
prometric-derive crate.
counter::Counter: A counter metric.gauge::Gauge: A gauge metric.histogram::Histogram: A histogram metric.summary::Summary: A summary metric. Requires thesummaryfeature to be enabled.
Re-exports§
Modules§
Traits§
- Into
Atomic - Internal conversion trait to allow ergonomic value passing (e.g.,
u32,usize). This enables library users to call methods like.set(queue.len())without manual casts.