Package io.sentry.spring.boot
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
SentryProperties.Logging
-
Nested classes/interfaces inherited from class io.sentry.SentryOptions
io.sentry.SentryOptions.BeforeBreadcrumbCallback, io.sentry.SentryOptions.BeforeSendCallback, io.sentry.SentryOptions.ProfilesSamplerCallback, io.sentry.SentryOptions.Proxy, io.sentry.SentryOptions.RequestSize, io.sentry.SentryOptions.TracesSamplerCallback
-
-
Constructor Summary
Constructors Constructor Description SentryProperties()
-
Method Summary
All Methods Instance Methods Concrete 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
isUseGitCommitIdAsRelease()
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
addContextTag, addEventProcessor, addIgnoredExceptionForType, addInAppExclude, addInAppInclude, addIntegration, addScopeObserver, addTracingOrigin, getBeforeBreadcrumb, getBeforeSend, getCacheDirPath, getClientReportRecorder, getConnectionTimeoutMillis, getContextTags, getDiagnosticLevel, getDist, getDistinctId, getDsn, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getExecutorService, getFlushTimeoutMillis, getHostnameVerifier, getIdleTimeout, getIgnoredExceptionsForType, getInAppExcludes, getInAppIncludes, getIntegrations, getLogger, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxDepth, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getMaxTraceFileSize, getOutboxPath, getProfilesSampler, getProfilesSampleRate, getProfilingTracesDirPath, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getSampleRate, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionTrackingIntervalMillis, getShutdownTimeout, getShutdownTimeoutMillis, getSslSocketFactory, getTags, getTracePropagationTargets, getTracesSampler, getTracesSampleRate, getTracingOrigins, getTransactionProfiler, getTransportFactory, getTransportGate, isAttachServerName, isAttachStacktrace, isAttachThreads, isDebug, isEnableAutoSessionTracking, isEnableDeduplication, isEnableExternalConfiguration, isEnableNdk, isEnableScopeSync, isEnableShutdownHook, isEnableUncaughtExceptionHandler, isPrintUncaughtStackTrace, isProfilingEnabled, isSendClientReports, isSendDefaultPii, isTraceSampling, isTracingEnabled, merge, setAttachServerName, setAttachStacktrace, setAttachThreads, setBeforeBreadcrumb, setBeforeSend, setCacheDirPath, setConnectionTimeoutMillis, setDebug, setDiagnosticLevel, setDist, setDistinctId, setDsn, setEnableAutoSessionTracking, setEnableDeduplication, setEnableExternalConfiguration, setEnableNdk, setEnableScopeSync, setEnableShutdownHook, setEnableUncaughtExceptionHandler, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setFlushTimeoutMillis, setHostnameVerifier, setIdleTimeout, setLogger, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxDepth, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setMaxTraceFileSize, setPrintUncaughtStackTrace, setProfilesSampler, setProfilesSampleRate, setProfilingEnabled, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSentryClientName, setSerializer, setServerName, setSessionTrackingIntervalMillis, setShutdownTimeout, setShutdownTimeoutMillis, setSslSocketFactory, setTag, setTracePropagationTargets, setTraceSampling, setTracesSampler, setTracesSampleRate, setTracingOrigins, setTransactionProfiler, setTransportFactory, setTransportGate
-
-
-
-
Method Detail
-
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 java.lang.Integer getUserFilterOrder()
-
setUserFilterOrder
public void setUserFilterOrder(@Nullable @Nullable java.lang.Integer userFilterOrder)
-
getLogging
@NotNull public @NotNull SentryProperties.Logging getLogging()
-
setLogging
public void setLogging(@NotNull @NotNull SentryProperties.Logging logging)
-
-