Skip to content

feat(react-native): Document anrProfilingSampleRate for Android - #19274

Open
antonis wants to merge 1 commit into
masterfrom
feat/react-native-anr-profiling-sample-rate
Open

feat(react-native): Document anrProfilingSampleRate for Android#19274
antonis wants to merge 1 commit into
masterfrom
feat/react-native-anr-profiling-sample-rate

Conversation

@antonis

@antonis antonis commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

⚠️ Should be merged after getsentry/sentry-react-native#6674 is released

Documents the new anrProfilingSampleRate option for the React Native SDK on Android. When set, the SDK profiles the main thread during a detected foreground ANR and attaches the resulting flamegraph to the ANR event on the next app start.

Adds an ANR Profiling on Android section to the React Native App Hangs page, alongside the existing NDK app-hang tracking docs. It includes the billing note (powered by the Profiling platform, billed as UI Profile Hours) and links to the sentry-java ANR profiling docs for deeper detail.

Accompanies the SDK change: getsentry/sentry-react-native#6673. ANR profiling graduated out of experimental in sentry-java 8.55.0 (getsentry/sentry-java#6042), which the RN SDK now bundles.

Note

This should merge once/after the SDK release that ships anrProfilingSampleRate (the accompanying SDK PR) is out.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

Add an "ANR Profiling on Android" section to the React Native App Hangs page
documenting the new anrProfilingSampleRate option, which profiles the main
thread during a foreground ANR and attaches the profile to the ANR event.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Sep 4, 2026 8:25am UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Sep 4, 2026 8:25am UTC

Request Review

@lucas-zimerman lucas-zimerman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants