Package io.sentry
Class ExternalOptions
java.lang.Object
io.sentry.ExternalOptions
Externally bindable properties set on
SentryOptions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBundleId(@NotNull String bundleId) voidaddContextTag(@NotNull String contextTag) voidaddIgnoredExceptionForType(@NotNull Class<? extends Throwable> exceptionType) voidaddInAppExclude(@NotNull String exclude) voidaddInAppInclude(@NotNull String include) voidaddTracePropagationTarget(@NotNull String tracePropagationTarget) static @NotNull ExternalOptionsfrom(@NotNull PropertiesProvider propertiesProvider, @NotNull ILogger logger) getCron()@Nullable BooleangetDebug()@Nullable StringgetDist()@Nullable StringgetDsn()@Nullable Boolean@Nullable Boolean@Nullable String@Nullable Long@Nullable Boolean@Nullable ProfileLifecycle@Nullable Double@Nullable Double@Nullable String@Nullable StringgetProxy()@Nullable String@Nullable Boolean@Nullable String@Nullable StringgetTags()@Nullable Double@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable Boolean@Nullable BooleanvoidsetCaptureOpenTelemetryEvents(@Nullable Boolean captureOpenTelemetryEvents) voidsetCron(SentryOptions.Cron cron) voidvoidvoidvoidsetEnableBackpressureHandling(@Nullable Boolean enableBackpressureHandling) voidsetEnabled(@Nullable Boolean enabled) voidsetEnableDeduplication(@Nullable Boolean enableDeduplication) voidsetEnableLogs(@Nullable Boolean enableLogs) voidsetEnablePrettySerializationOutput(@Nullable Boolean enablePrettySerializationOutput) voidsetEnableSpotlight(@Nullable Boolean enableSpotlight) voidsetEnableUncaughtExceptionHandler(@Nullable Boolean enableUncaughtExceptionHandler) voidsetEnvironment(@Nullable String environment) voidsetForceInit(@Nullable Boolean forceInit) voidsetGlobalHubMode(@Nullable Boolean globalHubMode) voidsetIdleTimeout(@Nullable Long idleTimeout) voidsetIgnoredCheckIns(@Nullable List<String> ignoredCheckIns) voidsetIgnoredErrors(@Nullable List<String> ignoredErrors) voidsetIgnoredTransactions(@Nullable List<String> ignoredTransactions) voidsetMaxRequestBodySize(SentryOptions.RequestSize maxRequestBodySize) voidsetPrintUncaughtStackTrace(@Nullable Boolean printUncaughtStackTrace) voidsetProfileLifecycle(@Nullable ProfileLifecycle profileLifecycle) voidsetProfileSessionSampleRate(@Nullable Double profileSessionSampleRate) voidsetProfilesSampleRate(@Nullable Double profilesSampleRate) voidsetProfilingTracesDirPath(@Nullable String profilingTracesDirPath) voidsetProguardUuid(@Nullable String proguardUuid) voidsetProxy(SentryOptions.Proxy proxy) voidsetRelease(@Nullable String release) voidsetSendClientReports(@Nullable Boolean sendClientReports) voidsetSendDefaultPii(@Nullable Boolean sendDefaultPii) voidsetSendModules(@Nullable Boolean sendModules) voidsetServerName(@Nullable String serverName) voidsetSpotlightConnectionUrl(@Nullable String spotlightConnectionUrl) voidvoidsetTracesSampleRate(@Nullable Double tracesSampleRate)
-
Constructor Details
-
ExternalOptions
public ExternalOptions()
-
-
Method Details
-
from
@NotNull public static @NotNull ExternalOptions from(@NotNull @NotNull PropertiesProvider propertiesProvider, @NotNull @NotNull ILogger logger) -
getDsn
-
setDsn
-
getEnvironment
-
setEnvironment
-
getRelease
-
setRelease
-
getDist
-
setDist
-
getServerName
-
setServerName
-
getEnableUncaughtExceptionHandler
-
setEnableUncaughtExceptionHandler
public void setEnableUncaughtExceptionHandler(@Nullable @Nullable Boolean enableUncaughtExceptionHandler) -
getTracePropagationTargets
-
getDebug
-
setDebug
-
getEnableDeduplication
-
setEnableDeduplication
-
getTracesSampleRate
-
setTracesSampleRate
-
getProfilesSampleRate
-
setProfilesSampleRate
-
getMaxRequestBodySize
-
setMaxRequestBodySize
-
getTags
-
getProxy
-
setProxy
-
getInAppExcludes
-
getInAppIncludes
-
getContextTags
-
getProguardUuid
-
setProguardUuid
-
getIgnoredExceptionsForType
-
addInAppInclude
-
addInAppExclude
-
addTracePropagationTarget
-
addContextTag
-
addIgnoredExceptionForType
-
setTag
-
getPrintUncaughtStackTrace
-
setPrintUncaughtStackTrace
-
getIdleTimeout
-
setIdleTimeout
-
getIgnoredErrors
-
setIgnoredErrors
-
getSendClientReports
-
setSendClientReports
-
getBundleIds
-
addBundleId
-
isEnabled
-
setEnabled
-
isEnablePrettySerializationOutput
-
setEnablePrettySerializationOutput
public void setEnablePrettySerializationOutput(@Nullable @Nullable Boolean enablePrettySerializationOutput) -
isSendModules
-
setSendModules
-
isSendDefaultPii
-
setSendDefaultPii
-
setIgnoredCheckIns
-
getIgnoredCheckIns
-
setIgnoredTransactions
-
getIgnoredTransactions
-
setEnableBackpressureHandling
@Experimental public void setEnableBackpressureHandling(@Nullable @Nullable Boolean enableBackpressureHandling) -
isEnableBackpressureHandling
-
setGlobalHubMode
-
isGlobalHubMode
-
setForceInit
-
isForceInit
-
getCron
-
setCron
-
setEnableSpotlight
-
isEnableSpotlight
-
getSpotlightConnectionUrl
-
setSpotlightConnectionUrl
@Experimental public void setSpotlightConnectionUrl(@Nullable @Nullable String spotlightConnectionUrl) -
setCaptureOpenTelemetryEvents
@Experimental public void setCaptureOpenTelemetryEvents(@Nullable @Nullable Boolean captureOpenTelemetryEvents) -
isCaptureOpenTelemetryEvents
-
setEnableLogs
-
isEnableLogs
-
getProfileSessionSampleRate
-
setProfileSessionSampleRate
-
getProfilingTracesDirPath
-
setProfilingTracesDirPath
-
getProfileLifecycle
-
setProfileLifecycle
-