Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ This integration only works inside server environments (Node.js, Bun, Deno).

</Alert>

<Include name="platforms/configuration/integrations/requestdata-v11-alert" />

_Import name: `Sentry.requestDataIntegration`_

This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ By default, Sentry sends the size of the body content of incoming HTTP requests.
If `sendDefaultPii` is enabled, you can send Form Data with `captureActionFormDataKeys` in the Remix <PlatformLink to="/manual-setup/#server-side-configuration">server-side configuration</PlatformLink>.
</PlatformSection>

<PlatformSection notSupported={["javascript", "javascript.angular", "javascript.capacitor", "javascript.cordova", "javascript.ember", "javascript.gatsby", "javascript.react", "javascript.solid", "javascript.svelte", "javascript.vue", "javascript.wasm"]}>

## Server-Side Request Data

On the server-side, the <PlatformLink to="/configuration/integrations/requestdata/">RequestData Integration</PlatformLink> captures incoming request data including cookies, headers, query strings, request body (`data`), URL, and user information. By default, most of these fields are captured (except IP address).

<Include name="platforms/configuration/integrations/requestdata-v11-alert" />

</PlatformSection>

## Response Body

By default, the Sentry SDK doesn't send the body content of responses received from outgoing requests. By default, the SDK will send the response body size based on the `content-length` header.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Alert level="warning" title="Upcoming Changes in v11">

In version 11, the default behavior of the RequestData integration will likely change to be more privacy-conscious. Fields like `cookies`, `data`, `headers`, `query_string`, and `user` will default to `false` instead of `true`. To continue capturing this data after upgrading to v11, you'll need to either explicitly configure the <PlatformLink to="/configuration/integrations/requestdata/">RequestData Integration</PlatformLink> or set <PlatformLink to="/configuration/options/#sendDefaultPii">`sendDefaultPii: true`</PlatformLink>.

</Alert>