Skip to main content

register_gauge_vec

Function register_gauge_vec 

Source
pub fn register_gauge_vec(
    name: &str,
    description: &str,
    label_names: &[&str],
) -> GaugeVec
Expand description

Wrapper around Prometheus register_gauge_vec! macro (floating-point gauge) which also sets the linera namespace. Use this for quantities with a fractional part (e.g. token balances).