Class JdkHttpClientTracer
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
- io.opentelemetry.instrumentation.api.tracer.HttpClientTracer<java.net.http.HttpRequest,java.net.http.HttpRequest,java.net.http.HttpResponse<?>>
-
- io.opentelemetry.javaagent.instrumentation.httpclient.JdkHttpClientTracer
-
public class JdkHttpClientTracer extends io.opentelemetry.instrumentation.api.tracer.HttpClientTracer<java.net.http.HttpRequest,java.net.http.HttpRequest,java.net.http.HttpResponse<?>>
-
-
Constructor Summary
Constructors Constructor Description JdkHttpClientTracer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.http.HttpHeadersinject(java.net.http.HttpHeaders original)static JdkHttpClientTracertracer()-
Methods inherited from class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
end, end, endExceptionally, endExceptionally, endMaybeExceptionally, shouldStartSpan, startSpan, startSpan, startSpan
-
Methods inherited from class io.opentelemetry.instrumentation.api.tracer.BaseTracer
addThrowable, end, end, end, end, endExceptionally, endExceptionally, endExceptionally, endExceptionally, extract, extractWithGlobalPropagators, getCurrentServerSpan, getCurrentServerSpan, getPropagators, spanNameForClass, spanNameForMethod, startScope, startSpan, startSpan, startSpan
-
-
-
-
Method Detail
-
tracer
public static JdkHttpClientTracer tracer()
-
inject
public java.net.http.HttpHeaders inject(java.net.http.HttpHeaders original)
-
-