René's URL Explorer Experiment


Title: feat(react-router): Add client-side router instrumentation by chargome · Pull Request #16185 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(react-router): Add client-side router instrumentation by chargome · Pull Request #16185 · getsentry/sentry-javascript

X Title: feat(react-router): Add client-side router instrumentation by chargome · Pull Request #16185 · getsentry/sentry-javascript

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

Open Graph Description: Adds client-side instrumentation for react router's HydratedRouter (which is basically a DataRouter enhanced with ssr data) Updates pageloads to have parameterized transaction names Adds param...

X Description: Adds client-side instrumentation for react router's HydratedRouter (which is basically a DataRouter enhanced with ssr data) Updates pageloads to have parameterized transaction names Adds p...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:7c6dcc13-5291-2db8-99da-def3e14943a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA030:21BCEF:1A2DB56:24DC26E:6B072599
html-safe-noncefe4a4ee029c99867966a7119be30b3f6af4908d421bcc03d03468dbe84afb121
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDMwOjIxQkNFRjoxQTJEQjU2OjI0REMyNkU6NkIwNzI1OTkiLCJ2aXNpdG9yX2lkIjoiNDgxNzAyMTU4NjIzNjcxMjM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd4c255918ea02f72974bb7f648c326c5cf14bb5458ac9310cabe67c150333466
hovercard-subject-tagpull_request:2495704472
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/16185/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/812eb7ce63ccab948dce0f84fe605a4302225a00cd818e7d92abdaf1adbfd42d/getsentry/sentry-javascript/pull/16185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/812eb7ce63ccab948dce0f84fe605a4302225a00cd818e7d92abdaf1adbfd42d/getsentry/sentry-javascript/pull/16185
og:image:altAdds client-side instrumentation for react router's HydratedRouter (which is basically a DataRouter enhanced with ssr data) Updates pageloads to have parameterized transaction names Adds param...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None5a20fe9aa5e45c6df9328a5ec3f167a7805856126d8bf72d810541ca01962ef9
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
release6ce961d9a663a99bc4bcab9fd6ac5cca54bd6fcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/16185#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16185
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%2F16185
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/16185
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16185
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16185
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)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
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg-rr-instrument-hydrated-routerhttps://github.com/getsentry/sentry-javascript/tree/cg-rr-instrument-hydrated-router
Conversationhttps://github.com/getsentry/sentry-javascript/pull/16185
Commits15 (15)https://github.com/getsentry/sentry-javascript/pull/16185/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/16185/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/16185/files
feat(react-router): Add client-side router instrumentationhttps://github.com/getsentry/sentry-javascript/pull/16185#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg-rr-instrument-hydrated-routerhttps://github.com/getsentry/sentry-javascript/tree/cg-rr-instrument-hydrated-router
https://github.com/chargome
chargomehttps://github.com/chargome
May 2, 2025https://github.com/getsentry/sentry-javascript/pull/16185#issue-3036052148
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
#16160https://github.com/getsentry/sentry-javascript/issues/16160
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
https://github.com/chargome
add router instrumentationhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/24911e550391cf6a7a8d3e225be6dece0e6f55c4
24911e5https://github.com/getsentry/sentry-javascript/pull/16185/commits/24911e550391cf6a7a8d3e225be6dece0e6f55c4
https://github.com/chargome
chargomehttps://github.com/chargome
May 2, 2025https://github.com/getsentry/sentry-javascript/pull/16185#event-17500126668
chargomehttps://github.com/chargome
May 3, 2025 22:17https://github.com/getsentry/sentry-javascript/pull/16185#commits-pushed-ec310ed
https://github.com/chargome
add integrationhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/ec310ed13d750c9ae2cb14182ed1bd30274031be
ec310edhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/ec310ed13d750c9ae2cb14182ed1bd30274031be
https://github.com/chargome
whoopsiehttps://github.com/getsentry/sentry-javascript/pull/16185/commits/ec1d1889638ecedc1ffddd0cd73db69d23a5e254
ec1d188https://github.com/getsentry/sentry-javascript/pull/16185/commits/ec1d1889638ecedc1ffddd0cd73db69d23a5e254
https://github.com/chargome
export ReactRouterTracingIntegrationhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/6de5f66d08711be3788a6772c144c5486ba13c42
6de5f66https://github.com/getsentry/sentry-javascript/pull/16185/commits/6de5f66d08711be3788a6772c144c5486ba13c42
https://github.com/chargome
add client testshttps://github.com/getsentry/sentry-javascript/pull/16185/commits/3b485fd80a50958ba75eeb9596c4946ee1dc7fb9
3b485fdhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/3b485fd80a50958ba75eeb9596c4946ee1dc7fb9
https://github.com/chargome
tracing testhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/8461de24b7ab2c2c1f0a95e162747f2b99fa3cfa
8461de2https://github.com/getsentry/sentry-javascript/pull/16185/commits/8461de24b7ab2c2c1f0a95e162747f2b99fa3cfa
https://github.com/chargome
add tests for hydrated routerhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/001da094181ac0b9d023e81451232608f6fcb4bf
001da09https://github.com/getsentry/sentry-javascript/pull/16185/commits/001da094181ac0b9d023e81451232608f6fcb4bf
https://github.com/chargome
fix parameterized routeshttps://github.com/getsentry/sentry-javascript/pull/16185/commits/a34fdc0b0f632e6e46ea5b80686d99902eec110c
a34fdc0https://github.com/getsentry/sentry-javascript/pull/16185/commits/a34fdc0b0f632e6e46ea5b80686d99902eec110c
https://github.com/chargome
update e2e testhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/7d13493309a84f83ee0516cfbdbf81a70676e01f
7d13493https://github.com/getsentry/sentry-javascript/pull/16185/commits/7d13493309a84f83ee0516cfbdbf81a70676e01f
https://github.com/chargome
add navigation e2e testshttps://github.com/getsentry/sentry-javascript/pull/16185/commits/e03e691d34625d99fbeb506c2932bb20fa9c0595
e03e691https://github.com/getsentry/sentry-javascript/pull/16185/commits/e03e691d34625d99fbeb506c2932bb20fa9c0595
https://github.com/chargome
.https://github.com/getsentry/sentry-javascript/pull/16185/commits/816cfd82950ca4ca1eb5b32d22286e4957b9519e
816cfd8https://github.com/getsentry/sentry-javascript/pull/16185/commits/816cfd82950ca4ca1eb5b32d22286e4957b9519e
https://github.com/chargome
chargomehttps://github.com/chargome
May 4, 2025 14:05https://github.com/getsentry/sentry-javascript/pull/16185#event-17510580372
https://github.com/chargome
Merge branch 'develop' into cg-rr-instrument-hydrated-routerhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/e741921bd5944a8356cfb5ae4cc0fa922a16cf15
e741921https://github.com/getsentry/sentry-javascript/pull/16185/commits/e741921bd5944a8356cfb5ae4cc0fa922a16cf15
https://github.com/chargome
chargomehttps://github.com/chargome
RulaKhaledhttps://github.com/RulaKhaled
andreiborzahttps://github.com/andreiborza
May 4, 2025 19:23https://github.com/getsentry/sentry-javascript/pull/16185#event-17511310436
https://github.com/chargome
chargomehttps://github.com/chargome
ci-codecov-ai-review https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aci-codecov-ai-review
May 4, 2025https://github.com/getsentry/sentry-javascript/pull/16185#event-17511311778
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
May 5, 2025 https://github.com/getsentry/sentry-javascript/pull/16185#pullrequestreview-2814104489
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16185/files/e741921bd5944a8356cfb5ae4cc0fa922a16cf15
packages/react-router/src/client/hydratedRouter.tshttps://github.com/getsentry/sentry-javascript/pull/16185/files/e741921bd5944a8356cfb5ae4cc0fa922a16cf15#diff-7da7857fdedc2c1e3299116397e10c7a006a1c7cbb345ba720441039c15b184c
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
packages/react-router/src/client/hydratedRouter.tshttps://github.com/getsentry/sentry-javascript/pull/16185/files/e741921bd5944a8356cfb5ae4cc0fa922a16cf15#diff-7da7857fdedc2c1e3299116397e10c7a006a1c7cbb345ba720441039c15b184c
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
packages/react-router/test/client/hydratedRouter.test.tshttps://github.com/getsentry/sentry-javascript/pull/16185/files/e741921bd5944a8356cfb5ae4cc0fa922a16cf15#diff-9949c061e93dd1a567ceb69056b6a0956480114c050ba9b72a7faee00e3d200c
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
chargomehttps://github.com/chargome
May 5, 2025 10:53https://github.com/getsentry/sentry-javascript/pull/16185#commits-pushed-2033387
https://github.com/chargome
update testshttps://github.com/getsentry/sentry-javascript/pull/16185/commits/2033387a0eb4a6993ea82bcc7d9e778249f8bf88
2033387https://github.com/getsentry/sentry-javascript/pull/16185/commits/2033387a0eb4a6993ea82bcc7d9e778249f8bf88
https://github.com/chargome
make andrei happyhttps://github.com/getsentry/sentry-javascript/pull/16185/commits/7576af6db56801035a0303c0e341ccceefe87d3f
7576af6https://github.com/getsentry/sentry-javascript/pull/16185/commits/7576af6db56801035a0303c0e341ccceefe87d3f
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
May 5, 2025 https://github.com/getsentry/sentry-javascript/pull/16185#pullrequestreview-2814196090
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16185/files/7576af6db56801035a0303c0e341ccceefe87d3f
https://github.com/chargome
add log if instrumentation failshttps://github.com/getsentry/sentry-javascript/pull/16185/commits/a529211d294a42ce833e9f5c30048765ab6a6099
a529211https://github.com/getsentry/sentry-javascript/pull/16185/commits/a529211d294a42ce833e9f5c30048765ab6a6099
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
May 5, 2025 https://github.com/getsentry/sentry-javascript/pull/16185#pullrequestreview-2814208912
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16185/files/a529211d294a42ce833e9f5c30048765ab6a6099
https://github.com/chargome
chargomehttps://github.com/chargome
ci-codecov-ai-review https://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3Aci-codecov-ai-review
May 5, 2025https://github.com/getsentry/sentry-javascript/pull/16185#event-17516105639
https://github.com/chargome
chargomehttps://github.com/chargome
640b57fhttps://github.com/getsentry/sentry-javascript/commit/640b57f16a72d12295c17ed7fc07cc53d0a9d232
May 5, 2025https://github.com/getsentry/sentry-javascript/pull/16185#event-17516120703
https://github.com/chargome
chargomehttps://github.com/chargome
May 5, 2025 09:17https://github.com/getsentry/sentry-javascript/pull/16185#event-17516121135
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 7, 2025 https://github.com/getsentry/sentry-javascript/pull/16185#ref-issue-3028394484
[RR7] Instrument client-side HydratedRouter #16160 https://github.com/getsentry/sentry-javascript/issues/16160
https://github.com/punkpeye
punkpeyehttps://github.com/punkpeye
May 11, 2025https://github.com/getsentry/sentry-javascript/pull/16185#issuecomment-2870007980
https://docs.sentry.io/platforms/javascript/guides/react-router/tracing/https://docs.sentry.io/platforms/javascript/guides/react-router/tracing/
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16185
aviator-apphttps://github.com/apps/aviator-app
May 30, 2025 https://github.com/getsentry/sentry-javascript/pull/16185#ref-commit-0cb81b2
https://github.com/marketplace/mergequeue
https://github.com/snyk-bot
[Snyk] Upgrade @sentry/browser from 9.10.0 to 9.17.0 (https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
#386https://github.com/reisene/HulajDusza-serwis/pull/386
)https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
0cb81b2https://github.com/reisene/HulajDusza-serwis/commit/0cb81b2658027ca489aea0cc7ab11d568edb6c27
https://badgen.net/badge/icon/reisene/green?label=https://badgen.net/badge/icon/reisene/green?label=
https://user-images.githubusercontent.com/1393946/111216524-d2bb8e00-85d4-11eb-821b-ed4c00989c02.png">](https://pullrequestbadge.com/?utm_medium=github&utm_source=reisene&utm_campaign=badge_info)