Logs: Batch Processor Minimize Data Loss
Description
Comply with the new spec added with this PR to the BatchProcessor develop docs, which minimizes data loss by sending spans in memory in a couple of scenarios. For more info, see the project in Linear.
Most of the things mentioned should already behave as desired. Mobile team please check for
When the application moves to the background, the BatchProcessor SHOULD send all data in memory and stop the timer. This is mostly relevant for mobile SDKs.
as well as
crashes
Thanks for double-checking, @adinauer 😃 . Crashes are out of scope for this issue. We are going to tackle these after merging https://github.com/getsentry/sentry-docs/pull/15274.