File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " ddtrace"
3- version = " 0.0.4 "
3+ version = " 0.0.5 "
44authors = [" David Steiner <david_j_steiner@yahoo.co.nz" , " Fergus Strangways-Dixon <fergusdixon101@gmail.com>" ]
55edition = " 2021"
66license = " MIT"
Original file line number Diff line number Diff line change @@ -135,15 +135,11 @@ we opted for sticking with Datadog-style propagation over `B3`. This is set via
135135The Python library takes care of propagation of the trace context automatically.
136136Unfortunately, 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.
143139This crate does not provide any additional support, but we recommend using
144140the [ 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
149145use ddtrace :: set_global_propagator;
You can’t perform that action at this time.
0 commit comments