App start tracking is replaced by navigation tracking (Route Change)
See original GitHub issueEnvironment
How do you use Sentry? self-hosted(Sentry 20.11.1)
Which SDK and version? “@sentry/react-native”: “3.2.6”
Steps to Reproduce
Sentry setup:
const routingInstrumentation = new Sentry.ReactNavigationInstrumentation({
routeChangeTimeoutMs: __DEV__ ? 50000 : 10000,
});
Sentry.init({
dsn: dsn,
debug: __DEV__,
environment: environment,
release: releaseName,
dist: getBuildNumber(),
tracesSampler: samplingContext => {
return 1;
},
enableAutoSessionTracking: true,
integrations: [
new Sentry.ReactNativeTracing({
routingInstrumentation: routingInstrumentation,
}),
],
});
export default Sentry.wrap(App);
Expected Result
Still use App Start
as app start change but not Route Change
Actual Result
App Start
transaction replaced(or Rename?) to Route Change
.
When disable routingInstrumentation :
When enable routingInstrumentation:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Screen tracking for analytics | React Navigation
To track the currently active screen, we need to: Add a callback to get notified of state changes; Get the root navigator state...
Read more >Changing state on route change Next.js - Stack Overflow
So the app starts off with navActive state of false, clicking the HeaderToggleBar element opens and closes the nav. But I need to...
Read more >Route progress | Navigation SDK | Android - Mapbox docs
The Mapbox Navigation SDK's model for tracking route progress has three pieces with different levels of granularity: the route, the leg, and the...
Read more >My Track - Apps on Google Play
My Track is a small and powerful application to keep track of your route while you go around. The quite complex functionality hides...
Read more >How location tracking works with your Google Fit data - Android
Step 2: Choose location tracking options · On your device, open Settings . · Tap Apps & notifications and then Google Fit ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Without the routing integration all you get is that app start transaction. With routing enable you get a transaction for each screen. The app start one is just replaces by the routing and that’s by design
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it. Cheers!