Remove follows-from relation for body
This commit is contained in:
parent
d8f1f2e6f6
commit
9d44100e32
2 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tracing-awc"
|
name = "tracing-awc"
|
||||||
description = "Tracing instrumentation for the awc http client"
|
description = "Tracing instrumentation for the awc http client"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
authors = ["asonix <asonix@asonix.dog"]
|
authors = ["asonix <asonix@asonix.dog"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
|
|
|
@ -183,7 +183,6 @@ where
|
||||||
ConnectResponse::Client(client_response.map_body(|_, payload| {
|
ConnectResponse::Client(client_response.map_body(|_, payload| {
|
||||||
let body_span =
|
let body_span =
|
||||||
tracing::info_span!(parent: None, "HTTP Client Response Body");
|
tracing::info_span!(parent: None, "HTTP Client Response Body");
|
||||||
body_span.follows_from(span.id());
|
|
||||||
let payload = InstrumentedBody::new(body_span, payload);
|
let payload = InstrumentedBody::new(body_span, payload);
|
||||||
let payload: Pin<Box<dyn Stream<Item = Result<Bytes, PayloadError>>>> =
|
let payload: Pin<Box<dyn Stream<Item = Result<Bytes, PayloadError>>>> =
|
||||||
Box::pin(payload);
|
Box::pin(payload);
|
||||||
|
|
Loading…
Reference in a new issue