Observability
Quorum provides correlation-aware logs and audit events so you can reconstruct what happened during evaluation, ingestion, streaming, and webhook flows.What is collected
Quorum stores two observability streams in MongoDB:app_logsfor operational logsaudit_eventsfor security and business-critical events
requestIdfromX-Correlation-IDuserIdjobId- HTTP metadata such as path, method, status code, and duration
- sanitized
metadata
Correlation ID flow
- Backend middleware reads or generates
X-Correlation-ID - Backend returns
X-Correlation-IDon responses - Frontend reuses it across API and SSE calls
- SDKs propagate it through headers and metadata
Event taxonomy
Primary event families include:auth.*evaluation.*orchestrator.*webhook.*sse.*system.*history.*results.*sdk.ingest.*
Retention policy
Key environment variables:LOG_PERSISTAPP_LOG_TTL_DAYSAUDIT_TTL_DAYS
backend/src/models/AppLog.jsbackend/src/models/AuditEvent.js
Investigation workflow
By correlation ID
- Capture
X-Correlation-ID - Query
/api/observability/search?requestId=<requestId> - Reconstruct the sequence from
app_logsandaudit_events
By job ID
- Start from the evaluation
jobId - Query
/api/observability/search?jobId=<jobId> - Review route events, orchestration milestones, webhook outcomes, and SSE activity
Operational checks
- Confirm
LOG_PERSIST=truein production - Verify TTL indexes exist for both collections
- Periodically review event volume and noise
- Ensure redaction coverage remains tested before release