René's URL Explorer Experiment


Title: fix(core): Fix and add missing cache attributes in Vercel AI by RulaKhaled · Pull Request #17982 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Fix and add missing cache attributes in Vercel AI by RulaKhaled · Pull Request #17982 · getsentry/sentry-javascript

X Title: fix(core): Fix and add missing cache attributes in Vercel AI by RulaKhaled · Pull Request #17982 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: With the relay now handling cache token attributes (instead of scrubbing them), some Anthropic related token attributes were still missing. This PR adds the missing cache attributes and corrects th...

X Description: With the relay now handling cache token attributes (instead of scrubbing them), some Anthropic related token attributes were still missing. This PR adds the missing cache attributes and corrects th...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/17982

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f2e358dc-bbdc-04d9-ea1e-ccfde2f4b922
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88BE:88449:14F3EE:1C9C36:6B04B236
html-safe-noncec8dfd7a8565ee95ce13a2cfcfab39ee65259794b3270c134bf00f3313c0eee52
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEJFOjg4NDQ5OjE0RjNFRToxQzlDMzY6NkIwNEIyMzYiLCJ2aXNpdG9yX2lkIjoiMzk2MjM2Mzc1NDc4Nzk0Mjk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac195dab96a2402abe0b3bc2537b95a39fe6ee52ed6370abe6b2f6de654071984e
hovercard-subject-tagpull_request:2933205079
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/17982/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2624a2820d9a28cc0f245de4108da9810b13cdca78fb44e3eecfdebab3e59e78/getsentry/sentry-javascript/pull/17982
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2624a2820d9a28cc0f245de4108da9810b13cdca78fb44e3eecfdebab3e59e78/getsentry/sentry-javascript/pull/17982
og:image:altWith the relay now handling cache token attributes (instead of scrubbing them), some Anthropic related token attributes were still missing. This PR adds the missing cache attributes and corrects th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRulaKhaled
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/17982#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17982
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17982
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17982
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17982
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17982
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests49 (49)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
rolaabuhasna/js-1035-vercelai-instrumentation-missing-cached-token-usage-datahttps://github.com/getsentry/sentry-javascript/tree/rolaabuhasna/js-1035-vercelai-instrumentation-missing-cached-token-usage-data
Conversationhttps://github.com/getsentry/sentry-javascript/pull/17982
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/17982/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/17982/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/17982/files
fix(core): Fix and add missing cache attributes in Vercel AIhttps://github.com/getsentry/sentry-javascript/pull/17982#top
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
rolaabuhasna/js-1035-vercelai-instrumentation-missing-cached-token-usage-datahttps://github.com/getsentry/sentry-javascript/tree/rolaabuhasna/js-1035-vercelai-instrumentation-missing-cached-token-usage-data
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#issue-3536343544
#17890https://github.com/getsentry/sentry-javascript/issues/17890
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/RulaKhaled
fix(core): Fix and add cache attributes in Vercel AIhttps://github.com/getsentry/sentry-javascript/pull/17982/commits/a6bccebc50d9708df33c9f27d81d78b13f516c8e
a6bccebhttps://github.com/getsentry/sentry-javascript/pull/17982/commits/a6bccebc50d9708df33c9f27d81d78b13f516c8e
https://github.com/apps/linear
linearhttps://github.com/apps/linear
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#issuecomment-3426372867
JS-1035 VercelAI instrumentation missing cached token usage datahttps://linear.app/getsentry/issue/JS-1035/vercelai-instrumentation-missing-cached-token-usage-data
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#ref-issue-3497563229
VercelAI instrumentation missing cached token usage data #17890 https://github.com/getsentry/sentry-javascript/issues/17890
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
October 21, 2025 12:39https://github.com/getsentry/sentry-javascript/pull/17982#event-20403566342
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
JPeer264https://github.com/JPeer264
s1gr1dhttps://github.com/s1gr1d
October 21, 2025 12:39https://github.com/getsentry/sentry-javascript/pull/17982#event-20403570480
https://github.com/apps/seer-by-sentry
seer-by-sentryhttps://github.com/apps/seer-by-sentry
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#pullrequestreview-3360439282
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17982/files/a6bccebc50d9708df33c9f27d81d78b13f516c8e
packages/core/src/utils/vercel-ai/index.tshttps://github.com/getsentry/sentry-javascript/pull/17982/files/a6bccebc50d9708df33c9f27d81d78b13f516c8e#diff-c1d16200c7a833bf40d483215aa6e1e022ddf29ba3a287117da4cf474cde94d5
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/apps/cursor
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17982
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/RulaKhaled
nice catch cursorhttps://github.com/getsentry/sentry-javascript/pull/17982/commits/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea
b72f770https://github.com/getsentry/sentry-javascript/pull/17982/commits/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea
https://github.com/JPeer264
JPeer264https://github.com/JPeer264
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#pullrequestreview-3360560743
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17982/files/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea
packages/core/src/utils/vercel-ai/vercel-ai-attributes.tshttps://github.com/getsentry/sentry-javascript/pull/17982/files/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea#diff-56c856ec40314d7310629c9e1111003fc81d4fde8a68cf7ce3aef6b7f110a076
JPeer264https://github.com/JPeer264
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#discussion_r2448152851
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
RulaKhaledhttps://github.com/RulaKhaled
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#discussion_r2448240491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://private-user-images.githubusercontent.com/91732700/503680661-e37a77f5-27ce-41de-a6b1-c7b12c07463a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NzAxODAsIm5iZiI6MTc5NTQ2OTg4MCwicGF0aCI6Ii85MTczMjcwMC81MDM2ODA2NjEtZTM3YTc3ZjUtMjdjZS00MWRlLWE2YjEtYzdiMTJjMDc0NjNhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDIxMzgwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkYjE1NWY1OTg4NmRiM2UwMWU4OWMxNGZhMzZkYWRhNmRiNDY5MjRiMTk0YzczNmJiMzI3OTZiNjkzYzBiNGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Ppb0GVUeSjKTfjqvihyALqdjS5OA8_f4rr1TFbp-fDU
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/JPeer264
JPeer264https://github.com/JPeer264
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#pullrequestreview-3360561413
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17982/files/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#issuecomment-3426512716
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/18680294637
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#issuecomment-3426522322
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/18680294637
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
75f68c7https://github.com/getsentry/sentry-javascript/commit/75f68c7f3e06d2776693593567ab87759975fde6
Oct 21, 2025https://github.com/getsentry/sentry-javascript/pull/17982#event-20404576192
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
October 21, 2025 13:13https://github.com/getsentry/sentry-javascript/pull/17982#event-20404577409
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#ref-pullrequest-3536520350
meta(changelog): Update changelog for 10.21.0 #17984 https://github.com/getsentry/sentry-javascript/pull/17984
https://github.com/apps/fossabot
fossabothttps://github.com/apps/fossabot
Oct 21, 2025 https://github.com/getsentry/sentry-javascript/pull/17982#ref-pullrequest-3537302393
Bump @sentry/react from 8.55.0 to 10.21.0 Pouria-FOSSA/dependabot-metadata-test#72 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/72
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17982
https://github.com/apps/seer-by-sentry
seer-by-sentry[bot] https://github.com/apps/seer-by-sentry
https://github.com/getsentry/sentry-javascript/pull/17982/files/a6bccebc50d9708df33c9f27d81d78b13f516c8e
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/17982/files/a6bccebc50d9708df33c9f27d81d78b13f516c8e
https://github.com/JPeer264
JPeer264 https://github.com/JPeer264
https://github.com/getsentry/sentry-javascript/pull/17982/files/b72f770fe1b5f66a1d4e3631fb6b936adbbe5bea
https://github.com/s1gr1d
s1gr1d https://github.com/s1gr1d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
VercelAI instrumentation missing cached token usage data https://github.com/getsentry/sentry-javascript/issues/17890
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17982
https://github.com/RulaKhaled
https://github.com/JPeer264
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.