Monitoring
| Signal | Where | Auth |
|---|---|---|
| Health | GET /health | Public, version-neutral |
| Metrics | GET /metrics | JWT bypass. Network policy unknown |
| Logs | Pino, APP_LOG_LEVEL | Containers force JSON and default info |
| Errors | Sentry from src/instrument.ts | 5xx responses, terminal Bull failures, TrackedCron, outbox consumer failures, reportError calls |
| Queues | /admin/queues | Basic auth BULL_BOARD_USER / BULL_BOARD_PASSWORD |
Bull Board registration that was read includes webhook, sync, inventory, stock upload, and webhook health. Other queues can be running without a board card.
The outbox is not a Bull queue. Inspect OutboxEvent status (PENDING, PROCESSING, PROCESSED, DEAD) in the database. There is no replay UI identified in this pass.
Alerts that exist in code
- Sentry capture on HTTP status >= 500.
- Sentry on the terminal Bull attempt in
BaseQueueProcessor. - Sentry when a tracked cron throws.
- Sentry when an outbox consumer fails for the first time, and as
fatalwhen its event goesDEAD. Tags:event.type,consumer,attempt. - Sentry when an
@OnLocalEventlistener fails. - Sentry from
reportErrorin catch blocks that continue past one failed item (one order in a sync, one shipment in a sweep).
Every event carries tenant, actor and correlation_id tags when the work ran in a tenant or system context.
A dashboard or paging policy beyond that was not in the application source that was read.