Class SentryProperties

java.lang.Object
io.sentry.SentryOptions
io.sentry.spring.boot.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 
     

    Nested classes/interfaces inherited from class io.sentry.SentryOptions

    io.sentry.SentryOptions.BeforeBreadcrumbCallback, io.sentry.SentryOptions.BeforeSendCallback, io.sentry.SentryOptions.BeforeSendTransactionCallback, io.sentry.SentryOptions.ProfilesSamplerCallback, io.sentry.SentryOptions.Proxy, io.sentry.SentryOptions.RequestSize, io.sentry.SentryOptions.TracesSamplerCallback
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.
     
    @Nullable Integer
     
    boolean
     
    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
     
    void
    setUseGitCommitIdAsRelease(boolean useGitCommitIdAsRelease)
     
    void
    setUserFilterOrder(@Nullable Integer userFilterOrder)
     

    Methods inherited from class io.sentry.SentryOptions

    addCollector, addContextTag, addEventProcessor, addIgnoredExceptionForType, addInAppExclude, addInAppInclude, addIntegration, addScopeObserver, addTracingOrigin, getBeforeBreadcrumb, getBeforeSend, getBeforeSendTransaction, getCacheDirPath, getClientReportRecorder, getCollectors, getConnectionTimeoutMillis, getContextTags, getDateProvider, getDiagnosticLevel, getDist, getDistinctId, getDsn, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getExecutorService, getFlushTimeoutMillis, getFullDisplayedReporter, getGestureTargetLocators, getHostnameVerifier, getIdleTimeout, getIgnoredExceptionsForType, getInAppExcludes, getInAppIncludes, getInstrumenter, getIntegrations, getLogger, getMainThreadChecker, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxDepth, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getMaxTraceFileSize, getModulesLoader, getOutboxPath, getProfilesSampler, getProfilesSampleRate, getProfilingTracesDirPath, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getSampleRate, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionTrackingIntervalMillis, getShutdownTimeout, getShutdownTimeoutMillis, getSslSocketFactory, getTags, getTracePropagationTargets, getTracesSampler, getTracesSampleRate, getTracingOrigins, getTransactionPerformanceCollector, getTransactionProfiler, getTransportFactory, getTransportGate, isAttachServerName, isAttachStacktrace, isAttachThreads, isDebug, isEnableAutoSessionTracking, isEnableDeduplication, isEnableExternalConfiguration, isEnableNdk, isEnableScopeSync, isEnableShutdownHook, isEnableTimeToFullDisplayTracing, isEnableUncaughtExceptionHandler, isEnableUserInteractionBreadcrumbs, isEnableUserInteractionTracing, isPrintUncaughtStackTrace, isProfilingEnabled, isSendClientReports, isSendDefaultPii, isTraceOptionsRequests, isTraceSampling, isTracingEnabled, merge, setAttachServerName, setAttachStacktrace, setAttachThreads, setBeforeBreadcrumb, setBeforeSend, setBeforeSendTransaction, setCacheDirPath, setConnectionTimeoutMillis, setDateProvider, setDebug, setDiagnosticLevel, setDist, setDistinctId, setDsn, setEnableAutoSessionTracking, setEnableDeduplication, setEnableExternalConfiguration, setEnableNdk, setEnableScopeSync, setEnableShutdownHook, setEnableTimeToFullDisplayTracing, setEnableUncaughtExceptionHandler, setEnableUserInteractionBreadcrumbs, setEnableUserInteractionTracing, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setExecutorService, setFlushTimeoutMillis, setGestureTargetLocators, setHostnameVerifier, setIdleTimeout, setInstrumenter, setLogger, setMainThreadChecker, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxDepth, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setMaxTraceFileSize, setModulesLoader, setPrintUncaughtStackTrace, setProfilesSampler, setProfilesSampleRate, setProfilingEnabled, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSentryClientName, setSerializer, setServerName, setSessionTrackingIntervalMillis, setShutdownTimeout, setShutdownTimeoutMillis, setSslSocketFactory, setTag, setTraceOptionsRequests, setTracePropagationTargets, setTraceSampling, setTracesSampler, setTracesSampleRate, setTracingOrigins, setTransactionPerformanceCollector, setTransactionProfiler, setTransportFactory, setTransportGate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)