Anomaly in reported crashed sessions
A user reported a negative crash-free rate. We figured out that there's a single 10-second interval in which a very high number of crashed sessions was reported, but the number of total sessions remained stable:
This looks suspicious for two reasons:
- The number itself seems unreasonably high.
-
sessions.allmust always be larger thansessions.crashed. If the crashed number is higher, it means that the SDK reported session updates withinit: falsefor which it has never reported the initial update withinit: true.
Could there be a reporting bug in the electron SDK which causes large numbers of session updates to be flushed without init: true?
Zendesk ticket with URL to the API request shown above: https://sentry.zendesk.com/agent/tickets/124592
When this issue closes, 5.4.0 will be published to npm. This has a fix for multiple sessions being recorded when there are multiple renderer crashes in a single session. Let us know if this fixes this issue!
Closing this for clean up - please re-open if the issue is still there!