Make Sentry features selectable in wizard
Right now, our wizards are very opinionated and enable Sentry features by default (e.g. performance monitoring and Replay). On the one hand, this is super convenient for users as the setup is very easy as a result. However, we've had multiple occasions where users didn't want a specific feature (e.g. #554). Also for billing and quota management it'd make sense to give users more control over which features they want to enable within the SDK.
Rough plan:
- Ask user if they want to configure sentry features or add everything by default (think of normal vs expert mode in good old windows installers :D)
- Allow feature selection for main Sentry features:
- Errors (always)
- ~~Performance~~ Tracing
- Replay (if applicable)
- Profiling (if applicable)
- If it makes sense, make framework SDK specific features selectable per wizard (whatever makes sense for the platform)
- let's be cautios here: Only do this if there's a legit reason that users would not want to enable a feature.
- Update wizard develop spec that wizards should allow more configuration (i.e. move away from being very opinionated)
High Prio
- [X] SDK feature Selection for JS Frameworks · Issue #622 · getsentry/sentry-wizard
- [ ] Apple
- [ ] Android
- [ ] React Native
- [ ] Add support for auto React Navigation setup · Issue #880 · getsentry/sentry-wizard
- [X] feat(flutter): Add Flutter support by denrase · Pull Request #735 · getsentry/sentry-wizard
Low-Prio
- [ ] Electron
- [ ] Cordova
- idea If we walk users through configuring the products they want, we could also ask them if they want us to optimize for bundle size and configure tree shaking according the products they selected
Once SR is GA and profiling on Android is fixed, we're going to fix this issue for all mobile platforms in one go.
For RN we should support auto set up for navigation libs like Expo Router and React Navigation if we offer enabling tracing. https://github.com/getsentry/sentry-wizard/issues/880
Without the navigation integration users would not get any automatic transactions.