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 Details

    • SentryAdviceConfiguration

      public SentryAdviceConfiguration()
  • Method Details

    • sentryTransactionAdvice

      @Bean @Role(2) @NotNull public @NotNull Advice sentryTransactionAdvice()
    • sentryTransactionAdvisor

      @Bean @Role(2) @NotNull public @NotNull Advisor sentryTransactionAdvisor(@NotNull @Qualifier("sentryTransactionPointcut") @NotNull Pointcut sentryTransactionPointcut, @NotNull @Qualifier("sentryTransactionAdvice") @NotNull Advice sentryTransactionAdvice)
    • sentrySpanAdvice

      @Bean @Role(2) @NotNull public @NotNull Advice sentrySpanAdvice()
    • sentrySpanAdvisor

      @Bean @Role(2) @NotNull public @NotNull Advisor sentrySpanAdvisor(@NotNull @Qualifier("sentrySpanPointcut") @NotNull Pointcut sentrySpanPointcut, @NotNull @Qualifier("sentrySpanAdvice") @NotNull Advice sentrySpanAdvice)