From one switch to a control panel: meet `dataCollection`
Blog post from Sentry
Sentry is replacing the deprecated boolean `sendDefaultPii` option with the more granular `dataCollection` configuration across its SDKs, beginning with JavaScript SDK version 11, where the new setting becomes the default. Unlike the prior all-or-nothing switch, `dataCollection` lets developers independently control categories such as user information, cookies, HTTP headers and bodies, query parameters, GenAI inputs and outputs, and database query data, with allowlists and denylists available for certain key-value fields. JavaScript v11 defaults collect substantially more data than v10 configurations with `sendDefaultPii` disabled, including user information, cookies, complete truncated HTTP bodies, GenAI content, and database query data, although sensitive credentials remain automatically filtered or excluded. Developers upgrading from `sendDefaultPii: true` can generally remove the old setting, while those relying on v10’s restrictive defaults must explicitly configure `dataCollection` to preserve them. The update also clarifies that manually attached data is still sent regardless of automatic collection settings, and recommends `beforeSend`, `beforeSendSpan`, and `ignoreSpans` for custom redaction or span filtering as v11 enables span streaming by default.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 2 | 4,432 | 1,050 | 222 | -31% |
| Secrets Management | 1 | 2,244 | 480 | 132 | -13% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.