Class SentryProperties


  • @ConfigurationProperties("sentry")
    public class SentryProperties
    extends io.sentry.SentryOptions
    Configuration for Sentry integration.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SentryProperties.Logging  
      • Nested classes/interfaces inherited from class io.sentry.SentryOptions

        io.sentry.SentryOptions.BeforeBreadcrumbCallback, io.sentry.SentryOptions.BeforeSendCallback, io.sentry.SentryOptions.Proxy, io.sentry.SentryOptions.RequestSize, io.sentry.SentryOptions.TracesSamplerCallback
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getExceptionResolverOrder()
      Returns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.
      @NotNull SentryProperties.Logging getLogging()  
      @Nullable java.lang.Integer getUserFilterOrder()  
      boolean isEnableTracing()
      Deprecated.
      boolean isUseGitCommitIdAsRelease()  
      void setEnableTracing​(boolean enableTracing)
      Deprecated.
      void setExceptionResolverOrder​(int exceptionResolverOrder)
      Sets the order to use for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.
      void setLogging​(@NotNull SentryProperties.Logging logging)  
      void setUseGitCommitIdAsRelease​(boolean useGitCommitIdAsRelease)  
      void setUserFilterOrder​(@Nullable java.lang.Integer userFilterOrder)  
      • Methods inherited from class io.sentry.SentryOptions

        addEventProcessor, addIgnoredExceptionForType, addInAppExclude, addInAppInclude, addIntegration, addScopeObserver, addTracingOrigin, from, getBeforeBreadcrumb, getBeforeSend, getCacheDirPath, getCacheDirSize, getConnectionTimeoutMillis, getDiagnosticLevel, getDist, getDistinctId, getDsn, getEnableUncaughtExceptionHandler, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getFlushTimeoutMillis, getHostnameVerifier, getIgnoredExceptionsForType, getInAppExcludes, getInAppIncludes, getIntegrations, getLogger, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getOutboxPath, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getSampleRate, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionTrackingIntervalMillis, getShutdownTimeout, getSslSocketFactory, getTags, getTracesSampler, getTracesSampleRate, getTracingOrigins, getTransportFactory, getTransportGate, isAttachServerName, isAttachStacktrace, isAttachThreads, isDebug, isEnableAutoSessionTracking, isEnableDeduplication, isEnableExternalConfiguration, isEnableNdk, isEnableScopeSync, isEnableSessionTracking, isEnableShutdownHook, isEnableUncaughtExceptionHandler, isSendDefaultPii, isTraceSampling, isTracingEnabled, setAttachServerName, setAttachStacktrace, setAttachThreads, setBeforeBreadcrumb, setBeforeSend, setCacheDirPath, setCacheDirSize, setConnectionTimeoutMillis, setDebug, setDiagnosticLevel, setDist, setDistinctId, setDsn, setEnableAutoSessionTracking, setEnableDeduplication, setEnableExternalConfiguration, setEnableNdk, setEnableScopeSync, setEnableSessionTracking, setEnableShutdownHook, setEnableUncaughtExceptionHandler, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setFlushTimeoutMillis, setHostnameVerifier, setLogger, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setSampleRate, setSdkVersion, setSendDefaultPii, setSentryClientName, setSerializer, setServerName, setSessionTrackingIntervalMillis, setShutdownTimeout, setSslSocketFactory, setTag, setTraceSampling, setTracesSampler, setTracesSampleRate, setTransportFactory, setTransportGate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SentryProperties

        public SentryProperties()
    • Method Detail

      • isUseGitCommitIdAsRelease

        public boolean isUseGitCommitIdAsRelease()
      • setUseGitCommitIdAsRelease

        public void setUseGitCommitIdAsRelease​(boolean useGitCommitIdAsRelease)
      • isEnableTracing

        @Deprecated
        public boolean isEnableTracing()
        Deprecated.
      • setEnableTracing

        @Deprecated
        public void setEnableTracing​(boolean enableTracing)
        Deprecated.
      • 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 java.lang.Integer getUserFilterOrder()
      • setUserFilterOrder

        public void setUserFilterOrder​(@Nullable
                                       @Nullable java.lang.Integer userFilterOrder)