Skip to main content

gauge_i64

Macro gauge_i64 

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

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

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