void withSpanInScope ( HttpRequest < ? > request , Span span ) { request . setAttribute ( TraceRequestAttributes . CURRENT_SPAN , span ) ; Tracer . SpanInScope spanInScope = httpTracing . tracing ( ) . tracer ( ) . withSpanInScope ( span ) ; request . setAttribute ( TraceRequestAttributes . CURRENT_SCOPE , spanInScope ) ; }
Configures the request with the given Span .