docs(android): Document ANR profiling and fingerprinting#16816
Open
docs(android): Document ANR profiling and fingerprinting#16816
Conversation
Add documentation for two new experimental features available in SDK 8.35.0: - ANR Profiling: captures main thread stack profiles during ANR detection - ANR Fingerprinting: groups system-frame-only ANRs to reduce noise (enabled by default) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
markushi
commented
Mar 6, 2026
- Remove redundant SDK version Alert from options page - Collapse two Next Steps bullets into one Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
philipphofmann
approved these changes
Mar 6, 2026
Member
philipphofmann
left a comment
There was a problem hiding this comment.
LGTM, with two suggestions.
|
|
||
| The SDK can capture stack profiles of the main thread when an ANR is detected. The captured profile is attached to the ANR event on the next app start, providing a flamegraph on the Sentry issue details page. This gives you deeper insight into what the main thread was doing at the time of the ANR. | ||
|
|
||
| ANR profiling only captures profiles for foreground ANRs. |
Member
There was a problem hiding this comment.
m: Do people have to opt-in to profiling? Do they have to pay for profiles? I'm just curious because I don't know the answers to these questions, and maybe some users have these questions. It would be great to mention this here.
Replace the sequence diagram with a simpler flowchart for the ANR profiling section. Add a screenshot showing the ANR profile flamegraph on the issue details page. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Document two new Android SDK features available in version 8.35.0:
anrProfilingSampleRate(disabled by default).enableAnrFingerprinting.Changes across three files:
docs/platforms/android/configuration/app-not-respond.mdx— New sections with configuration examples (AndroidManifest.xml, Kotlin, Java)docs/platforms/android/configuration/options.mdx— NewSdkOptionentries for both featuresdocs/platforms/android/index.mdx— Links to new features in Next StepsRelated SDK PRs:
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: