Class RequestInstrumentation.ExecuteAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.asynchttpclient.v1_9.RequestInstrumentation.ExecuteAdvice
Enclosing class:
RequestInstrumentation

public static class RequestInstrumentation.ExecuteAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(com.ning.http.client.Request request, com.ning.http.client.AsyncHandler<?> handler, io.opentelemetry.context.Scope scope)
     
    static void
    onExit(io.opentelemetry.context.Scope scope)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExecuteAdvice

      public ExecuteAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@Argument(0) com.ning.http.client.Request request, @Argument(1) com.ning.http.client.AsyncHandler<?> handler, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • onExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void onExit(@Local("otelScope") io.opentelemetry.context.Scope scope)