Package io.sentry.spring.jakarta.tracing
Class SentrySpanAdvice
java.lang.Object
io.sentry.spring.jakarta.tracing.SentrySpanAdvice
- All Implemented Interfaces:
Advice
,Interceptor
,MethodInterceptor
Creates a span from every bean method executed within
SentryTransaction
. Depending on the
configured pointcut, method either must or can be annotated with SentrySpan
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SentrySpanAdvice
public SentrySpanAdvice() -
SentrySpanAdvice
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceMethodInterceptor
- Throws:
Throwable
-