Skip to main content

histogram_f64

Macro histogram_f64 

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

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

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