diff --git a/docs/platforms/python/configuration/options.mdx b/docs/platforms/python/configuration/options.mdx index 313af05be60ebc..445c0b416a42fb 100644 --- a/docs/platforms/python/configuration/options.mdx +++ b/docs/platforms/python/configuration/options.mdx @@ -16,17 +16,17 @@ Options that can be read from an environment variable (`SENTRY_DSN`, `SENTRY_ENV - The DSN tells the SDK where to send the events. If this option is not set, the SDK will just not send any data. The `dsn` config option takes precedence over the environment variable. Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-utilization). +The DSN tells the SDK where to send the events. If this option is not set, the SDK will just not send any data. The `dsn` config option takes precedence over the environment variable. Learn more about [DSN utilization](/product/sentry-basics/dsn-explainer/#dsn-utilization). - + - Turns debug mode on or off. When `True`, the SDK will attempt to print out debugging information. This can be useful if something goes wrong with event sending. The default is always `False`. It's generally not recommended to turn it on in production because of the increase in log output. +Turns debug mode on or off. When `True`, the SDK will attempt to print out debugging information. This can be useful if something goes wrong with event sending. The default is always `False`. It's generally not recommended to turn it on in production because of the increase in log output. - The `debug` config option takes precedence over the environment variable. +The `debug` config option takes precedence over the environment variable. @@ -48,6 +48,12 @@ The `environment` config option takes precedence over the environment variable. + + +Enable [Sentry Spotlight](https://github.com/getsentry/spotlight). Specify the URL that Spotlight is running on. If set to the boolean `True` the default Spotlight URL `"http://localhost:8969/stream"` is used. + + + The distribution of the application. Distributions are used to disambiguate build or deployment variants of the same release of an application. The dist can be for example a build number. @@ -71,9 +77,9 @@ If this configuration option is specified, the `sample_rate` option is ignored. A list of exception class names that shouldn't be sent to Sentry. Errors that are an instance of these exceptions or a subclass of them, will be filtered out before they're sent to Sentry. - By default, all errors are sent. - +By default, all errors are sent. + @@ -192,6 +198,12 @@ Set this boolean to `False` to disable sending of client reports. Client reports + + +Whether sessions should be automatically recorded and sent to Sentry. + + + ## Integration Configuration @@ -203,6 +215,7 @@ List of integrations to enable in addition to [auto-enabling integrations](/plat List of integrations that will be disabled. This setting can be used to explicitly turn off specific [auto-enabling](/platforms/python/integrations/#available-integrations) or [default](/platforms/python/integrations/default-integrations/) integrations. + @@ -218,6 +231,7 @@ When set to `False`, no auto-enabling integrations will be enabled by default, e Configures whether [default integrations](/platforms/python/integrations/default-integrations/) should be enabled. Setting `default_integrations` to `False` disables all default integrations **as well as all auto-enabling integrations**, unless they are specifically added in the `integrations` option, described above. + ## Hooks @@ -257,14 +271,13 @@ New in SDK version `2.35.0`. Prior to `2.35.0`, this option was experimental. - ## Transport Options Transports are used to send events to Sentry. Transports can be customized to some degree to better support highly specific deployments. - Switches out the transport used to send events. How this works depends on the SDK. It can, for instance, be used to capture events for unit-testing or to send it through some more complex setup that requires proxy authentication. +Switches out the transport used to send events. How this works depends on the SDK. It can, for instance, be used to capture events for unit-testing or to send it through some more complex setup that requires proxy authentication. @@ -432,7 +445,6 @@ A number between `0` and `1`, controlling the percentage chance a given session - ## Logs Options