Package io.sentry.spring.tracing
Class SentrySpanAdvice
java.lang.Object
io.sentry.spring.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
Constructors -
Method Summary
-
Constructor Details
-
SentrySpanAdvice
public SentrySpanAdvice() -
SentrySpanAdvice
public SentrySpanAdvice(@NotNull @NotNull io.sentry.IScopes scopes)
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-