Warm and Cold start metrics not reported
See original GitHub issueEnvironment
How do you use Sentry? RN app on iOS only Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?): Sentry.io
Which SDK and version? 3.0.1 e.g: JavaScript 5.11.1, .NET 1.2.0
Steps to Reproduce
- Wrapped app with
Sentry.wrap(App)
Expected Result
Cold and warm start metrics automatically captured as the docs suggest.
Actual Result
Cold/warm start is blank for our project’s performance tab.
I spent some time poking around the sentry-cocoa iOS pod and can see that app start logging is enabled. However there are many cases where if the hybrid SDK is enabled, it returns early. Comments suggest that the hybrid SDK (which I assume would be this library) will handle cold/warm start metrics. However I can’t find any references to cold/warm in this library.
I’m not sure how all of this is supposed to work. After modifying some code and putting breakpoints in locally (also enabling logging on dev builds), I’m seeing some numbers but this is clearly from my debugging (30+ seconds of cold start, ha):
We have no cold/warm start traces from testers at all, all of our other automatic logging is working.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
@rnystrom App start measurements should be attached to transactions with
op: "ui.load"
. So I would sample those if you are looking to enable traces one-by-one intracesSampler
.Actually may have solved this accidentally by enabling 100% sampling for navigation events.
Is that how this works?