Inspect error-rate evidence
An error rate needs both failures and total eligible requests over a stated window. A count of failures without a denominator cannot show the rate.
Understand the pattern
An error rate needs both failures and total eligible requests over a stated window. A count of failures without a denominator cannot show the rate.
Interpret the evidence
Report a 1.2 percent error rate for this 1000-request window.
A tempting mistake
Report 12 percent because there were 12 errors.
All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.
Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-observability-tracing-005.json{
"fixture": "Fictional training data; not a live measurement.",
"errors": 12,
"requests": 1000,
"error_rate": 0.012
}Exit status: 0. The command completed successfully in the training fixture.
$ jq .error_rate /opt/ai-lab/cases/aiops-observability-tracing-005.json0.012
Exit status: 0. The command completed successfully in the training fixture.
$ printf '%s\n' 'report-1-point-2-percent' > /home/learner/lab/aiops-observability-tracing-005-decision.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Follow a request traceTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Compare throughput signalsRequests per second and tokens per second measure different throughput. Workload length can change token throughput without the same change in request throughput.Practice
- 02Follow a request traceA trace follows one request through its spans. Use parent-child relationships and IDs so unrelated concurrent work does not get included in the incident path.Practice
- 03Find a slow spanCompare span duration with the total trace and distinguish sequential from overlapping work. A long span is a starting point for investigation, not automatic proof of CPU saturation.Practice