The four golden signals: what to measure first
Google's SRE book says that if you can measure only four metrics of a user-facing system, they are latency, traffic, errors and saturation. Each one has a documented query and a place on the dashboard.

What each signal measures
The definitions come from the monitoring chapter of Google's Site Reliability Engineering book.
- Latency. The time it takes to service a request. The book says to separate the latency of successful requests from the latency of failed ones, because an HTTP 500 can be served very quickly and distort the overall figure.
- Traffic. How much demand is placed on the system, in a metric specific to that system. The book's example for a web service is HTTP requests per second.
- Errors. The rate of requests that fail: explicitly, with an HTTP 500; implicitly, with a 200 and the wrong content; or by policy, such as any request over one second when you committed to one-second responses.
- Saturation. How full the service is, with the emphasis on the most constrained resource, such as memory or I/O. The book notes that many systems degrade before they reach 100% utilization, and it calls a utilization target essential.
The book's conclusion: measure all four and page a person when one is problematic, or nearly problematic in the case of saturation, and the service is at least decently covered by monitoring.
How RED and USE relate
Grafana's documentation lists three strategies for choosing what to monitor: USE, RED and the four golden signals.
- USE is Brendan Gregg's method. For every resource, check utilization, saturation and errors. His page defines a resource as a physical server component such as a CPU or a disk.
- RED stands for rate (requests per second), errors (the number of those requests that fail) and duration (the time they take). Grafana's documentation calls it most applicable to services and points to Tom Wilkie's post about the method.
The same documentation describes the four golden signals as similar to RED, with saturation added. It sums up the other two in one line: USE tells you how happy your machines are, and RED tells you how happy your users are. It adds that alerting belongs on RED dashboards, because the best practice is to alert on symptoms.
Latency and traffic in PromQL
Every query below is copied from a page listed under Sources. The metric names, windows and thresholds are the ones those pages use. Replace them with your own.
Latency, as the 95th percentile over five minutes, from the Prometheus documentation on histograms:
histogram_quantile(0.95, sum by (le) (rate(http_request_duration_seconds_bucket[5m])))That is the form for a classic histogram. For a native histogram the same page drops the _bucket suffix and the by (le) clause. The SRE book gives the reason to look past the mean. Its example is a web service that handles 1,000 requests per second with an average latency of 100 ms, where 1% of the requests can still take 5 seconds.
Traffic, as requests per second for each job, from the Prometheus query examples:
sum by (job) (
rate(http_requests_total[5m])
)Errors and saturation in PromQL
Errors, as the ratio of failed requests to all requests. This is the recording-rule expression from the SRE workbook's chapter on alerting:
sum(rate(slo_errors[10m])) by (job)
/
sum(rate(slo_requests[10m])) by (job)slo_errors and slo_requests are the workbook's metric names. The SRE book marks the limit of such a query: catching HTTP 500s at the load balancer does a decent job for requests that fail completely, and only end-to-end tests detect wrong content.
Saturation includes predictions. The book's example is a database that will fill its disk in four hours. The default rules of the kube-prometheus-stack chart contain that check for node filesystems, in the alert NodeFilesystemSpaceFillingUp:
(
node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""}
/ node_filesystem_size_bytes{job="node-exporter",fstype!="",mountpoint!=""} * 100 < 10
and
predict_linear(
node_filesystem_avail_bytes{job="node-exporter",fstype!="",mountpoint!=""}[6h], 4*60*60
) < 0
and
node_filesystem_readonly{job="node-exporter",fstype!="",mountpoint!=""} == 0
)The rule's own summary reads: filesystem is predicted to run out of space within the next 4 hours. predict_linear extends the last six hours of samples four hours ahead. The expression is rendered from the chart with helm template and re-wrapped here to fit the page.
The first dashboard
The SRE book says dashboards should answer basic questions about a service and carry some form of the four golden signals. Grafana's documentation shows a layout for the RED method: request and error rate on the left, latency on the right, one row per service, with the rows in the order of the data flow.
Start each service's row with the four signals:
- Request rate.
- Error ratio.
- Latency percentile.
- Saturation of the most constrained resource.
Use the same layout for every service. Grafana's documentation says a logical strategy lets you make uniform dashboards. Put detail below that row: the same guide asks for a logical progression of data, from general to specific.
Where to start
- Measure at the load balancer if it has the metrics. The SRE workbook's worked example does so because those metrics are already available and are closer to the user's experience than the application server's logs.
- Collect latency as request counts in buckets. The SRE book calls bucketed counts, suitable for a histogram, the simplest way to tell a slow average from a very slow tail.
- Remove what nobody uses. The book treats signals that appear on no dashboard and in no alert as candidates for removal.
Sources
- Monitoring Distributed Systems, chapter 6 of Site Reliability Engineering
- Implementing SLOs, chapter 2 of The Site Reliability Workbook
- Alerting on SLOs, chapter 5 of The Site Reliability Workbook
- The USE Method
- Grafana dashboard best practices
- Histograms and summaries
- Query examples
- kube-prometheus-stack chart
Want a second pair of eyes on yours? We do this work for a living.
More guides

Prometheus alerting rules: alert on symptoms
Observability · 4 min read
The rule file field by field, a documented error-rate rule, promtool and Alertmanager routing.

Grafana dashboards that people read
Observability · 4 min read
One question per dashboard, a fixed top row, clear units, variables, links and Git.

SLOs and error budgets: how much failure is acceptable
Observability · 4 min read
SLI, SLO and SLA, the budget arithmetic, burn-rate alerts and a policy for an empty budget.