Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js Application Not Responding Detection #9108

Closed
5 tasks done
AbhiPrasad opened this issue Sep 25, 2023 · 1 comment
Closed
5 tasks done

Node.js Application Not Responding Detection #9108

AbhiPrasad opened this issue Sep 25, 2023 · 1 comment
Assignees
Labels
Package: node Issues related to the Sentry Node SDK

Comments

@AbhiPrasad
Copy link
Member

AbhiPrasad commented Sep 25, 2023

#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 desktop applications that need a smooth UX.

In 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).

We 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.

Initial Beta Release

  1. timfish
  2. AbhiPrasad
  3. Blog
@AbhiPrasad
Copy link
Member Author

Closing this as we're in a pretty good state, will track blog post work as remaining item here getsentry/team-webplatform-meta#106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: node Issues related to the Sentry Node SDK
Projects
None yet
Development

No branches or pull requests

2 participants