Crate prometric

Crate prometric 

Source
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.

Re-exports§

pub use counter::*;
pub use gauge::*;
pub use histogram::*;
pub use summary::*;

Modules§

counter
exporter
gauge
histogram
summary

Traits§

IntoAtomic
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.