Skip to main content
Metrics are numbers with timestamps that describe your system. Collected over time they form time series — the foundation for detecting trends, regressions, and sudden changes. Time-series metrics are especially useful for spotting patterns like drops in HTTP request rates or spikes in CPU utilization. You’ve seen how Prometheus (for scraping and storing metrics) and Grafana (for visualizing them) work together, and you explored a prebuilt dashboard earlier.
A slide titled "Metrics: Recap" showing a time-series line chart of backend HTTP requests per second with blue data points. The chart rises to a peak around 300–301 req/s and then falls back down toward the end.
Which metrics should you actually monitor? Imagine joining a new team and being asked to “set up monitoring.” Responses are often vague: “monitor whatever’s important” or “monitor service health.” Without a clear list, teams either miss critical indicators or collect everything — which leads to noisy dashboards and slow incident response. At first, monitoring everything feels comprehensive: CPU, memory, disk I/O, network, GC pause times, thread pools, Kubernetes control-plane metrics, pod states, replica counts, plus dozens of application-level counters (orders/minute, payment latency, cache hits, cart abandonment, active sessions…). The list grows fast.
A dark-themed monitoring dashboard titled "Monitoring 'Everything'" showing time-series graphs for request duration (99th percentile), memory, CPU usage and goroutines with colored lines and a legend. The screenshot includes timestamps, host/endpoint names and a copyright note from KodeKloud.
Collecting too many metrics without a prioritization framework creates noise. When an alert fires at 3 a.m., the on-call engineer may have to scan dozens of panels — most unhelpful — while the one critical graph is buried or not even collected.
A slide titled "Monitoring 'Everything'" showing a schematic monitoring dashboard of 60 small panels, most showing flat or minor fluctuations and one marked with a red alert. A legend labels flatlined, normal fluctuation, and "the one that matters," noting the critical metric is untracked.
The four golden signals give you a focused, high-value set of metrics for user-facing systems. Originating from Google’s Site Reliability Engineering practices, this framework answers the core question: “Is my application healthy for users?”
The four golden signals provide a compact, high-signal starting point for monitoring user-facing services: Traffic, Errors, Latency, and Saturation.
Use these signals as a baseline. Then supplement them with application-specific metrics that describe what your service does and how it’s deployed. The framework isn’t exhaustive, but it helps you prioritize where to instrument, alert, and investigate. Below is a concise walkthrough of each signal and what to track.
  1. Traffic — How much demand is your service receiving?
  • Measures demand: requests per second, network I/O rate, messages consumed per second, or open TCP connections — whichever unit represents work for your service.
  • Traffic provides context for other signals. A sudden drop in incoming requests can indicate an upstream outage even when your service appears healthy.
A diagram showing three upstream services (Upstream A and B crossed out) sending traffic to a single Downstream Service. To the right is a small line graph labeled "Downstream Service Requests per Second" that stays steady then falls sharply over time.
  1. Errors — How often is the service failing?
  • Measures reliability: counts and rates of failed requests.
  • Common proxies: HTTP 4xx/5xx counts and proportions, RPC error rates, or application-level success/failure metrics.
  • Note that transport-level 200 responses can still represent a business-level failure if the payload is incorrect. Instrument application-level success/failure where appropriate.
Example: a request that returns HTTP 200 but contains an error in the body:
Track both transport-level failures (timeouts, HTTP 5xx) and business-level failures (incorrect or missing data).
  1. Latency — How slow are responses?
  • Measures performance: how long users wait for responses.
  • Use percentiles (p50, p90, p99) and histograms to capture the distribution, not just averages. Long tails can hide serious user impact even when the mean looks acceptable.
  • Understand what latency matters: frontend interactions often demand sub-100ms, API calls may tolerate 100–500ms, while background tasks have different expectations.
A diagram titled "Latency: 'How Slow?'" showing a user making a GET /api/order request to an application that takes about 2.5s to return 200 OK. To the right is an application latency histogram with small bars at 50–250ms and large peaks around 2.5s and 10s.
  1. Saturation — How full are your resources?
  • Measures resource utilization: CPU, memory, disk, network bandwidth, file descriptors, or queue lengths.
  • Saturation warns of impending failure modes — e.g., pods hitting memory limits and getting OOM-killed, or CPU throttling causing request slowdowns.
  • Track both absolute capacity and how close you are to limits (utilization %, queue length vs. capacity).
A slide titled "Saturation: 'How Full?'" showing a Kubernetes pod (application-container) illustration with horizontal bars for memory and CPU usage. To the right is a small time-series chart labeled throttles/sec.
Together, these four signals create a manageable framework to decide what to monitor and where to investigate during incidents.
A slide titled "The Four Golden Signals Framework" showing four colored, numbered boxes labeled 1 Traffic, 2 Errors, 3 Latency, and 4 Saturation. Two grey buttons at the bottom read "What to monitor?" and "What to look for if something goes wrong?".
Quick reference table — what to collect and why: Next steps
  • Instrument these four signals first for all user-facing services.
  • Define service-level targets (SLIs/SLOs) and alerting thresholds around these signals.
  • Add application-specific metrics after the golden signals are covered, and use dashboards that surface the four signals prominently.
Links and references
Monitoring everything without priorities creates alert fatigue and slows response. Start with the four golden signals, then expand thoughtfully with application-specific metrics and well-defined SLO-based alerts.
Later sections will show how to convert these signals into SLIs/SLOs and set actionable alerts that reduce noisy paging while keeping users safe.

Watch Video