René's URL Explorer Experiment


Title: feat(nextjs): Instrument server-side `getInitialProps` of `_app`, `_document` and `_error` by lforst · Pull Request #5604 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Instrument server-side `getInitialProps` of `_app`, `_document` and `_error` by lforst · Pull Request #5604 · getsentry/sentry-javascript

X Title: feat(nextjs): Instrument server-side `getInitialProps` of `_app`, `_document` and `_error` by lforst · Pull Request #5604 · getsentry/sentry-javascript

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

Open Graph Description: Ref: #5505 This PR adds wrappers for the "special page's" (_app, _document and error) getInitialProps. Luckily we have access to the parameterized route in getInitialProps so we can r...

X Description: Ref: #5505 This PR adds wrappers for the "special page's" (_app, _document and error) getInitialProps. Luckily we have access to the parameterized route in getInitialProps...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:3f598198-c4ca-6771-fbc9-c65db281d021
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BD8:2BB639:8E433E:C7E91E:6B042A4F
html-safe-nonce4690e2aff21fb51d2a0f84b6eccb57d2b2c14c49947cd1f81d18d9de7e884254
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkQ4OjJCQjYzOTo4RTQzM0U6QzdFOTFFOjZCMDQyQTRGIiwidmlzaXRvcl9pZCI6Ijg1MjM5NjEyNTA0MjkwMjA3NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9747ac4b4d3ab3f12d8aa506d9806bc47c73531edc3737731a7e3886deb93d43
hovercard-subject-tagpull_request:1029672417
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/5604/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1f214e201eb700a72831d10f11c3a2244fc18eaa654d236640a52ee7f5f42b4f/getsentry/sentry-javascript/pull/5604
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f214e201eb700a72831d10f11c3a2244fc18eaa654d236640a52ee7f5f42b4f/getsentry/sentry-javascript/pull/5604
og:image:altRef: #5505 This PR adds wrappers for the "special page's" (_app, _document and error) getInitialProps. Luckily we have access to the parameterized route in getInitialProps so we can r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/5604#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F5604
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%2F5604
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/5604
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5604
Reloadhttps://github.com/getsentry/sentry-javascript/pull/5604
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests58 (58)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
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-wrap-special-getinitialpropshttps://github.com/getsentry/sentry-javascript/tree/lforst-wrap-special-getinitialprops
Conversationhttps://github.com/getsentry/sentry-javascript/pull/5604
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/5604/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/5604/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/5604/files
feat(nextjs): Instrument server-side getInitialProps of _app, _document and _errorhttps://github.com/getsentry/sentry-javascript/pull/5604#top
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-wrap-special-getinitialpropshttps://github.com/getsentry/sentry-javascript/tree/lforst-wrap-special-getinitialprops
https://github.com/lforst
lforsthttps://github.com/lforst
Aug 18, 2022https://github.com/getsentry/sentry-javascript/pull/5604#issue-1342735469
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
#5505https://github.com/getsentry/sentry-javascript/issues/5505
#5593https://github.com/getsentry/sentry-javascript/pull/5593
https://user-images.githubusercontent.com/8118419/185347463-58ed8716-b198-4f89-bd09-9003d54d6aa4.png
https://user-images.githubusercontent.com/8118419/185347571-ca36e46e-e5a5-4240-8938-82aea4a87001.png
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
feat(nextjs): Create transactions in getInitialProps and getServerSideProps #5593 https://github.com/getsentry/sentry-javascript/pull/5593
Improve Nextjs tracing #5505 https://github.com/getsentry/sentry-javascript/issues/5505
https://github.com/lforst
lforsthttps://github.com/lforst
Aug 18, 2022https://github.com/getsentry/sentry-javascript/pull/5604#event-7214643622
https://github.com/lforst
lforsthttps://github.com/lforst
August 18, 2022 14:38https://github.com/getsentry/sentry-javascript/pull/5604#event-7215006566
https://github.com/lforst
lforsthttps://github.com/lforst
lobsterkatiehttps://github.com/lobsterkatie
August 18, 2022 14:38https://github.com/getsentry/sentry-javascript/pull/5604#event-7215007406
https://github.com/lforst
lforsthttps://github.com/lforst
Aug 18, 2022 https://github.com/getsentry/sentry-javascript/pull/5604#pullrequestreview-1077502584
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5604/files
packages/nextjs/src/config/wrappers/wrapperUtils.tshttps://github.com/getsentry/sentry-javascript/pull/5604/files#diff-3b03ce439482c3416ef17232758e71510430dc8fd23098589eeafdd9f861b5fa
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 18, 2022https://github.com/getsentry/sentry-javascript/pull/5604#issuecomment-1219603594
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
Aug 19, 2022 https://github.com/getsentry/sentry-javascript/pull/5604#pullrequestreview-1078271173
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/5604/files
lobsterkatiehttps://github.com/lobsterkatie
https://github.com/getsentry/sentry-javascript/pull/5604#pullrequestreview-1078271173
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
packages/nextjs/src/config/loaders/dataFetchersLoader.tshttps://github.com/getsentry/sentry-javascript/pull/5604/files#diff-87903e06d4878f4cb4798554a0d27b9462ca715bce84346ada87c502ac49a5f2
lobsterkatiehttps://github.com/lobsterkatie
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5604#discussion_r949796138
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
lforsthttps://github.com/lforst
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5604#discussion_r949844057
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#5602https://github.com/getsentry/sentry-javascript/pull/5602
#5593https://github.com/getsentry/sentry-javascript/pull/5593
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
packages/nextjs/src/config/wrappers/withSentryServerSideGetInitialProps.tshttps://github.com/getsentry/sentry-javascript/pull/5604/files#diff-2fc479fb80ee1175aaee9b41b02ca8b0320baffaeeb9079cefc34700b863cc2c
lobsterkatiehttps://github.com/lobsterkatie
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5604#discussion_r949796188
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
herehttps://github.com/getsentry/sentry-javascript/pull/5602/files#diff-dd9272eec5c418e22f1d78d2044ef7e0e31c1fa6ecfd759373efc478ebd01575R29-R34
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
packages/nextjs/src/config/wrappers/wrapperUtils.tshttps://github.com/getsentry/sentry-javascript/pull/5604/files#diff-3b03ce439482c3416ef17232758e71510430dc8fd23098589eeafdd9f861b5fa
lobsterkatiehttps://github.com/lobsterkatie
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5604#discussion_r949796221
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
https://github.com/lforst
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/3141759585873690c6a0f8cce8df245d5180788d..a5616973dc618f2d9a30224d1651cd80644abede
3141759https://github.com/getsentry/sentry-javascript/commit/3141759585873690c6a0f8cce8df245d5180788d
a561697https://github.com/getsentry/sentry-javascript/commit/a5616973dc618f2d9a30224d1651cd80644abede
Compare https://github.com/getsentry/sentry-javascript/compare/3141759585873690c6a0f8cce8df245d5180788d..a5616973dc618f2d9a30224d1651cd80644abede
August 19, 2022 13:32https://github.com/getsentry/sentry-javascript/pull/5604#event-7222284986
https://github.com/lforst
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/d2a0a557624a96606f5e11f582349b6a68998606..0a4271b8c6dbdfa575402904548188b563920390
d2a0a55https://github.com/getsentry/sentry-javascript/commit/d2a0a557624a96606f5e11f582349b6a68998606
0a4271bhttps://github.com/getsentry/sentry-javascript/commit/0a4271b8c6dbdfa575402904548188b563920390
Compare https://github.com/getsentry/sentry-javascript/compare/d2a0a557624a96606f5e11f582349b6a68998606..0a4271b8c6dbdfa575402904548188b563920390
August 19, 2022 13:38https://github.com/getsentry/sentry-javascript/pull/5604#event-7222322531
August 19, 2022 14:51https://github.com/getsentry/sentry-javascript/pull/5604#event-7222865168
August 19, 2022 15:01https://github.com/getsentry/sentry-javascript/pull/5604#commits-pushed-913ca74
feat(nextjs): Instrument server-side getInitialProps of _app, `_d…https://github.com/getsentry/sentry-javascript/pull/5604/commits/913ca74401e6ea17a200ac20f5a03b028d952ddc
913ca74https://github.com/getsentry/sentry-javascript/pull/5604/commits/913ca74401e6ea17a200ac20f5a03b028d952ddc
Change op to make clear that we wrap data fetching methodshttps://github.com/getsentry/sentry-javascript/pull/5604/commits/4a8a477d662e79613ba2d787985e243d71ea8fae
4a8a477https://github.com/getsentry/sentry-javascript/pull/5604/commits/4a8a477d662e79613ba2d787985e243d71ea8fae
Add some descriptionshttps://github.com/getsentry/sentry-javascript/pull/5604/commits/ce9b9a5ac89ab2249b7992961fb402f03466d281
ce9b9a5https://github.com/getsentry/sentry-javascript/pull/5604/commits/ce9b9a5ac89ab2249b7992961fb402f03466d281
Add special getinitialprops to new proxy loader templatehttps://github.com/getsentry/sentry-javascript/pull/5604/commits/d3f03113b119e44b3ebb0b64fb336f95691d9800
d3f0311https://github.com/getsentry/sentry-javascript/pull/5604/commits/d3f03113b119e44b3ebb0b64fb336f95691d9800
https://github.com/lforst
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/00a80589f200a833b28b584f9f2bab12918ccde3..d3f03113b119e44b3ebb0b64fb336f95691d9800
00a8058https://github.com/getsentry/sentry-javascript/commit/00a80589f200a833b28b584f9f2bab12918ccde3
d3f0311https://github.com/getsentry/sentry-javascript/commit/d3f03113b119e44b3ebb0b64fb336f95691d9800
Compare https://github.com/getsentry/sentry-javascript/compare/00a80589f200a833b28b584f9f2bab12918ccde3..d3f03113b119e44b3ebb0b64fb336f95691d9800
August 19, 2022 15:01https://github.com/getsentry/sentry-javascript/pull/5604#event-7222943648
https://github.com/lforst
lforsthttps://github.com/lforst
August 19, 2022 15:01https://github.com/getsentry/sentry-javascript/pull/5604#event-7222945072
https://github.com/lforst
lforsthttps://github.com/lforst
5c462f1https://github.com/getsentry/sentry-javascript/commit/5c462f1cec04ae2b925879095e6c5d011b37cee1
Aug 19, 2022https://github.com/getsentry/sentry-javascript/pull/5604#event-7223029546
https://github.com/lforst
lforsthttps://github.com/lforst
August 19, 2022 15:14https://github.com/getsentry/sentry-javascript/pull/5604#event-7223029643
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%2F5604
https://github.com/lobsterkatie
lobsterkatie https://github.com/lobsterkatie
https://github.com/getsentry/sentry-javascript/pull/5604/files/d2a0a557624a96606f5e11f582349b6a68998606
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/5604
https://github.com/lforst
https://github.com/lobsterkatie
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.