Pcornel
Browse topics
Options
Recent
Favorites
Observability · Technical reference

The Four Golden Signals

Direct answer

The four golden signals (Google SRE) are latency, traffic, errors and saturation — the minimum to monitor for any user-facing service.

When to use this

Use it to build the first dashboard and alerts for a service.

First 30 seconds

1. Traffic: sum(rate(http_requests_total[5m])).

2. Errors: share of 5xx.

3. Latency: histogram_quantile(0.99, sum by (le)(rate(http_request_duration_seconds_bucket[5m]))).

4. Saturation: queue depth, CPU, connection pool.

5. Dashboard with all four.

Operational verification

requests → traffic, errors, latency; resources → saturation

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
OpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformOpenTelemetry / Prometheus / Grafana / common metrics-log-trace pipelines
Scope / prerequisiteUse it to build the first dashboard and alerts for a service.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 How to verify Verify boundary

Compare the service's dashboard with a known incident and check the signals showed it. Alert on error rate and latency rather than on CPU alone.

Step 2 Common failures Narrow the fault

Averages hide slow outliers. Counting errors without counting traffic makes rates impossible. Measuring latency only on successful requests hides fast failures.

Key points

Measure latency of successful and failed requests separately. Saturation is the resource closest to its limit (queue, CPU, connections).

Key checks
  • sum(rate(http_requests_total[5m])) — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid
ReferenceWhat it is1 section · depth on demand

How it works

Request-driven services expose these signals at the edge (load balancer) and inside (application). RED (rate, errors, duration) is a similar method for services; USE (utilisation, saturation, errors) applies to resources.

ReferenceImportant terms & boundaries3 sections · depth on demand

Golden signals per service

SignalExample metric (HTTP)
Latencyp50/p95/p99 request duration, separately for errors
TrafficRequests per second
Errors5xx rate, failed requests / total
SaturationCPU, memory, queue length, connection pool usage
histogram_quantile(0.95, sum by (le) (rate(http_request_duration_seconds_bucket[5m])))
sum(rate(http_requests_total{code=~"5.."}[5m])) / sum(rate(http_requests_total[5m]))

Related methods: RED (rate, errors, duration) for services, USE (utilisation, saturation, errors) for resources.

In depth

The four signals in PromQL (HTTP service)

# Traffic: requests per second
sum(rate(http_server_requests_total{service="checkout"}[5m]))

# Errors: share of 5xx
sum(rate(http_server_requests_total{service="checkout",code=~"5.."}[5m]))
  / sum(rate(http_server_requests_total{service="checkout"}[5m]))

# Latency: p99 from a histogram, successful requests only
histogram_quantile(0.99,
  sum by (le) (rate(http_server_request_duration_seconds_bucket{service="checkout",code!~"5.."}[5m])))

# Saturation: how full the most constrained resource is (example: worker pool)
max(app_worker_pool_busy / app_worker_pool_size)

Why each detail matters

  • Latency of errors separately: a fast 500 lowers average latency and makes a broken service look quick.
  • Percentiles, not averages: an average of 120 ms can hide 2 % of requests taking 5 s.
  • Errors include wrong answers: a 200 with an error page, or a response slower than the promise, can be counted as an error in the SLI.
  • Saturation predicts: queue length, connection pool use and memory headroom show trouble before latency rises.

Related methods

MethodForSignals
REDRequest-driven servicesRate, Errors, Duration
USEResources (CPU, disk, NIC)Utilisation, Saturation, Errors
Golden signalsServices from the user's sideLatency, Traffic, Errors, Saturation

Measure at the edge (load balancer/ingress) as well as inside the service: the edge also sees requests the service never received.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Common mistakes

  • Ignoring saturation.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
the four golden signalsfour golden signalsred use method
Confirmation

Confirm action

Continue?