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.SentryOptionsConfiguration for Sentry integration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSentryProperties.Logging
-
Constructor Summary
Constructors Constructor Description SentryProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExceptionResolverOrder()Returns the order used for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.@NotNull SentryProperties.LogginggetLogging()@Nullable java.lang.IntegergetUserFilterOrder()booleanisUseGitCommitIdAsRelease()voidsetExceptionResolverOrder(int exceptionResolverOrder)Sets the order to use for Spring SentryExceptionResolver, which determines whether all web exceptions are reported, or only uncaught exceptions.voidsetLogging(@NotNull SentryProperties.Logging logging)voidsetUseGitCommitIdAsRelease(boolean useGitCommitIdAsRelease)voidsetUserFilterOrder(@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, getProfilingTracesDirPath, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getSampleRate, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionTrackingIntervalMillis, getShutdownTimeout, getShutdownTimeoutMillis, getSslSocketFactory, getTags, 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, setProfilingEnabled, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSentryClientName, setSerializer, setServerName, setSessionTrackingIntervalMillis, setShutdownTimeout, setShutdownTimeoutMillis, setSslSocketFactory, setTag, setTraceSampling, setTracesSampler, setTracesSampleRate, 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)
-
-