Sentry Options
Sentry options that can be used to configure the SDK.
Types
Experimental options for new features, these options are going to be promoted to SentryOptions before GA.
Properties
Sets the timeout interval in milliseconds for considering an application as not responding (ANR).
Defines the timeout interval in milliseconds for detecting App Hangs.
Enables/Disables capturing screenshots before an error. Available on iOS and Android.
When enabled, stack traces are automatically attached to all threads logged. Stack traces are always attached to exceptions but when this is set stack traces are also sent with threads. If no threads are logged, we log the current thread automatically.
When enabled, all the threads are automatically attached to all logged events.
Enables or disables the attach view hierarchy feature when an error happened. This is only available on iOS and Android.
Hook that is triggered before a breadcrumb is sent to Sentry
Hook that is triggered before an event is sent to Sentry
Sets the minimum log level. Default is SentryLevel.DEBUG
Controls the tracking of App Hangs capturing moments when the application becomes unresponsive for a set duration.
Whether to enable or disable automatic session tracking.
Enables or disables the feature to automatically capture HTTP client errors. This is enabled by default.
Whether to enable Watchdog Termination tracking or not.
Sets the environment. This string is freeform and not set by default. A release can be associated with more than one environment to separate them in the UI Think staging vs prod or similar.
Experimental options for new features, these options are going to be promoted to SentryOptions before GA.
A list of HTTP status code ranges indicating which client errors should be captured as errors.
A list of HTTP request targets indicating which client errors should be captured as errors with either regex or a plain string.
Enables or disables ANR (Application Not Responding) tracking.
This variable controls the max attachment size in bytes
This variable controls the total amount of breadcrumbs that should be captured. Default is 100.
Configures the sample rate as a percentage of events to be sent in the range of 0.0 to 1.0. if 1.0 is set it means that 100% of events are sent. If set to 0.1 only 10% of events will be sent. Events are picked randomly. Default is null (disabled)
Information about the Sentry SDK that generated this event.
The options for session replay. Currently available for Android and iOS.
The session tracking interval in millis. This is the interval to end a session if the App goes to the background.
Configures the sample rate as a percentage of transactions to be sent in the range of 0.0 to 1.0. if 1.0 is set it means that 100% of transactions are sent. If set to 0.1 only 10% of transactions will be sent. Transactions are picked randomly. Default is null (disabled)