SIGN IN SIGN UP

fix(core): send logs and metrics through one OTLP batch sender (#4623)

* fix(core): retry logs batches after exhausted transient failures

Logs classified an exhausted 408/429/5xx as `fatal`, so the batch was dropped
instead of held for the next flush cycle. Fixes #4570.

* refactor(core): send logs and metrics through one OTLP batch sender

Collapses both senders into `_sendOtlpBatch` so the retry policy is one
decision, pins the classification with a per-signal test table, and retries
408 in the browser logs and metrics adapters.

* test(core): pin the shared OTLP retryCheck

The classification cases run with retries disabled, so nothing exercised the predicate that keeps 413 out of the retry loop.

* Repair PR #4623: fix(core): send logs and metrics through one OTLP batch sender

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
A
Anna Garcia committed
be299dff71d2cf0c955efff1ca0b9cadc3b64713
Parent: cb7e4a6
Committed by GitHub <noreply@github.com> on 8/24/2026, 5:19:26 PM