From e546699ceb06194a0778a9cfea2154c3c7272c96 Mon Sep 17 00:00:00 2001 From: Sam Greening <2552620+SG60@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:02:57 +0000 Subject: [PATCH] documentation --- packages/opentelemetry-tracing-utils/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/opentelemetry-tracing-utils/src/lib.rs b/packages/opentelemetry-tracing-utils/src/lib.rs index d6e7830..f573d9a 100644 --- a/packages/opentelemetry-tracing-utils/src/lib.rs +++ b/packages/opentelemetry-tracing-utils/src/lib.rs @@ -275,6 +275,9 @@ new headers: /// if any and valid. /// /// This uses the tower-http crate + /// + /// For propagation to work, RUST_LOG needs to include this crate, and also tower_http if you + /// want access log events from there. pub fn make_tower_http_otel_trace_layer() -> TraceLayer< SharedClassifier, impl (Fn(&Request) -> tracing::Span) + Clone,