Package io.sentry.spring.tracing
Class SentrySpanAdvice
- java.lang.Object
-
- io.sentry.spring.tracing.SentrySpanAdvice
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
public class SentrySpanAdvice extends java.lang.Object implements org.aopalliance.intercept.MethodInterceptor
Creates a span from every bean method executed withinSentryTransaction
. Depending on the configured pointcut, method either must or can be annotated withSentrySpan
.
-
-
Constructor Summary
Constructors Constructor Description SentrySpanAdvice(@NotNull io.sentry.IHub hub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(@NotNull org.aopalliance.intercept.MethodInvocation invocation)
-