Use `#[tracing::instrument]`
Opened this issue · 0 comments
AbooMinister25 commented
Rather than manually creating spans like in the following:
dragonfly-client-rs/src/main.rs
Line 54 in d3aa07f
you could instead use instrument your functions with tracing::instrument
- I'd also propose doing this in more places where there weren't spans created before.