feat(logshipper): support dynamic OmniLogger credentials

- Add per-service OmniLogger credentials to core config and update subscriptions.
- Follow config pushes and enforce entry and request size limits.
- Requeue batches after transient send failures.
This commit is contained in:
Gabriel20xx committed 2026-11-20 21:45:45 +01:00
1 parent 76bf5916fe
commit 8701874efb
20 files changed
+4908 -61

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@gabriel20xx/node-backend": patch
---
Adds `LogShipper`, `createLogShipperFromEnv` and `mirrorConsole` (`src/logshipper.js`): batches log entries and sends them to OmniLogger's `/api/logs`. Shipping is enabled only when `OMNILOGGER_URL` and `OMNILOGGER_INGEST_TOKEN` are both set, and otherwise the factory returns `null`.