-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A tool for tracing::instrument
#2627
Comments
tracing::instrument
tracing::instrument
Hi @JonathanWoollett-Light, this is very cool! I think your tool will definitely be useful to a lot of At this time, we are trying to avoid adding any new crates to the However, we'd be very happy to add links to your crate to the Lines 745 to 813 in ebd437c
We should definitely add clippy-tracing to that list. I would also be happy to accept PRs that mention the use of your tool in the documentation for the #[tracing::instrument] macro, and in various "getting started" guides such as https://tokio.rs/tokio/topics/tracing.
If your tool starts getting widespread adoption by users, we would definitely also be open to making it an "official" tracing project by moving it into the |
Thankyou for the repones, I've posted a PR adding it to the documentation #2628. |
## Motivation Sharing tooling. ## Solution Adds `clippy-tracing` to related crates. Closes #2627
## Motivation Sharing tooling. ## Solution Adds `clippy-tracing` to related crates. Closes #2627
## Motivation Sharing tooling. ## Solution Adds `clippy-tracing` to related crates. Closes #2627
## Motivation Sharing tooling. ## Solution Adds `clippy-tracing` to related crates. Closes #2627
## Motivation Sharing tooling. ## Solution Adds `clippy-tracing` to related crates. Closes #2627
Feature Request
Crates
tracing
Motivation
I work on a large project with >3500 functions, I do not want to go through all of these adding
tracing::instrument
.Proposal
I made a tool (https://github.com/JonathanWoollett-Light/clippy-tracing) that can:
tracing::instrument
to all functions.tracing::instrument
from all functions.tracing::instrument
.This significantly helps (and I would argue is even necessary) to integrate
tracing
in a large project.This tool should be an official crate and can greatly improve the developer experience.
Alternatives
I'm not aware of any alternative.
The text was updated successfully, but these errors were encountered: