Class PlayWsInstrumentationModule.ClientAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.playws.v2_1.PlayWsInstrumentationModule.ClientAdvice
Enclosing class:
PlayWsInstrumentationModule

public static class PlayWsInstrumentationModule.ClientAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    methodEnter(play.shaded.ahc.org.asynchttpclient.Request request, play.shaded.ahc.org.asynchttpclient.AsyncHandler<?> asyncHandler, io.opentelemetry.context.Context context)
     
    static void
    methodExit(play.shaded.ahc.org.asynchttpclient.Request request, Throwable throwable, io.opentelemetry.context.Context context)
     

    Methods inherited from class java.lang.Object

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

    • ClientAdvice

      public ClientAdvice()
  • Method Details

    • methodEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void methodEnter(@Argument(0) play.shaded.ahc.org.asynchttpclient.Request request, @Argument(value=1,readOnly=false) play.shaded.ahc.org.asynchttpclient.AsyncHandler<?> asyncHandler, @Local("otelContext") io.opentelemetry.context.Context context)
    • methodExit

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void methodExit(@Argument(0) play.shaded.ahc.org.asynchttpclient.Request request, @Thrown Throwable throwable, @Local("otelContext") io.opentelemetry.context.Context context)