Skip to content

Commit bc95f2e

Browse files
tracing: add reqwest-tracing to related crates in README (#2331)
1 parent 1215ab2 commit bc95f2e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ are not maintained by the `tokio` project. These include:
408408
- [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki].
409409
- [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format.
410410
- [`tracing-chrome`] provides a layer that exports trace data that can be viewed in `chrome://tracing`.
411+
- [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests.
411412

412413
(if you're the maintainer of a `tracing` ecosystem crate not in this list,
413414
please let us know!)
@@ -448,6 +449,8 @@ please let us know!)
448449
[Grafana Loki]: https://grafana.com/oss/loki/
449450
[`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt
450451
[`tracing-chrome`]: https://crates.io/crates/tracing-chrome
452+
[`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing
453+
[`reqwest`]: https://crates.io/crates/reqwest
451454

452455
**Note:** that some of the ecosystem crates are currently unreleased and
453456
undergoing active development. They may be less stable than `tracing` and

tracing/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@
807807
//! grouping together logs from the same spans during writing.
808808
//! - [`tracing-loki`] provides a layer for shipping logs to [Grafana Loki].
809809
//! - [`tracing-logfmt`] provides a layer that formats events and spans into the logfmt format.
810+
//! - [`reqwest-tracing`] provides a middleware to trace [`reqwest`] HTTP requests.
810811
//!
811812
//! If you're the maintainer of a `tracing` ecosystem crate not listed above,
812813
//! please let us know! We'd love to add your project to the list!
@@ -845,6 +846,8 @@
845846
//! [`tracing-loki`]: https://crates.io/crates/tracing-loki
846847
//! [Grafana Loki]: https://grafana.com/oss/loki/
847848
//! [`tracing-logfmt`]: https://crates.io/crates/tracing-logfmt
849+
//! [`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing
850+
//! [`reqwest`]: https://crates.io/crates/reqwest
848851
//!
849852
//! <div class="example-wrap" style="display:inline-block">
850853
//! <pre class="ignore" style="white-space:normal;font:inherit;">

0 commit comments

Comments
 (0)