vipyrsec/dragonfly-client-rs

Use `#[tracing::instrument]`

Opened this issue · 0 comments

Rather than manually creating spans like in the following:

let span = span!(Level::INFO, "Job", name = job.name, version = job.version);

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.