You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AbhiPrasad
changed the title
[Node] Add maxRequestBodySize to SentryHtttpIntegration
[Node] Add maxRequestBodySize to SentryHttpIntegration
May 1, 2025
Adds `maxIncomingRequestBodySize` to the Node `httpIntegration`.
The setting controls the maximum size of HTTP request bodies attached to
events.
There is the option `maxRequestBodySize`
([docs](https://develop.sentry.dev/sdk/expected-features/#attaching-request-body-in-server-sdks))
in other SDKs, but to be more specific, this is named with `incoming`.
Available options:
- 'none': No request bodies will be attached
- 'small': Request bodies up to 1,000 bytes will be attached
- 'medium': Request bodies up to 10,000 bytes will be attached (default)
- 'always': Request bodies will always be attached (up to 1 MB)
closes#16179
Description
Adding the option to limit the body size like described here: https://develop.sentry.dev/sdk/expected-features/#attaching-request-body-in-server-sdks
This should also be documented in "Data Collected": https://docs.sentry.io/platforms/javascript/data-management/data-collected/
The text was updated successfully, but these errors were encountered: