3.4 — Observability and Monitoring at Scale
CCAR-P Domain 3 · Task 3.4
What You Need to Know
LLM systems break anecdote debugging: non-deterministic, so a single re-run proves nothing. A green uptime dashboard says nothing about answer quality.
The Trace Is the Unit
Capture per request: prompt version, model id, retrieved context, tool calls + results, tokens, cost, latency, response. Correlation ids stitch multi-stage pipelines into one record.
Two Tiers at Scale
- Cheap aggregates on every request — latency percentiles, token spend, error/refusal/tool-failure rates
- Expensive full payloads on a sample + every detected failure — sampling rates, retention, redaction are architecture decisions
Quality Is Not an Infrastructure Metric
Uptime/error/latency can all be green while the system produces rubbish. Quality needs its own signal: automated evaluation on sampled production traffic, scored against a calibrated rubric/judge.
Drift Shows in Cheap Signals
Token spend per request, refusal rates, tool-failure rates, input-length drift. Alert on tail percentiles, not averages.
Exam Traps
- Adding more uptime/latency alerting when support reports wrong answers
- Debugging by re-running the input a few times
- Persisting full prompts/outputs for every request indefinitely
- Tracing single calls without correlation ids in a multi-stage pipeline
Check your understanding
Practice Scenario
🔒 This practice scenario is part of Skillmarked Pro
The lessons stay free. Pro unlocks the other 32 CCAR-P practice scenarios and the 63-question timed mock exam, plus everything for every other exam.
Cancel anytime. Or €199 a year, which saves 17%.
Not sure yet? Try 10 free mock exam questions.
Already Pro? Log in.
Sources
- OpenTelemetry tracing for the Claude API, Claude Platform Docs
- Observability with OpenTelemetry, Claude Code Docs
- Monitoring, Claude Code Docs
- Usage and Cost API, Claude Platform Docs