Skip to main content

histogram_u64

Macro histogram_u64 

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

Records an additional value (as a u64) to the distribution of the named histogram with the given attributes.

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