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
Auto-generated from external SDK content. Review all links and code suggestions before acting on them.
cc @getsentry/docs
Summary
The Node.js SDK is migrating from the boolean sendDefaultPii option to a new, granular dataCollection object. The skill currently documents only sendDefaultPii and needs comprehensive updates across multiple sections.
What Changed
PR #20965 (2026-05-18) introduced the dataCollection client option per the SDK spec. Multiple follow-up PRs have migrated various subsystems:
PR #21100: Node-core request handling
PR #21247: AI integrations (OpenAI, Anthropic, LangChain, etc.)
Init examples (lines 172-206, 386-397, 484-499) — all show sendDefaultPii: true; should demonstrate dataCollection with explanation of granular controls
Config reference table (line 739) — add dataCollection row with link to spec; note sendDefaultPii is now a legacy fallback
AI monitoring recommendations (lines 112, 126, 655) — mention dataCollection.genAI as preferred over sendDefaultPii for AI integrations
Cross-reference — the sentry-setup-ai-monitoring skill also needs updating (out of scope for this issue)
Why Manual Review Required
Affects 10+ code examples and configuration tables
Migration guidance and backward-compatibility notes need careful wording
Official spec (linked above) should be reviewed for accuracy
Ongoing migration effort — docs may still be evolving
Related skills affected: sentry-setup-ai-monitoring, sentry-bun-sdk, sentry-deno-sdk
Warning
Auto-generated from external SDK content. Review all links and code suggestions before acting on them.
cc @getsentry/docs
Summary
The Node.js SDK is migrating from the boolean
sendDefaultPiioption to a new, granulardataCollectionobject. The skill currently documents onlysendDefaultPiiand needs comprehensive updates across multiple sections.What Changed
PR #20965 (2026-05-18) introduced the
dataCollectionclient option per the SDK spec. Multiple follow-up PRs have migrated various subsystems:New API Structure
Precedence: explicit integration options >
dataCollection>sendDefaultPii(fallback) > falseSkill Sections Needing Updates
sendDefaultPii: true; should demonstratedataCollectionwith explanation of granular controlsdataCollectionrow with link to spec; notesendDefaultPiiis now a legacy fallbackdataCollection.genAIas preferred oversendDefaultPiifor AI integrationssentry-setup-ai-monitoringskill also needs updating (out of scope for this issue)Why Manual Review Required
sentry-setup-ai-monitoring,sentry-bun-sdk,sentry-deno-sdkReviewed PRs
dataCollectionclient optionsendDefaultPiitodataCollectiondataCollectionoptiondataCollectionsendDefaultPiiin nitro, nuxt, sveltekit, astro todataCollection