Class OkHttp3Instrumentation.ConstructorAdvice
java.lang.Object
io.opentelemetry.javaagent.instrumentation.okhttp.v3_0.OkHttp3Instrumentation.ConstructorAdvice
- Enclosing class:
- OkHttp3Instrumentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTracingInterceptor(okhttp3.OkHttpClient.Builder builder, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth) static voidtrackCallDepth(io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
-
Constructor Details
-
ConstructorAdvice
public ConstructorAdvice()
-
-
Method Details
-
trackCallDepth
@OnMethodEnter(suppress=java.lang.Throwable.class) public static void trackCallDepth(@Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth) -
addTracingInterceptor
@OnMethodExit(suppress=java.lang.Throwable.class) public static void addTracingInterceptor(@This okhttp3.OkHttpClient.Builder builder, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
-