Package io.sentry.spring.boot
Class SentryProperties
java.lang.Object
io.sentry.SentryOptions
io.sentry.spring.boot.SentryProperties
Configuration for Sentry integration.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class io.sentry.SentryOptions
SentryOptions.BeforeBreadcrumbCallback, SentryOptions.BeforeEmitMetricCallback, SentryOptions.BeforeEnvelopeCallback, SentryOptions.BeforeSendCallback, SentryOptions.BeforeSendReplayCallback, SentryOptions.BeforeSendTransactionCallback, SentryOptions.Cron, SentryOptions.ProfilesSamplerCallback, SentryOptions.Proxy, SentryOptions.RequestSize, SentryOptions.TracesSamplerCallback
-
Field Summary
Fields inherited from class io.sentry.SentryOptions
DEFAULT_PROPAGATION_TARGETS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.@NotNull SentryProperties.Graphql
@NotNull SentryProperties.Logging
@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
setGraphql
(@NotNull SentryProperties.Graphql graphql) void
setLogging
(@NotNull SentryProperties.Logging logging) void
setUseGitCommitIdAsRelease
(boolean useGitCommitIdAsRelease) void
setUserFilterOrder
(@Nullable Integer userFilterOrder) Methods inherited from class io.sentry.SentryOptions
addBundleId, addContextTag, addEventProcessor, addIgnoredExceptionForType, addInAppExclude, addInAppInclude, addIntegration, addOptionsObserver, addPerformanceCollector, addScopeObserver, addTracingOrigin, empty, getBackpressureMonitor, getBeforeBreadcrumb, getBeforeEmitMetricCallback, getBeforeEnvelopeCallback, getBeforeSend, getBeforeSendReplay, getBeforeSendTransaction, getBundleIds, getCacheDirPath, getClientReportRecorder, getConnectionStatusProvider, getConnectionTimeoutMillis, getContextTags, getCron, getDateProvider, getDebugMetaLoader, getDiagnosticLevel, getDist, getDistinctId, getDsn, getEnableTracing, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getExecutorService, getExperimental, getFlushTimeoutMillis, getFullyDisplayedReporter, getGestureTargetLocators, getIdleTimeout, getIgnoredCheckIns, getIgnoredExceptionsForType, getInAppExcludes, getInAppIncludes, getInstrumenter, getIntegrations, getLogger, getMainThreadChecker, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxDepth, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getMaxTraceFileSize, getModulesLoader, getOptionsObservers, getOutboxPath, getPerformanceCollectors, getProfilesSampler, getProfilesSampleRate, getProfilingTracesDirPath, getProfilingTracesHz, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getReplayController, getSampleRate, getScopeObservers, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionFlushTimeoutMillis, getSessionTrackingIntervalMillis, getShutdownTimeout, getShutdownTimeoutMillis, getSpotlightConnectionUrl, getSslSocketFactory, getTags, getTracePropagationTargets, getTracesSampler, getTracesSampleRate, getTracingOrigins, getTransactionPerformanceCollector, getTransactionProfiler, getTransportFactory, getTransportGate, getViewHierarchyExporters, isAttachServerName, isAttachStacktrace, isAttachThreads, isDebug, isEnableAppStartProfiling, isEnableAutoSessionTracking, isEnableBackpressureHandling, isEnabled, isEnableDeduplication, isEnableDefaultTagsForMetrics, isEnableExternalConfiguration, isEnableMetrics, isEnablePrettySerializationOutput, isEnableScopePersistence, isEnableScreenTracking, isEnableShutdownHook, isEnableSpanLocalMetricAggregation, isEnableSpotlight, isEnableTimeToFullDisplayTracing, isEnableUncaughtExceptionHandler, isEnableUserInteractionBreadcrumbs, isEnableUserInteractionTracing, isPrintUncaughtStackTrace, isProfilingEnabled, isSendClientReports, isSendDefaultPii, isSendModules, isTraceOptionsRequests, isTraceSampling, isTracingEnabled, merge, setAttachServerName, setAttachStacktrace, setAttachThreads, setBackpressureMonitor, setBeforeBreadcrumb, setBeforeEmitMetricCallback, setBeforeEnvelopeCallback, setBeforeSend, setBeforeSendReplay, setBeforeSendTransaction, setCacheDirPath, setConnectionStatusProvider, setConnectionTimeoutMillis, setCron, setDateProvider, setDebug, setDebugMetaLoader, setDiagnosticLevel, setDist, setDistinctId, setDsn, setEnableAppStartProfiling, setEnableAutoSessionTracking, setEnableBackpressureHandling, setEnabled, setEnableDeduplication, setEnableDefaultTagsForMetrics, setEnableExternalConfiguration, setEnableMetrics, setEnablePrettySerializationOutput, setEnableScopePersistence, setEnableScreenTracking, setEnableShutdownHook, setEnableSpanLocalMetricAggregation, setEnableSpotlight, setEnableTimeToFullDisplayTracing, setEnableTracing, setEnableUncaughtExceptionHandler, setEnableUserInteractionBreadcrumbs, setEnableUserInteractionTracing, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setExecutorService, setFlushTimeoutMillis, setFullyDisplayedReporter, setGestureTargetLocators, setIdleTimeout, setIgnoredCheckIns, setInstrumenter, setLogger, setMainThreadChecker, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxDepth, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setMaxTraceFileSize, setModulesLoader, setPrintUncaughtStackTrace, setProfilesSampler, setProfilesSampleRate, setProfilingEnabled, setProfilingTracesHz, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setReplayController, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSendModules, setSentryClientName, setSerializer, setServerName, setSessionFlushTimeoutMillis, setSessionTrackingIntervalMillis, setShutdownTimeout, setShutdownTimeoutMillis, setSpotlightConnectionUrl, setSslSocketFactory, setTag, setTraceOptionsRequests, setTracePropagationTargets, setTraceSampling, setTracesSampler, setTracesSampleRate, setTracingOrigins, setTransactionPerformanceCollector, setTransactionProfiler, setTransportFactory, setTransportGate, 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
-
getGraphql
-
setGraphql
-