/** * Creates a potentially noop span representing this request. This is used when you need to * provision a span in a different scope than where the request is executed. * * @since 4.4 */ public Span nextSpan(Req request) { Sampler override = httpSampler.toSampler(adapter, request, sampler); return tracer.withSampler(override).nextSpan(); }