Open AbooMinister25 opened 1 year ago
Rather than manually creating spans like in the following: https://github.com/vipyrsec/dragonfly-client-rs/blob/d3aa07f6596f2fa09dc884af7db2f781d22370fd/src/main.rs#L54
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.
tracing::instrument
Rather than manually creating spans like in the following: https://github.com/vipyrsec/dragonfly-client-rs/blob/d3aa07f6596f2fa09dc884af7db2f781d22370fd/src/main.rs#L54
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.