-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Not measuring App Start on consequent start #4286
Comments
Thank you @rodolfoBee for the details. To investigate this, we would need the JS logs from the second application start. From what I can see in the screenshots the reason for the shorter TTID is the missing app start as you mentioned. There are multiple reasons for the app start to be missing, the logs would help us to investigate it further. sentry-react-native/packages/core/src/js/tracing/integrations/appStart.ts Lines 219 to 255 in e0ccb78
|
What React Native libraries do you use?
Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.1.0
How does your development environment look like?
NA
Sentry.init()
const nativeTracingIntegration = Sentry.reactNativeTracingIntegration({
idleTimeoutMs: 20000
});
const navigationIntegration = Sentry.reactNavigationIntegration({
enableTimeToInitialDisplay: true,
routeChangeTimeoutMs: 20000,
ignoreEmptyBackNavigationTransactions: false
});
Sentry.init({
dsn: CONFIG.SENTRY.DSN,
enableAutoSessionTracking: true,
environment: CONFIG.SENTRY.ENVIRONMENT,
normalizeDepth: 5,
tracesSampleRate: 1,
profilesSampleRate: 0,
integrations: [nativeTracingIntegration, navigationIntegration],
debug: DEV,
});
Steps to Reproduce
I was not able to reproduce due to the lack of available test devices.
Expected Result
The measurement you make matches the TTID shown in the Sentry transactions reported by the application.
Actual Result
The TTID reported when the application is opened for the second time (step 4) does not match the measurements made.
In the tests, both load time take about 7 seconds. The first trace reported by sentry contains the cold start measurement and matches the user loading time experience:
The second app start also takes about 7 seconds, but the transaction and TTID display in Sentry do not reflect it:
The second transaction also do not report the app as "cold start".
The text was updated successfully, but these errors were encountered: