Skip to main content

gauge_f64

Macro gauge_f64 

Source
macro_rules! gauge_f64 {
    ($($tt:tt)*) => { ... };
}
Expand description

Records the current value (as an f64) of the named gauge with the given attributes.

spin_telemetry::metrics::gauge_f64!(spin.metric_name = 1.5, metric_attribute = "value");