Class Servlet3ResponseSendAdvice

java.lang.Object
io.opentelemetry.javaagent.instrumentation.servlet.v3_0.Servlet3ResponseSendAdvice

public class Servlet3ResponseSendAdvice extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    start(Class<?> declaringClass, String methodName, io.opentelemetry.instrumentation.api.incubator.semconv.util.ClassAndMethod classAndMethod, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
     
    static void
    stopSpan(Throwable throwable, io.opentelemetry.instrumentation.api.incubator.semconv.util.ClassAndMethod classAndMethod, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
     

    Methods inherited from class java.lang.Object

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

    • Servlet3ResponseSendAdvice

      public Servlet3ResponseSendAdvice()
  • Method Details

    • start

      @OnMethodEnter(suppress=java.lang.Throwable.class) public static void start(@Origin("#t") Class<?> declaringClass, @Origin("#m") String methodName, @Local("otelMethod") io.opentelemetry.instrumentation.api.incubator.semconv.util.ClassAndMethod classAndMethod, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)
    • stopSpan

      @OnMethodExit(onThrowable=java.lang.Throwable.class, suppress=java.lang.Throwable.class) public static void stopSpan(@Thrown Throwable throwable, @Local("otelMethod") io.opentelemetry.instrumentation.api.incubator.semconv.util.ClassAndMethod classAndMethod, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth)