Skip to content

Commit 0091096

Browse files
committed
Correction for reqwest propagation
1 parent 0bed2b7 commit 0091096

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ddtrace"
3-
version = "0.0.4"
3+
version = "0.0.5"
44
authors = ["David Steiner <david_j_steiner@yahoo.co.nz", "Fergus Strangways-Dixon <fergusdixon101@gmail.com>"]
55
edition = "2021"
66
license = "MIT"

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,11 @@ we opted for sticking with Datadog-style propagation over `B3`. This is set via
135135
The Python library takes care of propagation of the trace context automatically.
136136
Unfortunately, we need to do this manually in Rust.
137137

138-
In Rust, `reqwest` is the most commonly used HTTP client crate. We provide a
139-
`reqwest` middleware that injects the necessary headers using the Datadog native
140-
propagation standard (common alternatives would be Jaeger and B3, more on this:
141-
https://opentelemetry.io/docs/reference/specification/context/api-propagators/#propagators-distribution).
142-
138+
Arguably, propagation in HTTP requests is the most common need.
143139
This crate does not provide any additional support, but we recommend using
144140
the [reqwest-middleware](https://crates.io/crates/reqwest-middleware) crate
145-
to inject the necessary headers. If you set the global propagator using
146-
`ddtrace`, it will work out of the box.
141+
to inject the necessary headers when using `reqwest`.
142+
If you set the global propagator using `ddtrace`, it will work out of the box.
147143

148144
```rust
149145
use ddtrace::set_global_propagator;

0 commit comments

Comments
 (0)