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,