Skip to content

Mobile Vitals #3181

Open
Open

Description

@bitsandfoxes

[!NOTE]
Add maui here to relay - otherwise maui spans wont get attributes like device.class
and on hybrids we get these device attributes directly from the native SDKs e.g InternalSentrySdk.getCurrentScope() in native Android api

  • ios needs device.model
  • android needs device.processor_frequency, device.processor_count and device.memory_size
    sent as context / attribute on the span (and also on error events)

Summary

What are Mobile Vitals

App start

App Start

Initial React Native implementation here:

The changelog has over 35 other mentions of App Start though so evolved quite a bit from there, including:

Docs:

Frame Delay

Slow and Frozen Frames

Additional references

React Native implementation

Frozen frames, not Frame delay:

TTID

Time to Initial Display

Android:

  • The Sentry Android SDK already includes FirstDrawDoneListener (an OnDrawListener on ViewTreeObserver). Since that SDK is embedded in our project, we may be able to call it
    directly from the managed layer rather than reinventing it.

iOS:

  • Everything hinges on SentryFramesTracker being active (enableAutoPerformanceTracing must be set). We need a one-shot listener callback from it — currentScreenFrames is already
    in the bindings but the listener protocol for frame-by-frame callbacks likely isn't, so there's probably some Cocoa binding work needed.

Both platforms:

  • The MAUI navigation equivalent of react-native-screens's ScreenAppearEvent / viewDidAppear is a MAUI page's OnAppearing — that's the natural hook point for starting frame
    detection.

Additional References

Time to Full Display

Time to Full Display

Activity

  1. bitsandfoxes commented on Feb 29, 2024

    @bitsandfoxes
    ContributorAuthor
  2. added
    Feature
    on Feb 29, 2024
  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Apr 23, 2024
  4. bitsandfoxes commented on Apr 23, 2024

    @bitsandfoxes
    ContributorAuthor

    Sadly, I don't have an ETA for these just yet. But your timing is great. We're looking into prioritizing this and having some idea how much benefit this would give helps out greatly.

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Apr 23, 2024
  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jun 25, 2024
  7. 20 remaining items

  8. bruno-garcia commented on Mar 12, 2025

    @bruno-garcia
    Member

    For the record, got a few Feedbacks in Sentry from MAUI customers asking about App Starts and general Mobile Vitals support.

  9. jamescrosswell commented on Mar 17, 2025

    @jamescrosswell
    Collaborator

    For the record, got a few Feedbacks in Sentry from MAUI customers asking about App Starts and general Mobile Vitals support.

    I've bumped the priority on this.

  10. removed theissue type on Aug 6, 2025
  11. Syed-RI commented on Aug 21, 2025

    @Syed-RI

    Upvote! Implement, concur 🔆

  12. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Aug 21, 2025
  13. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Aug 25, 2025
  14. added
    .NET
    on Mar 24, 2026
  15. jamescrosswell commented on Mar 31, 2026

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

Metadata

Metadata

Labels

.NET4: highFeatureFramework: MAUI

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions