René's URL Explorer Experiment


Title: Support/make use of Async Hooks · Issue #3660 · getsentry/sentry-javascript · GitHub

Open Graph Title: Support/make use of Async Hooks · Issue #3660 · getsentry/sentry-javascript

X Title: Support/make use of Async Hooks · Issue #3660 · getsentry/sentry-javascript

Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Provide a link to the aff...

Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/3660

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support/make use of Async Hooks","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [ ] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [x] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [ ] other:\r\n\r\n### Version:\r\n\r\n```\r\n6.5.1\r\n```\r\n\r\n## Description\r\n\r\nI've talked about this extensivly in https://github.com/getsentry/sentry-javascript/issues/2172.\r\nBut since that issue seems to have stalled and others are also seeming to request this (see https://github.com/getsentry/sentry-javascript/issues/2817#issuecomment-756864140) I thought it would be nicer to open an official dedicated issue.\r\n\r\nWhy:\r\n* Better and out of the box propper transactions and context handling.\r\n* Should fix issues like breadcrumbs not being properly attached to the right error/transaction.\r\n\t* See https://github.com/getsentry/sentry-javascript/issues/3120 and https://github.com/getsentry/sentry-javascript/issues/2817#issuecomment-855163926\r\n* Should fix issues of child spans not being correctly attached to the right transaction.\r\n\t* See https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362\r\n* Domains are deprecated and have performance and error handling issues.\r\n\t* See https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-845804452\r\n* Domains don't seem to actually properly work.\r\n\t* See https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362\r\n\r\nSome examples of agents who do use Async Hooks: \r\n* googleapis/cloud-trace-nodejs\r\n\t* I can personally confirm this one works out of the box and does tracing correctly\r\n* honeycombio/beeline-nodejs\r\n* elastic/apm-agent-nodejs\r\n* https://github.com/DataDog/dd-trace-js/tree/master/packages/dd-trace\r\n\r\nAtm I don't see how one can use Sentry's performance offering using Node without this being fixed (unless you only serve 1 request at the same time, which isn't realistic).\r\nI hope I'm missing something since we do want to use your offering but don't see a way of doing that at this time.","author":{"url":"https://github.com/AdriVanHoudt","@type":"Person","name":"AdriVanHoudt"},"datePublished":"2021-06-09T12:47:41Z","url":"https://github.com/getsentry/sentry-javascript/issues/3660"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5b82cb2d-e52b-7700-2a07-739d6c5644f0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id953C:3F5E9C:373D579:485308A:6B043F5E
html-safe-noncea637dc687042c2b75b36e548e307ecd0a25a00421e6523edc2061b949ebd37c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTNDOjNGNUU5QzozNzNENTc5OjQ4NTMwOEE6NkIwNDNGNUUiLCJ2aXNpdG9yX2lkIjoiMTc5NDI4ODgwNzg1MzkxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac941559568ec6054858ceff09320426e34aefd31269e087674a7d327a3ba67728
hovercard-subject-tagissue:916162624
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/3660/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a764b40ca9343964dd34e17283e3cd126f9922fef2fd2ea363b92eaa0e7704f2/getsentry/sentry-javascript/issues/3660
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a764b40ca9343964dd34e17283e3cd126f9922fef2fd2ea363b92eaa0e7704f2/getsentry/sentry-javascript/issues/3660
og:image:altReview the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAdriVanHoudt
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/3660#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F3660
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%2Fissues%2F3660
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3660
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3660
Reloadhttps://github.com/getsentry/sentry-javascript/issues/3660
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
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3660
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3660
Support/make use of Async Hookshttps://github.com/getsentry/sentry-javascript/issues/3660#top
https://github.com/AbhiPrasad
Introduce AsyncContextStrategyhttps://github.com/getsentry/sentry-javascript/milestone/24
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issue-916162624
https://docs.sentry.io/https://docs.sentry.io/
https://github.com/getsentry/sentry-javascript/issueshttps://github.com/getsentry/sentry-javascript/issues
https://github.com/getsentry/sentry-javascript/releaseshttps://github.com/getsentry/sentry-javascript/releases
#2172https://github.com/getsentry/sentry-javascript/issues/2172
#2817 (comment)https://github.com/getsentry/sentry-javascript/issues/2817#issuecomment-756864140
All global breadcrumbs appear in all captured exceptions. #3120https://github.com/getsentry/sentry-javascript/issues/3120
[Call for Feedback] Roadmap to Sentry JavaScript SDK v7 #2817 (comment)https://github.com/getsentry/sentry-javascript/issues/2817#issuecomment-855163926
Feature request: proper full hapi support #2172 (comment)https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362
Feature request: proper full hapi support #2172 (comment)https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-845804452
Feature request: proper full hapi support #2172 (comment)https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362
https://github.com/DataDog/dd-trace-js/tree/master/packages/dd-tracehttps://github.com/DataDog/dd-trace-js/tree/master/packages/dd-trace
Nexthttps://github.com/getsentry/sentry-javascript/issues/3660?timeline_page=1
AdriVanHoudthttps://github.com/AdriVanHoudt
Status: Needs Triagehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Triage%22
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#event-4864802709
https://github.com/mitsuhiko
mitsuhikohttps://github.com/mitsuhiko
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-857692877
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-857718866
#2172 (comment)https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362
https://github.com/jpike88
jpike88https://github.com/jpike88
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-857721623
https://github.com/mitsuhiko
mitsuhikohttps://github.com/mitsuhiko
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-857879568
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jun 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-857898457
https://nodejs.org/docs/latest-v14.x/api/domain.html#domain_domain_enterhttps://nodejs.org/docs/latest-v14.x/api/domain.html#domain_domain_enter
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jun 15, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-861275150
https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-async-hookshttps://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-async-hooks
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Jun 16, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-862305447
https://github.com/hydra-newmedia/hapi-sentryhttps://github.com/hydra-newmedia/hapi-sentry
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jun 18, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-863838661
https://github.com/hydra-newmedia/hapi-sentryhttps://github.com/hydra-newmedia/hapi-sentry
#2172 (comment)https://github.com/getsentry/sentry-javascript/issues/2172#issuecomment-850447362
https://github.com/Salesflare/hapi-plugin-mysqlhttps://github.com/Salesflare/hapi-plugin-mysql
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Jun 18, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-863862220
https://github.com/AdriVanHoudt
AdriVanHoudthttps://github.com/AdriVanHoudt
on Jul 2, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-872858401
@kamilogorekhttps://github.com/kamilogorek
https://github.com/CesarLanderos
CesarLanderoshttps://github.com/CesarLanderos
on Aug 9, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-895607216
AbhiPrasadhttps://github.com/AbhiPrasad
Package: nodehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20node%22
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Type: Featurehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Feature%22
on Sep 30, 2021https://github.com/getsentry/sentry-javascript/issues/3660#event-5389112593
https://github.com/jasonk
jasonkhttps://github.com/jasonk
on Oct 27, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-953315317
AbhiPrasadhttps://github.com/AbhiPrasad
Status: Stalehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
on Nov 4, 2021https://github.com/getsentry/sentry-javascript/issues/3660#event-5569341973
https://github.com/jasonk
jasonkhttps://github.com/jasonk
on Nov 12, 2021https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-967464568
https://gist.github.com/jasonk/a06153476ae7fad41c527e321e318088https://gist.github.com/jasonk/a06153476ae7fad41c527e321e318088
https://github.com/frimuchkov
frimuchkovhttps://github.com/frimuchkov
on May 7, 2022https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-1120085923
smeubankhttps://github.com/smeubank
Workflow 2.0: JS Improvement for Grouping Errorshttps://github.com/getsentry/sentry-javascript/milestone/17
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
on Jun 20, 2022https://github.com/getsentry/sentry-javascript/issues/3660#event-6839535631
HazAThttps://github.com/HazAT
Feature: Async Hookshttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Feature%3A%20Async%20Hooks%22
on Jan 26, 2023https://github.com/getsentry/sentry-javascript/issues/3660#event-8361622767
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Apr 4, 2023https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-1495911805
#7691https://github.com/getsentry/sentry-javascript/issues/7691
domains actually use async_hooks under the hoodhttps://github.com/nodejs/node/blob/main/lib/domain.js#L52
AbhiPrasadhttps://github.com/AbhiPrasad
on Apr 4, 2023https://github.com/getsentry/sentry-javascript/issues/3660#event-8924100673
AbhiPrasadhttps://github.com/AbhiPrasad
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
on Apr 4, 2023https://github.com/getsentry/sentry-javascript/issues/3660#event-8924101279
AbhiPrasadhttps://github.com/AbhiPrasad
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
Introduce AsyncContextManagerhttps://github.com/getsentry/sentry-javascript/milestone/24
on Apr 6, 2023https://github.com/getsentry/sentry-javascript/issues/3660#event-8945641068
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Apr 14, 2023https://github.com/getsentry/sentry-javascript/issues/3660#issuecomment-1508328799
7.48.0https://github.com/getsentry/sentry-javascript/releases/tag/7.48.0
https://docs.sentry.io/platforms/node/configuration/async-context/https://docs.sentry.io/platforms/node/configuration/async-context/
AbhiPrasadhttps://github.com/AbhiPrasad
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 14, 2023https://github.com/getsentry/sentry-javascript/issues/3660#event-9006697775
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/3660
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/3660
AbhiPrasadhttps://github.com/AbhiPrasad
Introduce AsyncContextStrategyhttps://github.com/getsentry/sentry-javascript/milestone/24
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.