Class SentrySpanAdvice

java.lang.Object
io.sentry.spring.jakarta.tracing.SentrySpanAdvice
All Implemented Interfaces:
Advice, Interceptor, MethodInterceptor

public class SentrySpanAdvice extends Object implements 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.