Playbook: Incident Response
This guide provides steps for responding to platform-level incidents within CortexOps.
1. High Ingestion Lag
Symptom: nats_stream_lag is increasing; incidents appear late in Grafana.
Action:
- Check Correlator logs:
docker compose logs correlator.
- Verify NATS health:
curl http://localhost:8222/varz.
- Scale the correlator service if CPU/Memory limits are breached.
2. Failed AI RCA
Symptom: RCA reports show IsDegraded=true.
Action:
- Check Qdrant availability:
curl http://localhost:6333/healthz.
- Verify LLM API connectivity.
- The system will continue to remediate using raw telemetry; no immediate action is required unless the degraded mode persists.
3. Stalled Remediations
Symptom: Workflows in Temporal UI are stuck in RUNNING for >10 minutes.
Action:
- Check Remediation Worker logs:
docker compose logs remediation.
- Verify the task queue is not backed up in the Diagnostics API.
- If the worker crashed, simply restart the container; Temporal will resume the workflow.