René's URL Explorer Experiment


Title: feat(react-router): Add otel instrumentation for server requests by chargome · Pull Request #16147 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(react-router): Add otel instrumentation for server requests by chargome · Pull Request #16147 · getsentry/sentry-javascript

X Title: feat(react-router): Add otel instrumentation for server requests by chargome · Pull Request #16147 · getsentry/sentry-javascript

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

Open Graph Description: This PR adds OpenTelemetry instrumentation for server-side requests in React Router by tracing server requests for data loaders and actions.

X Description: This PR adds OpenTelemetry instrumentation for server-side requests in React Router by tracing server requests for data loaders and actions.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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:45c7cb33-f2b9-bcd3-16c4-7624731ad52f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA34:3CC37F:E0C9D:135CA2:6B06F59B
html-safe-nonce2ababf944c37dbcb777d672f959ea9fb07d030076d94845d1918cb8683181092
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTM0OjNDQzM3RjpFMEM5RDoxMzVDQTI6NkIwNkY1OUIiLCJ2aXNpdG9yX2lkIjoiMTMyMTgxMTMwMjc5MjIzMDI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd1de1051fd746434f6f4e8f19d0904e03bef3d658072f4062306a28cb79b2a66
hovercard-subject-tagpull_request:2486098844
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/16147/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a528968dedd0f90dcf7e1de18cc25e52936d1f4abadfe667317653a3d1044982/getsentry/sentry-javascript/pull/16147
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a528968dedd0f90dcf7e1de18cc25e52936d1f4abadfe667317653a3d1044982/getsentry/sentry-javascript/pull/16147
og:image:altThis PR adds OpenTelemetry instrumentation for server-side requests in React Router by tracing server requests for data loaders and actions.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None518c89df9981b23ef4bf1cf9e25792a20e5884aa6a2efccd817801f8bae3dd64
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
release3e66657d0989666cd38e3fb0fbd4e0c116e481e6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/16147#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F16147
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%2F16147
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/16147
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16147
Reloadhttps://github.com/getsentry/sentry-javascript/pull/16147
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 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-server-loadershttps://github.com/getsentry/sentry-javascript/tree/cg-rr-server-loaders
Conversationhttps://github.com/getsentry/sentry-javascript/pull/16147
Commits16 (16)https://github.com/getsentry/sentry-javascript/pull/16147/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/16147/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/16147/files
feat(react-router): Add otel instrumentation for server requestshttps://github.com/getsentry/sentry-javascript/pull/16147#top
chargomehttps://github.com/chargome
develophttps://github.com/getsentry/sentry-javascript/tree/develop
cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/tree/cg-rr-server-loaders
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 28, 2025https://github.com/getsentry/sentry-javascript/pull/16147#issue-3025229345
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
https://github.com/chargome
add instrumentationhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/17c5c6c8a4d70f376b0aad906dea34ef8ad3ba99
17c5c6chttps://github.com/getsentry/sentry-javascript/pull/16147/commits/17c5c6c8a4d70f376b0aad906dea34ef8ad3ba99
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 28, 2025https://github.com/getsentry/sentry-javascript/pull/16147#event-17436328348
chargomehttps://github.com/chargome
April 29, 2025 14:18https://github.com/getsentry/sentry-javascript/pull/16147#commits-pushed-9262008
https://github.com/chargome
some attribute cleanuphttps://github.com/getsentry/sentry-javascript/pull/16147/commits/926200805e8c94b62987ba159a7cef120f2d9793
9262008https://github.com/getsentry/sentry-javascript/pull/16147/commits/926200805e8c94b62987ba159a7cef120f2d9793
https://github.com/chargome
Merge branch 'develop' into cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/pull/16147/commits/78718c99e6216cb725afefeebdca507fbcdd3b9a
78718c9https://github.com/getsentry/sentry-javascript/pull/16147/commits/78718c99e6216cb725afefeebdca507fbcdd3b9a
https://github.com/chargome
linthttps://github.com/getsentry/sentry-javascript/pull/16147/commits/01abd59de7e3e292d4e805376ac86e58ae1c074e
01abd59https://github.com/getsentry/sentry-javascript/pull/16147/commits/01abd59de7e3e292d4e805376ac86e58ae1c074e
https://github.com/chargome
chargomehttps://github.com/chargome
Apr 29, 2025https://github.com/getsentry/sentry-javascript/pull/16147#issuecomment-2839012477
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
#16160https://github.com/getsentry/sentry-javascript/issues/16160
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
chargomehttps://github.com/chargome
May 5, 2025 11:38https://github.com/getsentry/sentry-javascript/pull/16147#commits-pushed-7d44413
https://github.com/chargome
Merge branch 'develop' into cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/pull/16147/commits/7d4441382ed2fe8d2f9b16218657236b8b5016f6
7d44413https://github.com/getsentry/sentry-javascript/pull/16147/commits/7d4441382ed2fe8d2f9b16218657236b8b5016f6
https://github.com/chargome
unit test for instrumentationhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/24a3c3ff737312ec7b4f073eb262f511e85ab763
24a3c3fhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/24a3c3ff737312ec7b4f073eb262f511e85ab763
https://github.com/chargome
update ophttps://github.com/getsentry/sentry-javascript/pull/16147/commits/a55f023eba0b7fcaf601934789f48ada904897f2
a55f023https://github.com/getsentry/sentry-javascript/pull/16147/commits/a55f023eba0b7fcaf601934789f48ada904897f2
https://github.com/chargome
update data request txhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/7d367d8fba20e6fa2862d7d20e02b9a21b6adf25
7d367d8https://github.com/getsentry/sentry-javascript/pull/16147/commits/7d367d8fba20e6fa2862d7d20e02b9a21b6adf25
https://github.com/chargome
Merge branch 'develop' into cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/pull/16147/commits/6576120d6e44088d1ddb2fe26aa8d137d0cb4f2a
6576120https://github.com/getsentry/sentry-javascript/pull/16147/commits/6576120d6e44088d1ddb2fe26aa8d137d0cb4f2a
https://github.com/chargome
fix mergehttps://github.com/getsentry/sentry-javascript/pull/16147/commits/09e6888e8cc8c4034bc0e1aa9af51235916d0f87
09e6888https://github.com/getsentry/sentry-javascript/pull/16147/commits/09e6888e8cc8c4034bc0e1aa9af51235916d0f87
https://github.com/chargome
add attrhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/2abcd925c812d3b1af9fff1f9fa6bbe83beee9c4
2abcd92https://github.com/getsentry/sentry-javascript/pull/16147/commits/2abcd925c812d3b1af9fff1f9fa6bbe83beee9c4
https://github.com/chargome
update some testshttps://github.com/getsentry/sentry-javascript/pull/16147/commits/f579921837d26427a89beee7d86b26ba50b402a2
f579921https://github.com/getsentry/sentry-javascript/pull/16147/commits/f579921837d26427a89beee7d86b26ba50b402a2
https://github.com/chargome
Merge branch 'develop' into cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/pull/16147/commits/56486f1280ceb6ee00f84e87f642a09b10f98895
56486f1https://github.com/getsentry/sentry-javascript/pull/16147/commits/56486f1280ceb6ee00f84e87f642a09b10f98895
https://github.com/chargome
chargomehttps://github.com/chargome
May 12, 2025 14:57https://github.com/getsentry/sentry-javascript/pull/16147#event-17618532929
https://github.com/chargome
chargomehttps://github.com/chargome
RulaKhaledhttps://github.com/RulaKhaled
andreiborzahttps://github.com/andreiborza
May 12, 2025 14:57https://github.com/getsentry/sentry-javascript/pull/16147#event-17618533582
https://github.com/chargome
chargomehttps://github.com/chargome
May 12, 2025 https://github.com/getsentry/sentry-javascript/pull/16147#pullrequestreview-2833607244
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895
packages/react-router/src/server/instrumentation/reactRouter.tshttps://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895#diff-60c0442c7201fc2b7f5179e580e63df661ea5f6a0f74389c5aa7176a1db87713
chargomehttps://github.com/chargome
May 12, 2025https://github.com/getsentry/sentry-javascript/pull/16147#discussion_r2084906921
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
May 13, 2025 https://github.com/getsentry/sentry-javascript/pull/16147#pullrequestreview-2835752921
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895
...2e-tests/test-applications/react-router-7-framework/app/routes/performance/dynamic-param.tsxhttps://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895#diff-6bd88803b0e029f3a8b5bf8143bd4f3995fe7761cd44216182cd388fb7a89f9d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
packages/react-router/src/server/instrumentation/reactRouter.tshttps://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895#diff-60c0442c7201fc2b7f5179e580e63df661ea5f6a0f74389c5aa7176a1db87713
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
packages/react-router/src/server/instrumentation/reactRouter.tshttps://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895#diff-60c0442c7201fc2b7f5179e580e63df661ea5f6a0f74389c5aa7176a1db87713
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
packages/react-router/src/server/sdk.tshttps://github.com/getsentry/sentry-javascript/pull/16147/files/56486f1280ceb6ee00f84e87f642a09b10f98895#diff-75b36f07e4e771e2da6591f680a60319d9ef4e2e13a50a16eb3085c7780b85a2
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
chargomehttps://github.com/chargome
May 14, 2025 09:17https://github.com/getsentry/sentry-javascript/pull/16147#commits-pushed-a5ef715
https://github.com/chargome
Merge branch 'develop' into cg-rr-server-loadershttps://github.com/getsentry/sentry-javascript/pull/16147/commits/a5ef7153a5e56c68e18547651d40976116c5f865
a5ef715https://github.com/getsentry/sentry-javascript/pull/16147/commits/a5ef7153a5e56c68e18547651d40976116c5f865
https://github.com/chargome
always delete overwritehttps://github.com/getsentry/sentry-javascript/pull/16147/commits/ea5e8e28fb0e6d8f573dc58d314ed699cd9db633
ea5e8e2https://github.com/getsentry/sentry-javascript/pull/16147/commits/ea5e8e28fb0e6d8f573dc58d314ed699cd9db633
https://github.com/chargome
rename wrapped fnhttps://github.com/getsentry/sentry-javascript/pull/16147/commits/28ad932664d9a56c735ddadfc5c57ed271da2da0
28ad932https://github.com/getsentry/sentry-javascript/pull/16147/commits/28ad932664d9a56c735ddadfc5c57ed271da2da0
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
May 14, 2025 https://github.com/getsentry/sentry-javascript/pull/16147#pullrequestreview-2839182047
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/16147/files/28ad932664d9a56c735ddadfc5c57ed271da2da0
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/16147#pullrequestreview-2839182047
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/16147
https://github.com/chargome
chargomehttps://github.com/chargome
26731edhttps://github.com/getsentry/sentry-javascript/commit/26731edc9932a358f8e5af8424577211b45f2a19
May 14, 2025https://github.com/getsentry/sentry-javascript/pull/16147#event-17648594676
https://github.com/chargome
chargomehttps://github.com/chargome
May 14, 2025 08:07https://github.com/getsentry/sentry-javascript/pull/16147#event-17648595274
https://github.com/chargome
chargomehttps://github.com/chargome
May 14, 2025 https://github.com/getsentry/sentry-javascript/pull/16147#ref-pullrequest-3062894598
feat(react-router): Add server action instrumentation #16292 https://github.com/getsentry/sentry-javascript/pull/16292
mergifyhttps://github.com/apps/mergify
Jun 9, 2025 https://github.com/getsentry/sentry-javascript/pull/16147#ref-commit-f701d70
https://github.com/marketplace/mergify
[Snyk] Upgrade @sentry/browser from 9.17.0 to 9.19.0 (https://github.com/reisene/HulajDusza-serwis/commit/f701d70d9ac7c668e0fe33e5f1fc3af56f7ec177
#401https://github.com/reisene/HulajDusza-serwis/pull/401
)https://github.com/reisene/HulajDusza-serwis/commit/f701d70d9ac7c668e0fe33e5f1fc3af56f7ec177
f701d70https://github.com/reisene/HulajDusza-serwis/commit/f701d70d9ac7c668e0fe33e5f1fc3af56f7ec177
https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=https://badgen.net/badge/icon/snyk-io%5Bbot%5D/green?label=
https://badgen.net/badge/icon/Contributor/000000?label=https://badgen.net/badge/icon/Contributor/000000?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)