sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Logs: Batch Processor Minimize Data Loss

Open philipphofmann opened this issue 2 months ago • 3 comments

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.

philipphofmann avatar Oct 22 '25 07:10 philipphofmann

JAVA-211

linear[bot] avatar Oct 22 '25 07:10 linear[bot]

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

adinauer avatar Nov 03 '25 09:11 adinauer

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.

philipphofmann avatar Nov 03 '25 15:11 philipphofmann