Attribute Macro function_timer::time
source ยท #[time]
Expand description
Macro that time a function and emit a histogram metric using metrics
crate
#[time("metric_name")]
This macro can be on a function.
#[time]
Macro that time a function and emit a histogram metric using metrics
crate
#[time("metric_name")]
This macro can be on a function.