René's URL Explorer Experiment


Title: feat(nextjs): Mark clientside prefetch request spans with `http.request.prefetch: true` attribute by lforst · Pull Request #15980 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Mark clientside prefetch request spans with `http.request.prefetch: true` attribute by lforst · Pull Request #15980 · getsentry/sentry-javascript

X Title: feat(nextjs): Mark clientside prefetch request spans with `http.request.prefetch: true` attribute by lforst · Pull Request #15980 · 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 a http.request.prefetch: true attribute to Next.js clientside requests if they're prefetching other pages.

X Description: Adds a http.request.prefetch: true attribute to Next.js clientside requests if they're prefetching other pages.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:c54e05e3-6aae-da1d-fe7e-8dc158e6a2ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE5E:3FA1F8:31DF02:43152D:6B04B9B5
html-safe-nonce10b0b6bc0caf3f6a33da4830db1059095bbb33c4aa957bb7e5310f4afdb6eaf2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTVFOjNGQTFGODozMURGMDI6NDMxNTJEOjZCMDRCOUI1IiwidmlzaXRvcl9pZCI6IjQ1MjkxODQxNjA5Mzc3MjAyNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8e3ba97ad66332f7a5d72200fde70d55731431e97eee2d3245a75c5e9f940f8c
hovercard-subject-tagpull_request:2438812331
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/15980/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c0621bee62bd2d02b506d3917ea9a058a013af3a41fda544d55ef6655e88a3c5/getsentry/sentry-javascript/pull/15980
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0621bee62bd2d02b506d3917ea9a058a013af3a41fda544d55ef6655e88a3c5/getsentry/sentry-javascript/pull/15980
og:image:altAdds a http.request.prefetch: true attribute to Next.js clientside requests if they're prefetching other pages.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4
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
release0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/15980#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F15980
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%2F15980
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/15980
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15980
Reloadhttps://github.com/getsentry/sentry-javascript/pull/15980
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
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-nextjs-client-prefetch-ophttps://github.com/getsentry/sentry-javascript/tree/lforst-nextjs-client-prefetch-op
Conversationhttps://github.com/getsentry/sentry-javascript/pull/15980
Commits17 (17)https://github.com/getsentry/sentry-javascript/pull/15980/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/15980/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/15980/files
feat(nextjs): Mark clientside prefetch request spans with http.request.prefetch: true attributehttps://github.com/getsentry/sentry-javascript/pull/15980#top
lforsthttps://github.com/lforst
develophttps://github.com/getsentry/sentry-javascript/tree/develop
lforst-nextjs-client-prefetch-ophttps://github.com/getsentry/sentry-javascript/tree/lforst-nextjs-client-prefetch-op
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15980#issue-2971555569
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
April 4, 2025 09:38https://github.com/getsentry/sentry-javascript/pull/15980#commits-pushed-303369c
feat(browser): Add onRequestSpanStart hook to browser tracing integ…https://github.com/getsentry/sentry-javascript/pull/15980/commits/303369c176dd18900a0216fdbd9e1dbd13445108
303369chttps://github.com/getsentry/sentry-javascript/pull/15980/commits/303369c176dd18900a0216fdbd9e1dbd13445108
feat(nextjs): Mark clientside prefetch request spans with `http.clien…https://github.com/getsentry/sentry-javascript/pull/15980/commits/0cdb5685aa998ed73bd48ad2cd322bfe13d43715
0cdb568https://github.com/getsentry/sentry-javascript/pull/15980/commits/0cdb5685aa998ed73bd48ad2cd322bfe13d43715
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15980#issuecomment-2777846079
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/14305657285
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 4, 2025 https://github.com/getsentry/sentry-javascript/pull/15980#pullrequestreview-2742439715
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15980/files/0cdb5685aa998ed73bd48ad2cd322bfe13d43715
packages/nextjs/src/client/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15980/files/0cdb5685aa998ed73bd48ad2cd322bfe13d43715#diff-2cff8d7be18e6ce5f97581873a216781b5cec25b78ee9ced08cbb6ac720add4d
Lms24https://github.com/Lms24
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15980#discussion_r2028493179
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://private-user-images.githubusercontent.com/8420481/430320707-a32f79dc-8041-46c3-8031-c999225b9a5f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NzIwOTgsIm5iZiI6MTc5NTQ3MTc5OCwicGF0aCI6Ii84NDIwNDgxLzQzMDMyMDcwNy1hMzJmNzlkYy04MDQxLTQ2YzMtODAzMS1jOTk5MjI1YjlhNWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMjIwOTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzRlNzRlMjFlYjUyNTRlZTUzODk5OTYzNTQ3ODRiMjBhY2Y2ODNjMDMyYWE5ODVlODFlNmIzZWFkN2VjOWRlOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.Gs0BjPsUR2KdsxfVNVtVsV1feqxZbKZT2RcnabeyFgA
dev docshttps://develop.sentry.dev/sdk/telemetry/traces/span-operations/
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
lforsthttps://github.com/lforst
Apr 4, 2025https://github.com/getsentry/sentry-javascript/pull/15980#discussion_r2028753720
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
getsentry/sentry-docs#13239https://github.com/getsentry/sentry-docs/pull/13239
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
lforsthttps://github.com/lforst
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15980#discussion_r2030761049
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
April 4, 2025 14:19https://github.com/getsentry/sentry-javascript/pull/15980#commits-pushed-9c357f5
https://github.com/Lms24
Update packages/browser/src/tracing/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15980/commits/9c357f5e9bdd7898e8dec32e38326a50f57d9579
9c357f5https://github.com/getsentry/sentry-javascript/pull/15980/commits/9c357f5e9bdd7898e8dec32e38326a50f57d9579
optionalhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/e11d453c9554de51c8f7ea6067947f0603ca5622
e11d453https://github.com/getsentry/sentry-javascript/pull/15980/commits/e11d453c9554de51c8f7ea6067947f0603ca5622
size checkhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/62eba88aba8eb2599c9cde99109a2b209b578440
62eba88https://github.com/getsentry/sentry-javascript/pull/15980/commits/62eba88aba8eb2599c9cde99109a2b209b578440
testhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/3eea48cce43b337981b19d65fe85d48833656a1c
3eea48chttps://github.com/getsentry/sentry-javascript/pull/15980/commits/3eea48cce43b337981b19d65fe85d48833656a1c
Merge branch 'lforst-request-span-hook' into lforst-nextjs-client-pre…https://github.com/getsentry/sentry-javascript/pull/15980/commits/5ac833a33b2932e447a522bb405e702f32a38427
5ac833ahttps://github.com/getsentry/sentry-javascript/pull/15980/commits/5ac833a33b2932e447a522bb405e702f32a38427
testhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/94588fdcb676227c283e7711f4a5df583562acf5
94588fdhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/94588fdcb676227c283e7711f4a5df583562acf5
soy un idiotahttps://github.com/getsentry/sentry-javascript/pull/15980/commits/d23e28298d35e520ef7b712f719dd1f519b74ef1
d23e282https://github.com/getsentry/sentry-javascript/pull/15980/commits/d23e28298d35e520ef7b712f719dd1f519b74ef1
Merge branch 'develop' into lforst-request-span-hookhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/3f782cad377b8da8973e5e2e45406af4c20ea06b
3f782cahttps://github.com/getsentry/sentry-javascript/pull/15980/commits/3f782cad377b8da8973e5e2e45406af4c20ea06b
Merge branch 'lforst-request-span-hook' into lforst-nextjs-client-pre…https://github.com/getsentry/sentry-javascript/pull/15980/commits/618efe7be5bd1b1bac49fcd80fb72fbabe62be74
618efe7https://github.com/getsentry/sentry-javascript/pull/15980/commits/618efe7be5bd1b1bac49fcd80fb72fbabe62be74
fix testhttps://github.com/getsentry/sentry-javascript/pull/15980/commits/f57e14c1964a700735894ddd43e758967fdb6417
f57e14chttps://github.com/getsentry/sentry-javascript/pull/15980/commits/f57e14c1964a700735894ddd43e758967fdb6417
Merge branch 'lforst-request-span-hook' into lforst-nextjs-client-pre…https://github.com/getsentry/sentry-javascript/pull/15980/commits/c26c793a03fc53236eca4a254fc6b1abf451ffcf
c26c793https://github.com/getsentry/sentry-javascript/pull/15980/commits/c26c793a03fc53236eca4a254fc6b1abf451ffcf
.https://github.com/getsentry/sentry-javascript/pull/15980/commits/8addc769aa6d8c856b4485a16a48060c0945ac22
8addc76https://github.com/getsentry/sentry-javascript/pull/15980/commits/8addc769aa6d8c856b4485a16a48060c0945ac22
.https://github.com/getsentry/sentry-javascript/pull/15980/commits/cf111cc094d8ed7046a5fc12ff543b2fef6fa01c
cf111cchttps://github.com/getsentry/sentry-javascript/pull/15980/commits/cf111cc094d8ed7046a5fc12ff543b2fef6fa01c
https://github.com/lforst
lforsthttps://github.com/lforst
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15980#event-17149157751
.https://github.com/getsentry/sentry-javascript/pull/15980/commits/1530703234ed536f6a586562096d0bf59a8b4dec
1530703https://github.com/getsentry/sentry-javascript/pull/15980/commits/1530703234ed536f6a586562096d0bf59a8b4dec
https://github.com/lforst
lforsthttps://github.com/lforst
Lms24https://github.com/Lms24
April 7, 2025 08:49https://github.com/getsentry/sentry-javascript/pull/15980#event-17149266694
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 7, 2025 https://github.com/getsentry/sentry-javascript/pull/15980#ref-pullrequest-2971551626
feat(browser): Add onRequestSpanStart hook to browser tracing integration #15979 https://github.com/getsentry/sentry-javascript/pull/15979
https://github.com/Lms24
Lms24https://github.com/Lms24
Apr 7, 2025 https://github.com/getsentry/sentry-javascript/pull/15980#pullrequestreview-2746054699
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/15980/files/1530703234ed536f6a586562096d0bf59a8b4dec
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/15980#pullrequestreview-2746054699
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
packages/nextjs/src/client/browserTracingIntegration.tshttps://github.com/getsentry/sentry-javascript/pull/15980/files/1530703234ed536f6a586562096d0bf59a8b4dec#diff-2cff8d7be18e6ce5f97581873a216781b5cec25b78ee9ced08cbb6ac720add4d
Lms24https://github.com/Lms24
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15980#discussion_r2030781787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
lforsthttps://github.com/lforst
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15980#discussion_r2030793563
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
April 7, 2025 09:05https://github.com/getsentry/sentry-javascript/pull/15980#event-17149532075
Merge branch 'develop' into lforst-nextjs-client-prefetch-ophttps://github.com/getsentry/sentry-javascript/pull/15980/commits/0aeb77e30edf29cb259509224260ad16be22982b
0aeb77ehttps://github.com/getsentry/sentry-javascript/pull/15980/commits/0aeb77e30edf29cb259509224260ad16be22982b
https://github.com/lforst
lforsthttps://github.com/lforst
4d0c270https://github.com/getsentry/sentry-javascript/commit/4d0c27019040a6bb0cf897d931758d3332b2ce3f
Apr 7, 2025https://github.com/getsentry/sentry-javascript/pull/15980#event-17151470179
https://github.com/lforst
lforsthttps://github.com/lforst
April 7, 2025 11:01https://github.com/getsentry/sentry-javascript/pull/15980#event-17151470556
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%2F15980
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/15980/files/1530703234ed536f6a586562096d0bf59a8b4dec
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/15980
https://github.com/lforst
https://github.com/Lms24
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.