Skip to content

Use #[tracing::instrument] #49

@AbooMinister25

Description

@AbooMinister25

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions