diff --git a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs index 60d366eb25..3e7b1cd6d1 100644 --- a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs +++ b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs @@ -910,6 +910,14 @@ impl FreshHandler { let cx = opentelemetry::Context::current_with_span(span); let _guard = cx.attach(); + let current_context = opentelemetry::Context::current(); + let initial_trace_id = current_context.span().span_context().trace_id(); + error!("==== trace_id at the start of initial authentication: {:?} ====", initial_trace_id); + // + + drop(_guard); + + // let _guard = match &span{ // Some(s) => { // warn!("==== ENTERED SPAN ====");