René's URL Explorer Experiment


Title: feat(nextjs): Parameterize server-side transaction names and harvest request data by lobsterkatie · Pull Request #3577 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Parameterize server-side transaction names and harvest request data by lobsterkatie · Pull Request #3577 · getsentry/sentry-javascript

X Title: feat(nextjs): Parameterize server-side transaction names and harvest request data by lobsterkatie · Pull Request #3577 · 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 does two things: It wraps two more methods on next's Server class, one of which is called on every API request, and the other of which is called on every page request. Both methods ar...

X Description: This PR does two things: It wraps two more methods on next's Server class, one of which is called on every API request, and the other of which is called on every page request. Both method...

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

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:0be8ce14-4d3b-059c-b764-0ec9e1f4af7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDB6:143899:5AEB3C:7B3C57:6B04400D
html-safe-noncea29ecbfbb7385d1f4e2ef98fe066eb68ff3c9cefb3f851f24299be4b6fbc9a2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREI2OjE0Mzg5OTo1QUVCM0M6N0IzQzU3OjZCMDQ0MDBEIiwidmlzaXRvcl9pZCI6IjUxNzM1Mjc4NTkxOTY4NzA2NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1fd18f90187312b1f36c016242452e6dec4c48b7f117d24e551495162b21f8c9
hovercard-subject-tagpull_request:649532258
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/3577/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a968c772fffc41e2fd7d1e4a9df5100123486e430e15fe079a97d1e91a8ac32/getsentry/sentry-javascript/pull/3577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a968c772fffc41e2fd7d1e4a9df5100123486e430e15fe079a97d1e91a8ac32/getsentry/sentry-javascript/pull/3577
og:image:altThis PR does two things: It wraps two more methods on next's Server class, one of which is called on every API request, and the other of which is called on every page request. Both methods ar...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelobsterkatie
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/3577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F3577
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%2F3577
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/3577
Reloadhttps://github.com/getsentry/sentry-javascript/pull/3577
Reloadhttps://github.com/getsentry/sentry-javascript/pull/3577
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)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
lobsterkatiehttps://github.com/lobsterkatie
kmclb-next-js-performancehttps://github.com/getsentry/sentry-javascript/tree/kmclb-next-js-performance
kmclb-nextjs-parameterize-transaction-namehttps://github.com/getsentry/sentry-javascript/tree/kmclb-nextjs-parameterize-transaction-name
Conversationhttps://github.com/getsentry/sentry-javascript/pull/3577
Commits7 (7)https://github.com/getsentry/sentry-javascript/pull/3577/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/3577/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/3577/files
feat(nextjs): Parameterize server-side transaction names and harvest request datahttps://github.com/getsentry/sentry-javascript/pull/3577#top
lobsterkatiehttps://github.com/lobsterkatie
kmclb-next-js-performancehttps://github.com/getsentry/sentry-javascript/tree/kmclb-next-js-performance
kmclb-nextjs-parameterize-transaction-namehttps://github.com/getsentry/sentry-javascript/tree/kmclb-nextjs-parameterize-transaction-name
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
May 20, 2021https://github.com/getsentry/sentry-javascript/pull/3577#issue-897533558
according to the dev docshttps://develop.sentry.dev/sdk/event-payloads/request/#attributes
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
kamilogorekhttps://github.com/kamilogorek
code ownerhttps://github.com/getsentry/sentry-javascript/blob/4c2a3857086b8dae4f2468516239ea9c11e756aa/.github/CODEOWNERS#L1
May 20, 2021 23:02https://github.com/getsentry/sentry-javascript/pull/3577#event-4776393688
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 20, 2021https://github.com/getsentry/sentry-javascript/pull/3577#issuecomment-845542700
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
size-limithttps://github.com/ai/size-limit
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
https://github.com/iker-barriocanal
iker-barriocanalhttps://github.com/iker-barriocanal
May 21, 2021 https://github.com/getsentry/sentry-javascript/pull/3577#pullrequestreview-665213094
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/3577/files
packages/types/src/request.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-64477348658a923e34c3ce4e902c93d1de079bafab9322ee194f2de5809d7eb9
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/types/src/transaction.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-337facb22f742f05b3326aed66ca6b0d5eb9c782c7c03c88ef0170fd97dc410d
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
May 21, 2021 https://github.com/getsentry/sentry-javascript/pull/3577#pullrequestreview-665346454
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/3577/files
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
AbhiPrasadhttps://github.com/AbhiPrasad
May 21, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r636834003
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@HazAThttps://github.com/HazAT
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
lobsterkatiehttps://github.com/lobsterkatie
May 22, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r637343613
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
AbhiPrasadhttps://github.com/AbhiPrasad
May 21, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r636834283
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
lobsterkatiehttps://github.com/lobsterkatie
May 22, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r637343840
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
AbhiPrasadhttps://github.com/AbhiPrasad
May 21, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r636835811
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
AbhiPrasadhttps://github.com/AbhiPrasad
May 21, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r636836319
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
lobsterkatiehttps://github.com/lobsterkatie
May 22, 2021https://github.com/getsentry/sentry-javascript/pull/3577#discussion_r637344481
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
packages/nextjs/src/utils/instrumentServer.tshttps://github.com/getsentry/sentry-javascript/pull/3577/files#diff-0e65453e672d6580948eb593da1a572912d7393ba6c073dd107af0850b93c989
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
lobsterkatiehttps://github.com/lobsterkatie
May 21, 2021 20:23https://github.com/getsentry/sentry-javascript/pull/3577#commits-pushed-6e70963
https://github.com/lobsterkatie
add request to transaction metadata typehttps://github.com/getsentry/sentry-javascript/pull/3577/commits/6e709638184b0dbf37a54eb34f2c2b4f94b0c07c
6e70963https://github.com/getsentry/sentry-javascript/pull/3577/commits/6e709638184b0dbf37a54eb34f2c2b4f94b0c07c
https://github.com/lobsterkatie
allow request.query_string to be an objecthttps://github.com/getsentry/sentry-javascript/pull/3577/commits/eba181f367d0f0f45135da668b102c8d1dd1d155
eba181fhttps://github.com/getsentry/sentry-javascript/pull/3577/commits/eba181f367d0f0f45135da668b102c8d1dd1d155
https://github.com/lobsterkatie
wrap methods to get parameterized nameshttps://github.com/getsentry/sentry-javascript/pull/3577/commits/45dccf073191dd1353f74e42442b5130cfcb29ad
45dccf0https://github.com/getsentry/sentry-javascript/pull/3577/commits/45dccf073191dd1353f74e42442b5130cfcb29ad
https://github.com/lobsterkatie
add request data to eventhttps://github.com/getsentry/sentry-javascript/pull/3577/commits/01a397fa3f6c1331de99f7a9474ff01e25ced365
01a397fhttps://github.com/getsentry/sentry-javascript/pull/3577/commits/01a397fa3f6c1331de99f7a9474ff01e25ced365
https://github.com/lobsterkatie
store only request path rather than entire request objecthttps://github.com/getsentry/sentry-javascript/pull/3577/commits/23f9a9e4a51e5470435738e4f41845f40bcafa84
23f9a9ehttps://github.com/getsentry/sentry-javascript/pull/3577/commits/23f9a9e4a51e5470435738e4f41845f40bcafa84
https://github.com/lobsterkatie
tweak typeshttps://github.com/getsentry/sentry-javascript/pull/3577/commits/c0565f8c4f69da72831bbbe36e657d37eaf0f60b
c0565f8https://github.com/getsentry/sentry-javascript/pull/3577/commits/c0565f8c4f69da72831bbbe36e657d37eaf0f60b
https://github.com/lobsterkatie
stop potentially overwriting request data on eventhttps://github.com/getsentry/sentry-javascript/pull/3577/commits/f9601390c2c64671b62665c0e424efe2bacf868c
f960139https://github.com/getsentry/sentry-javascript/pull/3577/commits/f9601390c2c64671b62665c0e424efe2bacf868c
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/40bab14a2830a4fc29cbff59f9972510c38006c3..f9601390c2c64671b62665c0e424efe2bacf868c
40bab14https://github.com/getsentry/sentry-javascript/commit/40bab14a2830a4fc29cbff59f9972510c38006c3
f960139https://github.com/getsentry/sentry-javascript/commit/f9601390c2c64671b62665c0e424efe2bacf868c
Compare https://github.com/getsentry/sentry-javascript/compare/40bab14a2830a4fc29cbff59f9972510c38006c3..f9601390c2c64671b62665c0e424efe2bacf868c
May 22, 2021 03:28https://github.com/getsentry/sentry-javascript/pull/3577#event-4781901268
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
AbhiPrasadhttps://github.com/AbhiPrasad
iker-barriocanalhttps://github.com/iker-barriocanal
May 24, 2021 15:31https://github.com/getsentry/sentry-javascript/pull/3577#event-4787332417
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
May 25, 2021 https://github.com/getsentry/sentry-javascript/pull/3577#pullrequestreview-667719728
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/3577/files/f9601390c2c64671b62665c0e424efe2bacf868c
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
a0bab2fhttps://github.com/getsentry/sentry-javascript/commit/a0bab2faa62ba8bce4c5f6c95817f4b11ab9429e
May 25, 2021https://github.com/getsentry/sentry-javascript/pull/3577#event-4792759290
https://github.com/lobsterkatie
lobsterkatiehttps://github.com/lobsterkatie
May 25, 2021 13:34https://github.com/getsentry/sentry-javascript/pull/3577#event-4792759387
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%2F3577
https://github.com/kamilogorek
kamilogorek https://github.com/kamilogorek
https://github.com/iker-barriocanal
iker-barriocanal https://github.com/iker-barriocanal
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/3577/files/f9601390c2c64671b62665c0e424efe2bacf868c
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/3577
https://github.com/lobsterkatie
https://github.com/AbhiPrasad
https://github.com/iker-barriocanal
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.