You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Device Level Mobile App Profiling Metrics #3389
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!).
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.
Activity
kahest commentedon Nov 14, 2023
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.
krystofwoldrich commentedon Nov 17, 2023
RN Profiling on iOS adds measurements in #3349
We still need to enable this in the profiling view in the product. getsentry/sentry#59989
antonis commentedon Jun 16, 2026
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).