Class TracingHttpRequesterFilter

java.lang.Object
io.servicetalk.opentracing.http.TracingHttpRequesterFilter
All Implemented Interfaces:
HttpExecutionStrategyInfluencer, StreamingHttpClientFilterFactory, StreamingHttpConnectionFilterFactory, ExecutionStrategyInfluencer<HttpExecutionStrategy>

public class TracingHttpRequesterFilter extends Object implements StreamingHttpClientFilterFactory, StreamingHttpConnectionFilterFactory
An HTTP filter that supports open tracing.

Append this filter before others that are expected to to see Scope for this request/response. Filters appended after this filter that use operators with the after* prefix on response meta data or the StreamingHttpResponse.transformMessageBody(UnaryOperator) response message body} (e.g. Publisher.afterFinally(Runnable)) will execute after this filter invokes Scope.close() and therefore will not see the Span for the current request/response.