@Provider public class OpenTracingClientProvider extends AbstractOpenTracingClientProvider implements javax.ws.rs.client.ClientRequestFilter, javax.ws.rs.client.ClientResponseFilter
AbstractTracingProvider.TraceScopeHolder<T>
LOG, TRACE_SPAN
Constructor and Description |
---|
OpenTracingClientProvider(io.opentracing.Tracer tracer) |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.client.ClientRequestContext requestContext) |
void |
filter(javax.ws.rs.client.ClientRequestContext requestContext,
javax.ws.rs.client.ClientResponseContext responseContext) |
startTraceSpan, stopTraceSpan, stopTraceSpan
buildSpanDescription, getSpanIdHeader, getUri
public OpenTracingClientProvider(io.opentracing.Tracer tracer)
public void filter(javax.ws.rs.client.ClientRequestContext requestContext) throws IOException
filter
in interface javax.ws.rs.client.ClientRequestFilter
IOException
public void filter(javax.ws.rs.client.ClientRequestContext requestContext, javax.ws.rs.client.ClientResponseContext responseContext) throws IOException
filter
in interface javax.ws.rs.client.ClientResponseFilter
IOException
Apache CXF