Skip to content
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

App Start measurement has large (days, months) values on iOS #2295

Closed
bruno-garcia opened this issue Jun 16, 2022 · 5 comments
Closed

App Start measurement has large (days, months) values on iOS #2295

bruno-garcia opened this issue Jun 16, 2022 · 5 comments

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Jun 16, 2022

A customer with large scale has several transactions with App Start consisting of days/weeks/months.

This happens on iOS but not on Android.

iOS App Start code: https://github.com/getsentry/sentry-cocoa/blob/472d14683103300272ffaf6377385c49a41572dc/Sources/Sentry/SentryAppStartTracker.m#L100-L131

SDK version 3.4.0

@marandaneto
Copy link
Contributor

@philipphofmann after your workaround to not report huge app start for iOS, is PrivateSentrySDKOnly.appStartMeasurement gonna return null? if so, we don't need to do anything here right now.

@philipphofmann
Copy link
Member

Yes, PrivateSentrySDKOnly.appStartMeasurement is going to return nil. If you can, please wait for 7.18.0, which should be out today or tomorrow. Again contains some fixes related to this.

@marandaneto
Copy link
Contributor

marandaneto commented Jun 22, 2022

https://dev.to/pyricau/android-vitals-when-did-my-app-start-24p4
Apparently Android already can give you some weird values due to different reasons and the recommendation is to filter out App start with more than a minute, we should do that as well.

Edit: getsentry/sentry-java#2127

@marandaneto
Copy link
Contributor

I could not reproduce it on my end, we've filtered out app starts with more than 60s, let's wait for more feedback or repro cases, and let's watch the app start data from now on.

@philipphofmann
Copy link
Member

Most likely related to getsentry/sentry-cocoa#1897 and getsentry/sentry-cocoa#1849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants