Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Observability & productionJuniorOccasionalTheory

What are the four golden signals, and how do they guide production testing?

Answer

The four golden signals are latency, traffic, errors and saturation. Together they show how much work arrives, how long it takes, whether it succeeds and how close constrained resources are to their limits. A production test should relate them to a user journey and deployment version, separate successful from failed latency, and adapt the model for asynchronous systems by checking measures such as backlog age, throughput and time to completion.

Strong answer includes

  • names latency, traffic, errors and saturation
  • relates signals to user-visible outcomes
  • adapts the model for queued or batch work

Practical example

For an order-processing API, the team tracks requests-per-second (traffic), p50/p95/p99 response time (latency), the ratio of 5xx to total responses (errors), and CPU or connection-pool usage (saturation). During a flash sale, traffic triples, saturation on the database connection pool climbs to 95%, and p99 latency spikes even though the error rate stays low, so the golden signals flag the coming problem before customers start seeing failures.

#golden-signals#metrics#reliability#production

Sources

Google SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resiliencePrometheus alerting practicesPrometheus · Symptom-based actionable alerts, metamonitoring and noise reduction