Class OkHttp3Instrumentation.ConstructorAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.okhttp.v3_0.OkHttp3Instrumentation.ConstructorAdvice
Enclosing class:
OkHttp3Instrumentation

public static class OkHttp3Instrumentation.ConstructorAdvice extends Object
  • 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)