Class SentryProperties

java.lang.Object
io.sentry.SentryOptions
io.sentry.spring.boot.SentryProperties

@ConfigurationProperties("sentry") public class SentryProperties extends SentryOptions
Configuration for Sentry integration.
  • Constructor Details

    • SentryProperties

      public SentryProperties()
  • Method Details

    • isUseGitCommitIdAsRelease

      public boolean isUseGitCommitIdAsRelease()
    • setUseGitCommitIdAsRelease

      public void setUseGitCommitIdAsRelease(boolean useGitCommitIdAsRelease)
    • getExceptionResolverOrder

      public int getExceptionResolverOrder()
      Returns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.
      Returns:
      order to use for Spring SentryExceptionResolver
    • setExceptionResolverOrder

      public void setExceptionResolverOrder(int exceptionResolverOrder)
      Sets the order to use for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.
      Parameters:
      exceptionResolverOrder - order to use for Spring SentryExceptionResolver
    • getUserFilterOrder

      @Nullable public @Nullable Integer getUserFilterOrder()
    • setUserFilterOrder

      public void setUserFilterOrder(@Nullable @Nullable Integer userFilterOrder)
    • getLogging

      @NotNull public @NotNull SentryProperties.Logging getLogging()
    • setLogging

      public void setLogging(@NotNull @NotNull SentryProperties.Logging logging)
    • getGraphql

      @NotNull public @NotNull SentryProperties.Graphql getGraphql()
    • setGraphql

      public void setGraphql(@NotNull @NotNull SentryProperties.Graphql graphql)