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 ClassesNested classes/interfaces inherited from class io.sentry.SentryOptions
io.sentry.SentryOptions.BeforeBreadcrumbCallback, io.sentry.SentryOptions.BeforeSendCallback, io.sentry.SentryOptions.BeforeSendTransactionCallback, io.sentry.SentryOptions.ProfilesSamplerCallback, io.sentry.SentryOptions.Proxy, io.sentry.SentryOptions.RequestSize, io.sentry.SentryOptions.TracesSamplerCallback -
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.Logging@Nullable IntegerbooleanvoidsetExceptionResolverOrder(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 Integer userFilterOrder) Methods inherited from class io.sentry.SentryOptions
addCollector, addContextTag, addEventProcessor, addIgnoredExceptionForType, addInAppExclude, addInAppInclude, addIntegration, addScopeObserver, addTracingOrigin, getBeforeBreadcrumb, getBeforeSend, getBeforeSendTransaction, getCacheDirPath, getClientReportRecorder, getCollectors, getConnectionTimeoutMillis, getContextTags, getDateProvider, getDiagnosticLevel, getDist, getDistinctId, getDsn, getEnvelopeDiskCache, getEnvelopeReader, getEnvironment, getEventProcessors, getExecutorService, getFlushTimeoutMillis, getFullDisplayedReporter, getGestureTargetLocators, getHostnameVerifier, getIdleTimeout, getIgnoredExceptionsForType, getInAppExcludes, getInAppIncludes, getInstrumenter, getIntegrations, getLogger, getMainThreadChecker, getMaxAttachmentSize, getMaxBreadcrumbs, getMaxCacheItems, getMaxDepth, getMaxQueueSize, getMaxRequestBodySize, getMaxSpans, getMaxTraceFileSize, getModulesLoader, getOutboxPath, getProfilesSampler, getProfilesSampleRate, getProfilingTracesDirPath, getProguardUuid, getProxy, getReadTimeoutMillis, getRelease, getSampleRate, getSdkVersion, getSentryClientName, getSerializer, getServerName, getSessionTrackingIntervalMillis, getShutdownTimeout, getShutdownTimeoutMillis, getSslSocketFactory, getTags, getTracePropagationTargets, getTracesSampler, getTracesSampleRate, getTracingOrigins, getTransactionPerformanceCollector, getTransactionProfiler, getTransportFactory, getTransportGate, isAttachServerName, isAttachStacktrace, isAttachThreads, isDebug, isEnableAutoSessionTracking, isEnableDeduplication, isEnableExternalConfiguration, isEnableNdk, isEnableScopeSync, isEnableShutdownHook, isEnableTimeToFullDisplayTracing, isEnableUncaughtExceptionHandler, isEnableUserInteractionBreadcrumbs, isEnableUserInteractionTracing, isPrintUncaughtStackTrace, isProfilingEnabled, isSendClientReports, isSendDefaultPii, isTraceOptionsRequests, isTraceSampling, isTracingEnabled, merge, setAttachServerName, setAttachStacktrace, setAttachThreads, setBeforeBreadcrumb, setBeforeSend, setBeforeSendTransaction, setCacheDirPath, setConnectionTimeoutMillis, setDateProvider, setDebug, setDiagnosticLevel, setDist, setDistinctId, setDsn, setEnableAutoSessionTracking, setEnableDeduplication, setEnableExternalConfiguration, setEnableNdk, setEnableScopeSync, setEnableShutdownHook, setEnableTimeToFullDisplayTracing, setEnableUncaughtExceptionHandler, setEnableUserInteractionBreadcrumbs, setEnableUserInteractionTracing, setEnvelopeDiskCache, setEnvelopeReader, setEnvironment, setExecutorService, setFlushTimeoutMillis, setGestureTargetLocators, setHostnameVerifier, setIdleTimeout, setInstrumenter, setLogger, setMainThreadChecker, setMaxAttachmentSize, setMaxBreadcrumbs, setMaxCacheItems, setMaxDepth, setMaxQueueSize, setMaxRequestBodySize, setMaxSpans, setMaxTraceFileSize, setModulesLoader, setPrintUncaughtStackTrace, setProfilesSampler, setProfilesSampleRate, setProfilingEnabled, setProguardUuid, setProxy, setReadTimeoutMillis, setRelease, setSampleRate, setSdkVersion, setSendClientReports, setSendDefaultPii, setSentryClientName, setSerializer, setServerName, setSessionTrackingIntervalMillis, setShutdownTimeout, setShutdownTimeoutMillis, setSslSocketFactory, setTag, setTraceOptionsRequests, setTracePropagationTargets, setTraceSampling, setTracesSampler, setTracesSampleRate, setTracingOrigins, setTransactionPerformanceCollector, setTransactionProfiler, setTransportFactory, setTransportGate
-
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
-