-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(JS): Add normalizeMaxBreadth
option
#4844
Conversation
@timfish @marandaneto - FYI for the next time you bump your respective JS SDK dependencies in electron and RN, so you don't forget to add to the |
This limits the number of properties/elements serialized for an object/array, to protect against huge objects being serialized if users inadvertently log them. To control this, a new `normalizeMaxBreadth` option has been added, which defaults to 1000. Documented in getsentry/sentry-docs#4844.
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/sentry/sentry-docs/9JxFSg1zSF1sYB1dBKL12S7aMt8p |
5d75755
to
d09bb97
Compare
This documents the new
normalizeMaxBreadth
option added to JS-based SDKs in getsentry/sentry-javascript#4689, which controls how many properties or entries any given object or array will contain after normalization.Ref: https://getsentry.atlassian.net/browse/WEB-712