Package io.sentry.spring.jakarta.tracing
Class SentryAdviceConfiguration
java.lang.Object
io.sentry.spring.jakarta.tracing.SentryAdviceConfiguration
@Configuration(proxyBeanMethods=false)
@Role(2)
public class SentryAdviceConfiguration
extends Object
Creates advice infrastructure for
SentrySpan
and SentryTransaction
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull Advice
@NotNull Advisor
sentrySpanAdvisor
(@NotNull Pointcut sentrySpanPointcut, @NotNull Advice sentrySpanAdvice) @NotNull Advice
@NotNull Advisor
sentryTransactionAdvisor
(@NotNull Pointcut sentryTransactionPointcut, @NotNull Advice sentryTransactionAdvice)
-
Constructor Details
-
SentryAdviceConfiguration
public SentryAdviceConfiguration()
-
-
Method Details
-
sentryTransactionAdvice
-
sentryTransactionAdvisor
@Bean @Role(2) @NotNull public @NotNull Advisor sentryTransactionAdvisor(@NotNull @Qualifier("sentryTransactionPointcut") @NotNull Pointcut sentryTransactionPointcut, @NotNull @Qualifier("sentryTransactionAdvice") @NotNull Advice sentryTransactionAdvice) -
sentrySpanAdvice
-
sentrySpanAdvisor
@Bean @Role(2) @NotNull public @NotNull Advisor sentrySpanAdvisor(@NotNull @Qualifier("sentrySpanPointcut") @NotNull Pointcut sentrySpanPointcut, @NotNull @Qualifier("sentrySpanAdvice") @NotNull Advice sentrySpanAdvice)
-