From 98a28a7fb48117797e3c303c8251337fcd1398e9 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Wed, 16 Mar 2022 11:13:16 -0700 Subject: [PATCH 1/3] add `normalizeMaxBreadth` option --- src/platforms/common/configuration/options.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 5d566f65d06a9..9d7a58bf117b6 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -352,7 +352,13 @@ Maximum number of characters a single value can have before it will be truncated -Sentry SDKs normalize any contextual data to a given depth. Any keys containing data with a structure deeper than this will be trimmed and marked using its type instead (`[Object]` or `[Array]`), without walking the tree any further. By default, walking is performed `3` levels deep. +Sentry SDKs normalize any contextual data to a given depth. Any data beyond this depth will be trimmed and marked using its type instead (`[Object]` or `[Array]`), without walking the tree any further. By default, walking is performed `3` levels deep. + + + + + +This is the maximum number of properties or entries which will be included in any given object or array when the SDK is normalizing contextual data. Any data beyond this depth will be dropped. (defaults to 1000) From 1c57ee984c89fb1f3480056deeae164f2676eedf Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Thu, 17 Mar 2022 15:03:55 -0700 Subject: [PATCH 2/3] apply code review suggestions --- src/platforms/common/configuration/options.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 9d7a58bf117b6..2d3be494ae29e 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -352,13 +352,13 @@ Maximum number of characters a single value can have before it will be truncated -Sentry SDKs normalize any contextual data to a given depth. Any data beyond this depth will be trimmed and marked using its type instead (`[Object]` or `[Array]`), without walking the tree any further. By default, walking is performed `3` levels deep. +Sentry SDKs normalize any contextual data to a given depth. Any data beyond this depth will be trimmed and marked using its type instead (`[Object]` or `[Array]`), without walking the tree any further. By default, walking is performed three levels deep. - + -This is the maximum number of properties or entries which will be included in any given object or array when the SDK is normalizing contextual data. Any data beyond this depth will be dropped. (defaults to 1000) +This is the maximum number of properties or entries that will be included in any given object or array when the SDK is normalizing contextual data. Any data beyond this depth will be dropped. (defaults to 1000) From d09bb974f12d393415116485300cd716fa68eaf8 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Tue, 22 Mar 2022 14:12:19 -0700 Subject: [PATCH 3/3] code review fixes --- src/platforms/common/configuration/options.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platforms/common/configuration/options.mdx b/src/platforms/common/configuration/options.mdx index 2d3be494ae29e..66b77ac92a965 100644 --- a/src/platforms/common/configuration/options.mdx +++ b/src/platforms/common/configuration/options.mdx @@ -356,7 +356,9 @@ Sentry SDKs normalize any contextual data to a given depth. Any data beyond this - + + +_(New in version 6.19.1)_ This is the maximum number of properties or entries that will be included in any given object or array when the SDK is normalizing contextual data. Any data beyond this depth will be dropped. (defaults to 1000)