What is Sentry, and how does it compare to Firebase Crashlytics in terms of the additional contextual information and features it provides for diagnosing an error?
Short answer
Sentry is another popular error monitoring and crash reporting platform, generally offering a somewhat richer set of features compared to Crashlytics, including detailed breadcrumbs showing the specific sequence of actions a user actually took leading up to an error, the ability…
Advertisement
AModel answer
Sentry is another popular error monitoring and crash reporting platform, generally offering a somewhat richer set of features compared to Crashlytics, including detailed breadcrumbs showing the specific sequence of actions a user actually took leading up to an error, the ability to attach genuinely custom contextual data such as which specific feature flag was active or which screen the user was viewing, session replay in some configurations, and generally more flexible search and filtering capabilities for exploring reported errors, and the right choice between Sentry and Crashlytics for a specific team often depends on their broader existing tooling ecosystem and specific feature requirements.
await Sentry.captureException(error, stackTrace: stackTrace, withScope: (scope) {
scope.setTag('screen', 'checkout');
});Real-world example
A team investigating a difficult, hard to reproduce checkout bug uses Sentry's detailed breadcrumb feature to see the exact specific sequence of screens and actions a user took immediately before the reported error actually occurred, significantly speeding up their diagnosis.
Likely follow-ups
- How does Sentry's pricing model generally compare to Firebase Crashlytics?
- Can Sentry and Crashlytics both reasonably be used together within the exact same app?
Related topics