Class SentryProperties

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

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

    io.sentry.SentryOptions.BeforeBreadcrumbCallback, io.sentry.SentryOptions.BeforeEmitMetricCallback, io.sentry.SentryOptions.BeforeEnvelopeCallback, io.sentry.SentryOptions.BeforeSendCallback, io.sentry.SentryOptions.BeforeSendReplayCallback, io.sentry.SentryOptions.BeforeSendTransactionCallback, io.sentry.SentryOptions.Cron, io.sentry.SentryOptions.DistributionOptions, io.sentry.SentryOptions.Logs, io.sentry.SentryOptions.OnDiscardCallback, io.sentry.SentryOptions.ProfilesSamplerCallback, io.sentry.SentryOptions.Proxy, io.sentry.SentryOptions.RequestSize, io.sentry.SentryOptions.TracesSamplerCallback
  • Field Summary

    Fields inherited from class io.sentry.SentryOptions

    DEFAULT_PROPAGATION_TARGETS, lock
  • 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
     
    boolean
     
    boolean
     
    void
    setEnableAotCompatibility(boolean enableAotCompatibility)
     
    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
    setKeepTransactionsOpenForAsyncResponses(boolean keepTransactionsOpenForAsyncResponses)
     
    void
     
    void
     
    void
    setUseGitCommitIdAsRelease(boolean useGitCommitIdAsRelease)
     
    void
    setUserFilterOrder(@Nullable Integer userFilterOrder)
     

    Methods inherited from class io.sentry.SentryOptions

    addBundleId, addContextTag, addEventProcessor, addIgnoredCheckIn, addIgnoredError, addIgnoredExceptionForType, addIgnoredSpanOrigin, addIgnoredTransaction, addInAppExclude, addInAppInclude, addIntegration, addOptionsObserver, addPerformanceCollector, addScopeObserver, empty, findPersistingScopeObserver, getBackpressureMonitor, getBeforeBreadcrumb, getBeforeEnvelopeCallback, getBeforeSend, getBeforeSendFeedback, getBeforeSendReplay, getBeforeSendTransaction, getBundleIds, getCacheDirPath, getClientReportRecorder, getCompositePerformanceCollector, getConnectionStatusProvider, getConnectionTimeoutMillis, getContextTags, getContinuousProfiler, getCron, getDateProvider, getDeadlineTimeout, getDebugMetaLoader, getDefaultScopeType, getDiagnosticLevel, getDist, getDistinctId, getDistribution, getDistributionController, getDsn, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getExecutorService, getExperimental, getFatalLogger, getFeedbackOptions, getFlushTimeoutMillis, getFullyDisplayedReporter, getGestureTargetLocators, getIdleTimeout, getIgnoredCheckIns, getIgnoredErrors, getIgnoredExceptionsForType, getIgnoredSpanOrigins, getIgnoredTransactions, getInAppExcludes, getInAppIncludes, getInitPriority, getInstrumenter, getIntegrations, getInternalTracesSampler, getLogger, getLogs, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxDepth, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getMaxTraceFileSize, getModulesLoader, getOnDiscard, getOpenTelemetryMode, getOptionsObservers, getOutboxPath, getPerformanceCollectors, getProfileLifecycle, getProfileSessionSampleRate, getProfilesSampler, getProfilesSampleRate, getProfilingTracesDirPath, getProfilingTracesHz, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getReplayController, getRuntimeManager, getSampleRate, getScopeObservers, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionFlushTimeoutMillis, getSessionReplay, getSessionTrackingIntervalMillis, getShutdownTimeoutMillis, getSocketTagger, getSpanFactory, getSpotlightConnectionUrl, getSslSocketFactory, getTags, getThreadChecker, getTracePropagationTargets, getTracesSampler, getTracesSampleRate, getTransactionProfiler, getTransportFactory, getTransportGate, getVersionDetector, getViewHierarchyExporters, isAttachServerName, isAttachStacktrace, isAttachThreads, isCaptureOpenTelemetryEvents, isContinuousProfilingEnabled, isDebug, isEnableAppStartProfiling, isEnableAutoSessionTracking, isEnableBackpressureHandling, isEnabled, isEnableDeduplication, isEnableExternalConfiguration, isEnablePrettySerializationOutput, isEnableScopePersistence, isEnableScreenTracking, isEnableShutdownHook, isEnableSpotlight, isEnableTimeToFullDisplayTracing, isEnableUncaughtExceptionHandler, isEnableUserInteractionBreadcrumbs, isEnableUserInteractionTracing, isForceInit, isGlobalHubMode, isPrintUncaughtStackTrace, isProfilingEnabled, isPropagateTraceparent, isSendClientReports, isSendDefaultPii, isSendModules, isStartProfilerOnAppStart, isTraceOptionsRequests, isTraceSampling, isTracingEnabled, merge, setAttachServerName, setAttachStacktrace, setAttachThreads, setBackpressureMonitor, setBeforeBreadcrumb, setBeforeEnvelopeCallback, setBeforeSend, setBeforeSendFeedback, setBeforeSendReplay, setBeforeSendTransaction, setCacheDirPath, setCaptureOpenTelemetryEvents, setCompositePerformanceCollector, setConnectionStatusProvider, setConnectionTimeoutMillis, setContinuousProfiler, setCron, setDateProvider, setDeadlineTimeout, setDebug, setDebugMetaLoader, setDefaultScopeType, setDiagnosticLevel, setDist, setDistinctId, setDistribution, setDistributionController, setDsn, setEnableAppStartProfiling, setEnableAutoSessionTracking, setEnableBackpressureHandling, setEnabled, setEnableDeduplication, setEnableExternalConfiguration, setEnablePrettySerializationOutput, setEnableScopePersistence, setEnableScreenTracking, setEnableShutdownHook, setEnableSpotlight, setEnableTimeToFullDisplayTracing, setEnableUncaughtExceptionHandler, setEnableUserInteractionBreadcrumbs, setEnableUserInteractionTracing, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setExecutorService, setFatalLogger, setFeedbackOptions, setFlushTimeoutMillis, setForceInit, setFullyDisplayedReporter, setGestureTargetLocators, setGlobalHubMode, setIdleTimeout, setIgnoredCheckIns, setIgnoredErrors, setIgnoredSpanOrigins, setIgnoredTransactions, setInitPriority, setInstrumenter, setLogger, setLogs, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxDepth, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setMaxTraceFileSize, setModulesLoader, setOnDiscard, setOpenTelemetryMode, setPrintUncaughtStackTrace, setProfileLifecycle, setProfileSessionSampleRate, setProfilesSampler, setProfilesSampleRate, setProfilingTracesDirPath, setProfilingTracesHz, setProguardUuid, setPropagateTraceparent, setProxy, setReadTimeoutMillis, setRelease, setReplayController, setRuntimeManager, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSendModules, setSentryClientName, setSerializer, setServerName, setSessionFlushTimeoutMillis, setSessionReplay, setSessionTrackingIntervalMillis, setShutdownTimeoutMillis, setSocketTagger, setSpanFactory, setSpotlightConnectionUrl, setSslSocketFactory, setStartProfilerOnAppStart, setTag, setThreadChecker, setTraceOptionsRequests, setTracePropagationTargets, setTraceSampling, setTracesSampler, setTracesSampleRate, setTransactionProfiler, setTransportFactory, setTransportGate, setVersionDetector, setViewHierarchyExporters

    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)
    • getReactive

      @NotNull public @NotNull SentryProperties.Reactive getReactive()
    • setReactive

      public void setReactive(@NotNull @NotNull SentryProperties.Reactive reactive)
    • isEnableAotCompatibility

      public boolean isEnableAotCompatibility()
    • setEnableAotCompatibility

      public void setEnableAotCompatibility(boolean enableAotCompatibility)
    • isKeepTransactionsOpenForAsyncResponses

      public boolean isKeepTransactionsOpenForAsyncResponses()
    • setKeepTransactionsOpenForAsyncResponses

      public void setKeepTransactionsOpenForAsyncResponses(boolean keepTransactionsOpenForAsyncResponses)
    • getGraphql

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

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