-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Add the option to ignore non fully blocking app hangs #3492
Labels
Comments
github-project-automation
bot
moved this to Needs Discussion
in Mobile & Cross Platform SDK
Dec 13, 2023
philipphofmann
moved this from Needs Discussion
to Backlog
in Mobile & Cross Platform SDK
Dec 20, 2023
philipphofmann
added a commit
that referenced
this issue
Aug 12, 2024
7 tasks
philipphofmann
added a commit
that referenced
this issue
Aug 13, 2024
Add SentryFramesDelayResult containing framesContributingToDelayCount, which is the count for the frames that contributed to the frames delay count. This is required for GH-3492.
This was referenced Aug 13, 2024
philipphofmann
added a commit
that referenced
this issue
Aug 14, 2024
Add SentryFramesDelayResult containing framesContributingToDelayCount, which is the count for the frames that contributed to the frames delay count. This is required for GH-3492.
philipphofmann
added a commit
that referenced
this issue
Aug 16, 2024
Add SentryFramesDelayResult containing framesContributingToDelayCount, which is the count for the frames that contributed to the frames delay count. This is required for GH-3492.
philipphofmann
added a commit
that referenced
this issue
Aug 16, 2024
Add the logic for non-fully-blocking app hangs when the frame delay exceeds 99%. This is required for GH-3492.
philipphofmann
added a commit
that referenced
this issue
Aug 16, 2024
Add the logic for non-fully-blocking app hangs when the frame delay exceeds 99%. This is required for GH-3492.
7 tasks
philipphofmann
added a commit
that referenced
this issue
Aug 16, 2024
Add the logic for non-fully-blocking app hangs when the frame delay exceeds 99%. This is required for GH-3492.
philipphofmann
added a commit
that referenced
this issue
Sep 30, 2024
Expose the AppHangsV2 algorithm with the options enableAppHangTrackingV2 and enableReportNonFullyBlockingAppHangs. Fixes GH-3492
github-project-automation
bot
moved this from In Progress
to Done
in Mobile & Cross Platform SDK
Oct 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Our app hang logic detects app hangs that don't fully block the main thread, which leads to inaccurate stack traces for such app hang events because the app hang logic might fire a bit too late to capture the proper stack trace responsible for the app hang. For some customers non-fully-blocking app hangs are noise, and they often disable the whole feature. Instead, we could provide an option only to report fully blocking app hangs. The option could be an enum something like reportAppHangLevel with (we have to come up with better names)
Implementation
To achieve this, we have to change our implementation a bit and might have to combine it with the CADisplayLink, which we already use for the SentryFramesTracker, but we have to be careful cause this can increase the CPU overhead, as pointed out here
sentry-cocoa/Sources/Sentry/include/SentryANRTracker.h
Lines 13 to 20 in f25febb
Related GH discussion: #2715
Related GH issue for linking app hangs to profiles #3493.
Tasks
The text was updated successfully, but these errors were encountered: