Package io.sentry.spring.boot4
Class SentryProperties
java.lang.Object
io.sentry.SentryOptions
io.sentry.spring.boot4.SentryProperties
Configuration for Sentry integration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested 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 -
Method Summary
Modifier and TypeMethodDescriptionintReturns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.@NotNull SentryProperties.Graphql@NotNull SentryProperties.Logging@NotNull SentryProperties.Reactive@Nullable IntegerbooleanbooleanbooleanvoidsetEnableAotCompatibility(boolean enableAotCompatibility) voidsetExceptionResolverOrder(int exceptionResolverOrder) Sets the order to use for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.voidsetGraphql(@NotNull SentryProperties.Graphql graphql) voidsetKeepTransactionsOpenForAsyncResponses(boolean keepTransactionsOpenForAsyncResponses) voidsetLogging(@NotNull SentryProperties.Logging logging) voidsetReactive(@NotNull SentryProperties.Reactive reactive) voidsetUseGitCommitIdAsRelease(boolean useGitCommitIdAsRelease) voidsetUserFilterOrder(@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
-
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
-
setUserFilterOrder
-
getLogging
-
setLogging
-
getReactive
-
setReactive
-
isEnableAotCompatibility
public boolean isEnableAotCompatibility() -
setEnableAotCompatibility
public void setEnableAotCompatibility(boolean enableAotCompatibility) -
isKeepTransactionsOpenForAsyncResponses
public boolean isKeepTransactionsOpenForAsyncResponses() -
setKeepTransactionsOpenForAsyncResponses
public void setKeepTransactionsOpenForAsyncResponses(boolean keepTransactionsOpenForAsyncResponses) -
getGraphql
-
setGraphql
-