Skip to main content

gauge_u64

Macro gauge_u64 

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

Records the current value (as a u64) of the named gauge with the given attributes.

spin_telemetry::metrics::gauge_u64!(spin.metric_name = 1, metric_attribute = "value");