Connect a business symptom to a failing component
Connect service health, retrieval freshness and model versions to real task completion.
Connect a business symptom to a failing component
Work through the decision
HTTP success remains at 99.9%, yet half as many customers finish their task. Route changes, a stale index and a slow tool are all plausible. What evidence would distinguish them?
Check your reasoning
Join a privacy-safe request ID to model version, retrieval freshness, tool outcome and task completion. Compare cohorts before and after the change. Inspect component spans on failed tasks and watch denominators so a traffic mix change does not masquerade as a regression.
Compare the choices
- Track quality alongside service health
- Combine availability, latency, tokens and errors with task success, groundedness or human corrections.
- Inspect tool-level spans
- Measure each tool's duration, arguments schema status and failure outcome with a shared trace ID.
- Monitor index freshness and recall
- Track ingestion lag, document versions, retrieval quality and index resource pressure. Test a known query with an expected document.
- Segment metrics by release and route
- Separate performance by model, prompt, toolchain or cohort to isolate a regression hidden by aggregate traffic.
Use the right denominator
Release A succeeds on 90 of 100 cases and B on 8 of 10. Averaging the two percentages gives 85%. Pooling the cases gives 98/110, about 89%. Keep separate release views and compare traffic mix before interpreting either number.
Apply it on AWS
A CloudWatch dashboard can bring together model token counts, invocation latency, throttles and application-defined success metrics. Inspect OpenSearch indexing lag alongside recall on known queries. Separate source publication time from ingestion completion so the dashboard catches a delayed feed.
Practice the guide skills
- Build a view of request volume, errors, latency, cost and useful outcomes. State the denominator for each ratio. Watch 5:24:40
- Watch shifts in token usage, corrections, grounding and escalation. Segment by release before attributing a change. Watch 5:37:31
- Give operators component-level timings and leaders quality-adjusted cost and completion trends. Connect them through shared case IDs. Watch 5:38:28
- Measure tool call validity, errors, retries and latency separately. Identify the stage that dominated one failed case. Watch 5:36:56
- Track indexing delay, query latency, recall and document versions. Test one known query after a source update. Watch 1:38:44
- Separate input truncation, retrieval failure, unsupported claims and tool failure. Use a pinned replay to validate the diagnosis. Watch 6:18:35
Official objectives for this lesson
Related lesson · Evaluate the retriever, generator and business outcome
Connect a business symptom to a failing component quiz
Answer 3 questions. Check each answer for an explanation.