-
-
Notifications
You must be signed in to change notification settings - Fork 354
Description
I saw sent here after a few rounds of conversation with Sentry customer support.
OS:
- Windows
- MacOS
- Linux
Platform:
- iOS
- Android
SDK:
-
@sentry/react-native(>= 1.0.0) -
react-native-sentry(<= 0.43.2)
SDK version: 5.22.0
react-native version: 0.72.7
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
Here are some sample transactions that are extremely long:
Configuration:
Sentry.init({
appHangTimeoutInterval: 5, // seconds
dsn: heyloConfig.SENTRY_DSN,
enableAutoPerformanceTracing: true,
enableAutoSessionTracking: true,
environment: Config.BUILD_VARIANT_STRING,
integrations: [
new Sentry.ReactNativeTracing({
enableAppStartTracking: true,
enableNativeFramesTracking: true,
enableStallTracking: true,
enableUserInteractionTracing: true,
routingInstrumentation,
// Uncomment to sample subsequent navigations to a route already seen
// ignoreEmptyBackNavigationTransactions: true,
}),
],
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
// We recommend adjusting this value in production.
tracesSampleRate: 0.01,
})
I have the following issue:
We are seeing a lot of extremely long automatic react-navigation transactions. It looks like the app start time is used even if it was hours or days ago. E.g. the app starts 1 day ago, so we'll have a app.start.warm event 1 day ago, 1 day worth of "missing instrumentation", and then a navigation.processing event. These are causing our p50, p75, p95 and p99 metrics to be essentially useless for optimization work.
Ideally, app start events would only be included in the transaction of the very next navigation in the app's lifecycle. Right now, it seems like the app start events are being included in all navigation transactions.
I found some old Github issues describing a similar sounding bug. Perhaps it has re-emerged? #3044
Metadata
Metadata
Assignees
Labels
Projects
Status
Status