diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 2d24060910b97..19385467ec742 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -349,18 +349,7 @@ A list of exception types that will be filtered out before sending to Sentry. - - -This parameter controls if integrations should capture HTTP request bodies. It can be set to one of the following values: - -- `never`: request bodies are never sent -- `small`: only small request bodies will be captured where the cutoff for small depends on the SDK (typically 4KB) -- `medium`: medium and small requests will be captured (typically 10KB) -- `always`: the SDK will always capture the request body for as long as Sentry can make sense of it - - - - + This parameter controls whether integrations should capture HTTP request bodies. It can be set to one of the following values: @@ -377,12 +366,6 @@ The number of characters after which the values containing text in the event pay - - -When enabled, local variables are sent along with stackframes. This can have a performance and PII impact. Enabled by default on platforms where this is available. - - - A path to an alternative CA bundle file in PEM-format. @@ -405,6 +388,22 @@ The number of context lines for each frame when loading a file. + + +#### Deprecated + +Has been renamed to [max_request_body_size](/platforms/python/configuration/options/#max-request-body-size). + + + + + +#### Deprecated + +Has been renamed to [include_local_variables](/platforms/python/configuration/options/#include-local-variables). + + + Data to be set to the initial scope. Initial scope can be defined either as an object or a callback function, as shown below. diff --git a/src/platforms/python/common/data-collected.mdx b/src/platforms/python/common/data-collected.mdx index 0584f53eda5f0..987342ccb21b0 100644 --- a/src/platforms/python/common/data-collected.mdx +++ b/src/platforms/python/common/data-collected.mdx @@ -48,9 +48,9 @@ The request body of incoming HTTP requests can be sent to Sentry. Whether it's s -JSON and form bodies are sent -Raw request bodies are always removed -Uploaded files in the request bodies are never sent to Sentry -- **The size of the request body:** There's a ["request_bodies"](/platforms/python/configuration/options/#request-bodies) option that's set to `medium` by default. This means that larger request bodies aren't sent to Sentry. +- **The size of the request body:** There's a ["max_request_body_size"](/platforms/python/configuration/options/#max-request-body-size) option that's set to `medium` by default. This means that larger request bodies aren't sent to Sentry. -If you want to prevent bodies from being sent to Sentry altogether, set `request_bodies` to `"never"`. +If you want to prevent bodies from being sent to Sentry altogether, set `max_request_body_size` to `"never"`. ## Source Context