Class Tomcat10ServerHandlerAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.tomcat.v10_0.Tomcat10ServerHandlerAdvice

public class Tomcat10ServerHandlerAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEnter(org.apache.coyote.Request request, org.apache.coyote.Response response, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
     
    static void
    stopSpan(org.apache.coyote.Request request, org.apache.coyote.Response response, Throwable throwable, io.opentelemetry.context.Context context, 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

    • Tomcat10ServerHandlerAdvice

      public Tomcat10ServerHandlerAdvice()
  • Method Details

    • onEnter

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void onEnter(@Argument(0) org.apache.coyote.Request request, @Argument(1) org.apache.coyote.Response response, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
    • stopSpan

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void stopSpan(@Argument(0) org.apache.coyote.Request request, @Argument(1) org.apache.coyote.Response response, @Thrown Throwable throwable, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)