Skip to content

docs(js): fix httpHeaders dataCollection examples - #19234

Open
vianmangal wants to merge 1 commit into
getsentry:masterfrom
vianmangal:fix/18685-http-headers-example
Open

docs(js): fix httpHeaders dataCollection examples#19234
vianmangal wants to merge 1 commit into
getsentry:masterfrom
vianmangal:fix/18685-http-headers-example

Conversation

@vianmangal

Copy link
Copy Markdown

DESCRIBE YOUR PR

Fixes #18685.

Updates JavaScript dataCollection.httpHeaders examples to use the supported nested request and response shape. The correction covers the configuration reference, data-management guide, HttpClient integration guide, and SDK foundation examples so nearby examples do not keep suggesting the invalid flat shape.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

VERIFICATION

  • Compiled all four changed files with @mdx-js/mdx
  • Confirmed no flat httpHeaders: true, httpHeaders: false, httpHeaders: { allow: ... }, or httpHeaders: { deny: ... } examples remain in the JavaScript and SDK foundation docs
  • git diff --check passes

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 supplied a deadline.

Thanks in advance for your help!

PRE-MERGE CHECKLIST

  • 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

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

AI ASSISTANCE

I used Codex to identify related invalid examples and run repository checks. I reviewed the resulting diff and verification output.

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

@vianmangal is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the sdk-develop-docs PRs touching develop-docs/sdk label Sep 2, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team September 2, 2026 11:50
@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dataCollection docs example uses wrong shape for httpHeaders

1 participant