Skip to content
Clairos Learn

Observability and tracing · Lesson 3 of 15 · 6 min

Read latency percentiles

A p95 latency describes a percentile within an observed window. It does not mean that every request or the average request has that latency.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated AI Ops lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

A p95 latency describes a percentile within an observed window. It does not mean that every request or the average request has that latency.

Interpret the evidence

Report p95 at 480 ms over five minutes while keeping the median distinct.

A tempting mistake

Call 480 ms the mean latency for every request.

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-003.json
{
  "fixture": "Fictional training data; not a live measurement.",
  "p50_ms": 120,
  "p95_ms": 480,
  "window_minutes": 5
}

Exit status: 0. The command completed successfully in the training fixture.

$ jq .p95_ms /opt/ai-lab/cases/aiops-observability-tracing-003.json
480

Exit status: 0. The command completed successfully in the training fixture.

$ printf '%s\n' 'report-latency-percentile' > /home/learner/lab/aiops-observability-tracing-003-decision.txt
(no output; exit 0)

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Name the assumption that would have to change for “report-latency-percentile” to stop being the justified action. Do not silently replace missing evidence with a guess.

Explain it

What does the evidence in “Read latency percentiles” justify?

Apply it elsewhere

A colleague concludes: “Call 480 ms the mean latency for every request.” What should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Compare throughput signalsTry an incident drill

Anonymous 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

  1. 01Inspect gateway metricsMetrics need units, scope and a time window. Counters, rates and gauges should not be compared as though they measured the same thing.Practice
  2. 02Compare 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
  3. 03Inspect error-rate evidenceAn error rate needs both failures and total eligible requests over a stated window. A count of failures without a denominator cannot show the rate.Practice