Skip to content

feat(remix): Migrate sendDefaultPii to dataCollection#21248

Draft
chargome wants to merge 1 commit into
developfrom
cg/datacollection-remix
Draft

feat(remix): Migrate sendDefaultPii to dataCollection#21248
chargome wants to merge 1 commit into
developfrom
cg/datacollection-remix

Conversation

@chargome
Copy link
Copy Markdown
Member

Replaces all sendDefaultPii usage in the Remix package with the new dataCollection option:

  • instrumentServer.ts: Passes client.getDataCollectionOptions() to httpHeadersToSpanAttributes
  • errors.ts: Gates action form data capture on dataCollection.httpBodies.includes('incomingRequest')
  • opentelemetry.ts: Gates OTel form data attributes on dataCollection.httpBodies.includes('incomingRequest')

The Remix-specific captureActionFormDataKeys option is preserved — only the gating mechanism changes.

closes #20933

@chargome chargome self-assigned this May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(remix): Migrate remix to dataCollection

1 participant