How can I get/store span duration with Rust tracing?
I want to capture the duration of execution of a span in rust tracing and send that as metric.
I have found that fmt() helps in printing that as mentioned here:How can I log span duration with Rust tr
问答
阅读(8)