Skip to content

Add Device Level Mobile App Profiling Metrics #3389

Closed

Description

@KatePetersonFD

We recently upgraded our SDK version to 5.12.0 in order to take advantage of profiling. During our initial test run we were able to add component tracking on a higher level component using the withProfiler hook and analyze the results with a small subset of users.

We are now interested in collecting device level metrics such as battery, CPU, and memory usage. We saw this feature is available for Mobile App Profiling, but not yet for react-native. We also had a chance to speak to one of your solutions engineers, and they showed us how we could potentially use custom instrumentation and custom metrics to achieve the desired result. However, for our organization they are likely to push-back on this custom instrumentation and want to leverage something more "out-of-the-box".

Ultimately, this feature would enable us to complete AB testing of our app and see how changes are impacting different devices and operating systems.

In addition, it would be great to track the number of re-renders that occur on different pages (thought I would throw it in there as a nice to have!).

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Nov 13, 2023
  2. kahest commented on Nov 14, 2023

    @kahest
    Contributor

    Hi @KatePetersonFD, thanks for writing in and for your interest in Profiling and this feature. We're currently working on mixed Profiles (JS + iOS/Android native Profiles) and want to explore adding Profiling CPU/Mem metrics at a later time.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀on Nov 14, 2023
  4. krystofwoldrich commented on Nov 17, 2023

    @krystofwoldrich
    Contributor

    RN Profiling on iOS adds measurements in #3349

    We still need to enable this in the profiling view in the product. getsentry/sentry#59989

  5. antonis commented on Jun 16, 2026

    @antonis
    Contributor

    Closing this as device-level profiling metrics are now collected for React Native profiles on both platforms:

    These measurements are included in the profile events sent to Sentry and are visible in the profiling UI (sentry/sentry#59989 is resolved).

  6. self-assigned this
    on Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions