René's URL Explorer Experiment


Title: feat(core): Deprecate `trace` in favor of `startSpan` by mydea · Pull Request #10012 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(core): Deprecate `trace` in favor of `startSpan` by mydea · Pull Request #10012 · getsentry/sentry-javascript

X Title: feat(core): Deprecate `trace` in favor of `startSpan` by mydea · Pull Request #10012 · getsentry/sentry-javascript

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

Open Graph Description: Also add a handleCallbackErrors utility to replace this. We've been using this in a few places, and since it has a bit of a different usage than startSpan I had to add a new utility to properly...

X Description: Also add a handleCallbackErrors utility to replace this. We've been using this in a few places, and since it has a bit of a different usage than startSpan I had to add a new utility to prop...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:dd2c7b0d-bff2-09e3-d73a-6af9f61959b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8A2:37F016:14CF13:1D066A:6B041C48
html-safe-nonce8763c6bdc03175c2c87fe16743d771ae4acdc487fdbafcd91faf11ea2d09915e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEEyOjM3RjAxNjoxNENGMTM6MUQwNjZBOjZCMDQxQzQ4IiwidmlzaXRvcl9pZCI6Ijc1OTMxMjA5NjQxMjEyMDU4MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9698bd8f00342c7763f296d7c92aff5ba0177b7feebe6bad02006c69f1cb4292
hovercard-subject-tagpull_request:1661938413
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/10012/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1fb2b124b9486fca87044d0257d005ed7dffcad29f773cc3714d783e9685548b/getsentry/sentry-javascript/pull/10012
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1fb2b124b9486fca87044d0257d005ed7dffcad29f773cc3714d783e9685548b/getsentry/sentry-javascript/pull/10012
og:image:altAlso add a handleCallbackErrors utility to replace this. We've been using this in a few places, and since it has a bit of a different usage than startSpan I had to add a new utility to properly...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/10012#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F10012
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%2F10012
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/10012
Reloadhttps://github.com/getsentry/sentry-javascript/pull/10012
Reloadhttps://github.com/getsentry/sentry-javascript/pull/10012
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)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
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/tracehttps://github.com/getsentry/sentry-javascript/tree/fn/trace
Conversationhttps://github.com/getsentry/sentry-javascript/pull/10012
Commits3 (3)https://github.com/getsentry/sentry-javascript/pull/10012/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/10012/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/10012/files
feat(core): Deprecate trace in favor of startSpanhttps://github.com/getsentry/sentry-javascript/pull/10012#top
mydeahttps://github.com/mydea
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fn/tracehttps://github.com/getsentry/sentry-javascript/tree/fn/trace
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#issue-2062544686
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/mydea
mydeahttps://github.com/mydea
AbhiPrasadhttps://github.com/AbhiPrasad
Lms24https://github.com/Lms24
lforsthttps://github.com/lforst
January 2, 2024 15:02https://github.com/getsentry/sentry-javascript/pull/10012#event-11371099478
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#event-11371099550
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 2, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1800561136
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/10012/files
packages/core/src/tracing/trace.tshttps://github.com/getsentry/sentry-javascript/pull/10012/files#diff-122b7bc1606233225b7009a43a77075127e8d30e9dc2f9c6fe0e008849388a2c
mydeahttps://github.com/mydea
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1439533063
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 2, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1800565177
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/10012/files
packages/core/src/tracing/trace.tshttps://github.com/getsentry/sentry-javascript/pull/10012/files#diff-122b7bc1606233225b7009a43a77075127e8d30e9dc2f9c6fe0e008849388a2c
lforsthttps://github.com/lforst
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1439535716
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
mydeahttps://github.com/mydea
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1439536765
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@AbhiPrasadhttps://github.com/AbhiPrasad
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1439714923
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440211189
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 2, 2024https://github.com/getsentry/sentry-javascript/pull/10012#issuecomment-1874148775
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/Lms24
Lms24https://github.com/Lms24
Jan 3, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1801609630
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/10012/files
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1801609630
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 3, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1801743126
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/10012/files
packages/nextjs/src/common/utils/edgeWrapperUtils.tshttps://github.com/getsentry/sentry-javascript/pull/10012/files#diff-b34916d050f07dc77618ed8cd4747a5bb29435b851bf8de7ce3490c7d31c1143
mydeahttps://github.com/mydea
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440296843
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@lforsthttps://github.com/lforst
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440438450
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
sentry-javascript/packages/nextjs/src/common/wrapServerComponentWithSentry.tshttps://github.com/getsentry/sentry-javascript/blob/75aecf6173547b82d4d57d040f6ce4f91fe4e613/packages/nextjs/src/common/wrapServerComponentWithSentry.ts#L73
75aecf6https://github.com/getsentry/sentry-javascript/commit/75aecf6173547b82d4d57d040f6ce4f91fe4e613
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
mydeahttps://github.com/mydea
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440462545
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/b3e0cc4c23b4c145c34eaf2446a7960f1a6fc25c..75aecf6173547b82d4d57d040f6ce4f91fe4e613
b3e0cc4https://github.com/getsentry/sentry-javascript/commit/b3e0cc4c23b4c145c34eaf2446a7960f1a6fc25c
75aecf6https://github.com/getsentry/sentry-javascript/commit/75aecf6173547b82d4d57d040f6ce4f91fe4e613
Compare https://github.com/getsentry/sentry-javascript/compare/b3e0cc4c23b4c145c34eaf2446a7960f1a6fc25c..75aecf6173547b82d4d57d040f6ce4f91fe4e613
January 3, 2024 10:31https://github.com/getsentry/sentry-javascript/pull/10012#event-11377726816
mydeahttps://github.com/mydea
January 3, 2024 14:33https://github.com/getsentry/sentry-javascript/pull/10012#commits-pushed-5a64fb9
https://github.com/mydea
feat(core): Deprecate trace in favor of startSpanhttps://github.com/getsentry/sentry-javascript/pull/10012/commits/5a64fb9ae86b59ea11b5b8458106d1526f8e3bde
5a64fb9https://github.com/getsentry/sentry-javascript/pull/10012/commits/5a64fb9ae86b59ea11b5b8458106d1526f8e3bde
https://github.com/mydea
use utilhttps://github.com/getsentry/sentry-javascript/pull/10012/commits/a1e560b0f936baab6dea467e0db28f7418b3fb18
a1e560bhttps://github.com/getsentry/sentry-javascript/pull/10012/commits/a1e560b0f936baab6dea467e0db28f7418b3fb18
https://github.com/mydea
mydeahttps://github.com/mydea
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/75aecf6173547b82d4d57d040f6ce4f91fe4e613..a1e560b0f936baab6dea467e0db28f7418b3fb18
75aecf6https://github.com/getsentry/sentry-javascript/commit/75aecf6173547b82d4d57d040f6ce4f91fe4e613
a1e560bhttps://github.com/getsentry/sentry-javascript/commit/a1e560b0f936baab6dea467e0db28f7418b3fb18
Compare https://github.com/getsentry/sentry-javascript/compare/75aecf6173547b82d4d57d040f6ce4f91fe4e613..a1e560b0f936baab6dea467e0db28f7418b3fb18
January 3, 2024 13:41https://github.com/getsentry/sentry-javascript/pull/10012#event-11379313725
https://github.com/mydea
mydeahttps://github.com/mydea
Jan 3, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#pullrequestreview-1802321937
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/10012/files/a1e560b0f936baab6dea467e0db28f7418b3fb18
packages/core/src/tracing/trace.tshttps://github.com/getsentry/sentry-javascript/pull/10012/files/a1e560b0f936baab6dea467e0db28f7418b3fb18#diff-122b7bc1606233225b7009a43a77075127e8d30e9dc2f9c6fe0e008849388a2c
mydeahttps://github.com/mydea
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440545058
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Lms24https://github.com/Lms24
@lforsthttps://github.com/lforst
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 3, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1440651940
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/getsentry/sentry-javascript/pull/10012/files#diff-6a177c0f974e405d7e55f4d0155181376d92b37749269c0904cdc6e94b17ef84L97https://github.com/getsentry/sentry-javascript/pull/10012/files#diff-6a177c0f974e405d7e55f4d0155181376d92b37749269c0904cdc6e94b17ef84L97
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 4, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1441491171
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
mydeahttps://github.com/mydea
Jan 4, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1441492476
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 4, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1441530905
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
lforsthttps://github.com/lforst
Jan 4, 2024https://github.com/getsentry/sentry-javascript/pull/10012#discussion_r1441531708
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#10049https://github.com/getsentry/sentry-javascript/pull/10049
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
Return responsehttps://github.com/getsentry/sentry-javascript/pull/10012/commits/c603d11c0447b0642150e6637274aa163d38aae8
c603d11https://github.com/getsentry/sentry-javascript/pull/10012/commits/c603d11c0447b0642150e6637274aa163d38aae8
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 4, 2024 https://github.com/getsentry/sentry-javascript/pull/10012#ref-pullrequest-2065312537
build: Re-enable eslint no-unused-vars, no-control-regex and no-loss-of-precision #10049 https://github.com/getsentry/sentry-javascript/pull/10049
https://github.com/mydea
mydeahttps://github.com/mydea
a696aefhttps://github.com/getsentry/sentry-javascript/commit/a696aefc443871eadef0547ee468a149f29fab3f
Jan 4, 2024https://github.com/getsentry/sentry-javascript/pull/10012#event-11388125593
https://github.com/mydea
mydeahttps://github.com/mydea
January 4, 2024 10:34https://github.com/getsentry/sentry-javascript/pull/10012#event-11388125764
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%2F10012
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/10012/files/d2ee9e0ae80dd31a1ce7a150d0285a688cc4dcd5
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/lforst
lforst https://github.com/lforst
https://github.com/getsentry/sentry-javascript/pull/10012/files/a1e560b0f936baab6dea467e0db28f7418b3fb18
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/mydea
mydea https://github.com/mydea
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/10012
https://github.com/mydea
https://github.com/lforst
https://github.com/Lms24
https://github.com/AbhiPrasad
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.