Skip to content

Commit 2f5ca7c

Browse files
authored
docs(javascript): Change default value for maxValueLength (#15349)
## DESCRIBE YOUR PR PR getsentry/sentry-javascript#18043 removed the default value of `maxValueLength` part of getsentry/sentry-javascript#17389 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs)
1 parent 48242a9 commit 2f5ca7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Sentry.init({
136136

137137
</SdkOption>
138138

139-
<SdkOption name="maxValueLength" type='number' defaultValue='250'>
139+
<SdkOption name="maxValueLength" type='number'>
140140

141141
Maximum number of characters every string property on events sent to Sentry can have before it will be truncated.
142142

docs/platforms/javascript/common/troubleshooting/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For more details, see the [full documentation on Event Payload](https://develop.
5757

5858
<Expandable permalink title="Max JSON payload size">
5959

60-
`maxValueLength` has a default value of 250, but you can adjust this value according to your needs if your messages are longer. Please note that not every single value is affected by this option.
60+
By default, `maxValueLength` is undefined and nothing is truncated, but you can change this value according to your needs if your messages are longer (for example, to `250`). Please note that not every single value is affected by this option.
6161

6262
</Expandable>
6363

0 commit comments

Comments
 (0)