Class AnnotatedMethodInstrumentation.AnnotatedMethodAdvice
java.lang.Object
io.opentelemetry.javaagent.instrumentation.spring.ws.v2_0.AnnotatedMethodInstrumentation.AnnotatedMethodAdvice
- Enclosing class:
- AnnotatedMethodInstrumentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstartSpan(Class<?> codeClass, String methodName, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, SpringWsRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope) static voidstopSpan(Throwable throwable, io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, SpringWsRequest request, io.opentelemetry.context.Context context, io.opentelemetry.context.Scope scope)
-
Constructor Details
-
AnnotatedMethodAdvice
public AnnotatedMethodAdvice()
-
-
Method Details
-
startSpan
@OnMethodEnter(suppress=java.lang.Throwable.class) public static void startSpan(@Origin("#t") Class<?> codeClass, @Origin("#m") String methodName, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, @Local("otelRequest") SpringWsRequest request, @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(@Thrown Throwable throwable, @Local("otelCallDepth") io.opentelemetry.javaagent.bootstrap.CallDepth callDepth, @Local("otelRequest") SpringWsRequest request, @Local("otelContext") io.opentelemetry.context.Context context, @Local("otelScope") io.opentelemetry.context.Scope scope)
-