What are the four golden signals of monitoring? [Basic]
Answer
The four golden signals are latency, traffic, errors, and saturation. They are a strong starting point for service monitoring because they map closely to user experience and system limits.
Technical explanation
Latency measures how long requests take, usually with percentiles such as p50, p95, and p99.
Traffic measures demand, such as requests per second, messages per second, or bytes per second.
Errors measure failed work, and saturation measures how close a resource is to exhaustion, such as CPU, memory, thread pools, queues, or connection pools.
Hands-on example
PromQL examples: rate(http_requests_total[5m]) for traffic, sum(rate(http_requests_total{status=~'5..'}[5m])) / sum(rate(http_requests_total[5m])) for error rate, histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le)) for latency, and node_cpu_seconds_total or queue_depth for saturation.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Observability interview questions
- What is a burn rate, and how do you alert on it? [Basic]
- Why are multi-window, multi-burn-rate alerts better than a single threshold? [Basic]
- What is the difference between a symptom-based and a cause-based alert, and which is better? [Basic]
- What is a time series in Prometheus, and how is it identified (metric name plus labels)? [Basic]
- What are the Prometheus metric types (counter, gauge, histogram, summary)? [Basic]
- What is the difference between a counter and a gauge? [Basic]
- How does Prometheus collect metrics — what is the pull model and scraping? [Basic]
- What is a scrape target, and how does service discovery find them? [Basic]