-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop reporting pre warmed app starts #1849
Comments
This guy (an Apple dev I think) says to use |
I can confirm that we have an issue with iOS 15 with measuring the app start time. Since iOS 15, the OS might decide to prewarm your app before a user opens it to speed up app start. A quick investigation of app start data of a big customer of ours showed me that the app start is greater than 1 minute on around 5% of transactions containing app start measurements. Ideally, we should switch to MetricKits MXAppLaunchMetric, which is available for iOS 13 and above. We could drop app start measurements if their duration is bigger than a defined threshold for a quick fix. |
Since iOS 15, the system might decide to pre-warm your app before the user tries to open it. In such cases, we can't reliably measure the app start, and we drop it. Otherwise, we would get app start times ranging from one minute to even days. Fixes GH-1849
This is a hot fix. Proper fix will be done in #1897. |
With getsentry/sentry-cocoa#1849, we stop reporting pre warm app starts. Add a note to the docs to avoid confusion.
With getsentry/sentry-cocoa#1849, we stop reporting pre warm app starts. Add a note to the docs to avoid confusion.
Since iOS 15, the system might decide to pre-warm your app before the user tries to open it. In such cases, we can't reliably measure the app start, and we drop it. Otherwise, we would get app start times ranging from one minute to even days. Fixes GH-1849
With getsentry/sentry-cocoa#1849, we stop reporting pre warm app starts. Add a note to the docs to avoid confusion.
Description
Measuring the app start time could be unreliable on iOS 15, see
Because of
https://sourcediving.com/solving-mysterious-logout-issues-on-ios-15-8b818c089466
Investigate if our logic in SentryAppStartTracker is impacted by that.
The text was updated successfully, but these errors were encountered: