From d7372d76b1f09057ab7401517eeaae744e65b4c7 Mon Sep 17 00:00:00 2001 From: tl-rodrigo-gryzinski <73602926+tl-rodrigo-gryzinski@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:01:11 +0100 Subject: [PATCH] tracing: add `reqwest-tracing` to related crates in README (#2331) --- README.md | 3 +++ tracing/src/lib.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 23b37cc9f2..41e9cf40a9 100644 --- a/README.md +++ b/README.md @@ -406,6 +406,7 @@ are not maintained by the `tokio` project. These include: - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format. - [`tracing-chrome`] provides a layer that exports trace data that can be viewed in `chrome://tracing`. +- [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests. (if you're the maintainer of a `tracing` ecosystem crate not in this list, please let us know!) @@ -446,6 +447,8 @@ please let us know!) [Grafana Loki]: https://grafana.com/oss/loki/ [`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt [`tracing-chrome`]: https://crates.io/crates/tracing-chrome +[`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing +[`reqwest`]: https://crates.io/crates/reqwest **Note:** that some of the ecosystem crates are currently unreleased and undergoing active development. They may be less stable than `tracing` and diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index bc215e6032..de30c15e5d 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -746,6 +746,7 @@ //! grouping together logs from the same spans during writing. //! - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki]. //! - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format. +//! - [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests. //! //! If you're the maintainer of a `tracing` ecosystem crate not listed above, //! please let us know! We'd love to add your project to the list! @@ -784,6 +785,8 @@ //! [`tracing-loki`]: https://crates.io/crates/tracing-loki //! [Grafana Loki]: https://grafana.com/oss/loki/ //! [`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt +//! [`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing +//! [`reqwest`]: https://crates.io/crates/reqwest //! //!
 //!     Note: Some of these ecosystem crates are currently