Shipping ItLesson 22 of 74

Module 3 · Knowing what it is doing

Four numbers that describe any service

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 3 of 9 in this chapter

This chapter’s goalAnswer “is it broken, for whom, and since when” in under five minutes using data you are already collecting.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
A hundred requests: ninety-nine at 100 ms, one at 5 secondsMean149 msp50 (median)100 msp995000 msThe mean and the median both look fine. The request that made somebody close the tab only appears atp99, which is why latency is recorded as a histogram and read as percentiles.
The mean and the median both look fine. The request that made somebody close the tab only appears at p99, which is why latency is recorded as a histogram and read as percentiles.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Logs answer “what happened to this request”. Metrics answer “how is it going”

They are different tools and people try to make one do the other’s job. Grepping logs to work out whether the site is slower than last week is miserable; a graph answers it in a second. Conversely, a graph will never tell you why request a7f3 failed.

The four signals

Google’s site reliability book names four, and after fifteen years nobody has improved on them:

  1. Latency: how long requests take. Split successful from failed, because a fast 500 makes your latency graph look wonderful.
  2. Traffic: requests per second, by endpoint.
  3. Errors: the rate of failures, as a proportion, not a count. Forty errors means nothing until you know whether it was out of a hundred or a million.
  4. Saturation: how full the constrained resource is. Usually not CPU. Usually the database connection pool, the queue depth, or memory.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Four numbers that describe any service’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/metrics-that-mean-something (Accessed: 27 November 2026).