Title: Node.js Application Not Responding Detection · Issue #9108 · getsentry/sentry-javascript · GitHub
Open Graph Title: Node.js Application Not Responding Detection · Issue #9108 · getsentry/sentry-javascript
X Title: Node.js Application Not Responding Detection · Issue #9108 · getsentry/sentry-javascript
Description: #9027 getsentry/sentry-electron#729 raised the idea of doing Application Not Responding (ANR) detection in the Electron SDK. ANR's are a mobile concept typically (we also use the phrasing App Hangs for iOS), but are also valuable for des...
Open Graph Description: #9027 getsentry/sentry-electron#729 raised the idea of doing Application Not Responding (ANR) detection in the Electron SDK. ANR's are a mobile concept typically (we also use the phrasing App Hangs...
X Description: #9027 getsentry/sentry-electron#729 raised the idea of doing Application Not Responding (ANR) detection in the Electron SDK. ANR's are a mobile concept typically (we also use the phrasing App H...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/9108
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Node.js Application Not Responding Detection","articleBody":"https://github.com/getsentry/sentry-javascript/discussions/9027\r\n\r\nhttps://github.com/getsentry/sentry-electron/issues/729 raised the idea of doing [Application Not Responding](https://developer.android.com/topic/performance/vitals/anr) (ANR) detection in the Electron SDK. ANR's are a mobile concept typically (we also use the phrasing App Hangs for iOS), but are also valuable for desktop applications that need a smooth UX.\r\n\r\nIn JavaScript this is especially valuable as there is only one thread. The event loop hanging on the main thread effectively means no work can get done, which is a huge performance problem for browser, react native, electron, and server runtimes (node, bun).\r\n\r\nWe should figure out a way to automatically detect ANRs in Node.js and report them to users. If we can, we should also attempt to attach a stacktrace or similar so users can figure out the source of the ANR and fix it directly.\r\n\r\n```[tasklist]\n### Initial Beta Release\n- [ ] https://github.com/getsentry/sentry-javascript/pull/9079\n- [ ] https://github.com/getsentry/sentry-docs/pull/7943\n- [x] ~Make it work for node cluster~ Skipped because of complexity, will wait till users request to keep working on it\n- [x] https://www.notion.so/sentry/Vanguard-ANR-for-Node-js-be02189aa5b748b18641a7309b1a45c6\n- [ ] https://github.com/getsentry/team-webplatform-meta/issues/106\n```","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2023-09-25T15:13:43Z","url":"https://github.com/getsentry/sentry-javascript/issues/9108"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:addfc707-423b-24af-e5d6-ec6c23131a3c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC86:1B10FF:E6DD8C:12E37F8:6B04E88D |
| html-safe-nonce | bd2ecce435ee943d8e71e2933b8575a40fd11991c9b1b060d25f0fdc909b41e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzg2OjFCMTBGRjpFNkREOEM6MTJFMzdGODo2QjA0RTg4RCIsInZpc2l0b3JfaWQiOiIzNTAzMzA0MTUxMTA5MjY1NTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 548bba8f45f99dd47333f32b39caebcc67ad800ebe449d268c72c15e57c1e76c |
| hovercard-subject-tag | issue:1911735686 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/9108/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f4f09128649922b20d7779f1be4b89360ca909b1782be487dd794199334728a/getsentry/sentry-javascript/issues/9108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f4f09128649922b20d7779f1be4b89360ca909b1782be487dd794199334728a/getsentry/sentry-javascript/issues/9108 |
| og:image:alt | #9027 getsentry/sentry-electron#729 raised the idea of doing Application Not Responding (ANR) detection in the Electron SDK. ANR's are a mobile concept typically (we also use the phrasing App Hangs... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | f3851aad500d8e8dce736722ddc6fa9596e17d9fce3c53581eba968664c0bc32 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e29c922455fd8137f27e1cfcdf6a1e8b920b1926 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width