What to Monitor: A Three-Layer Metrics Checklist for Servers, Applications, and Business
The real question behind metric selection is not "what else can we technically measure" but "what must we know the moment it breaks". The two sound close, yet they lead to completely different paths. Start from the first, and you open your monitoring tool, look at what it collects by default, and turn CPU, memory, disk, and network into one chart after another. Start from the second, and you first sketch out every hop a user takes from landing to payment, then work backward to the numbers that would make each hop visible.
The first path is easier because the tool already offers the metrics; it also yields less, because "CPU is high" sits several layers of inference away from "can users check out right now". The second path costs half a day of drawing, but every metric it produces maps directly to an action a user can fail at.
For the full monitoring and alerting framework, see the monitoring and alerting guide; this piece only covers what to watch.
1. Set the Direction: Derive Metrics from the Business Path, Not from Technical Metrics
1.1 Step One: Draw the Service Path
Drawing the path requires no tooling; ten minutes at a whiteboard will do. Start where the user types a domain: DNS resolution and certificate validation, CDN or edge, load balancer and gateway, application services, internal dependencies (database, cache, message queue, object storage), third-party dependencies (payment, SMS, email, maps), and finally rendering on the user's device. Next to each hop, write one sentence: if this hop breaks, what does the user see?
The value of the diagram is not precision. It converts the open-ended question "what should we monitor" into a bounded one: "which points on this path can break". Without the diagram, the discussion degenerates into listing whatever the tool ships by default. With it, the discussion becomes "we have no independent observation point for the payment callback hop, that is a gap" - a statement you can schedule.
There is also a class of hops that is easy to omit: not your system, but on your critical path. Domain registrars, certificate issuance and renewal, SMS providers, object storage write quotas, and provider rate limits all belong on the diagram and all need observation points. When they fail, every internal metric you have still looks healthy.
1.2 Step Two: Find the Critical Actions Whose Failure Breaks the User
Actions on the path fall into two groups. One group is slowing down: search is a bit slower, images take longer, a list spinner turns for an extra half second. Users wait, they complain, but they rarely abandon. The other group is failing outright: a login error, an unresponsive add-to-cart, a lost payment callback, a form that returns 500. Users give up at that step and everything they invested before it is wasted. Critical actions are the second group.
The test can be crude and still work: if this action fails, does the commercial value of the visit drop to zero? If yes, it is critical. After applying it, the list is usually five to eight items - site reachable, sign-in, search, add-to-cart, payment, content delivery (article pages and static assets, for content sites).
Keeping the list short is the only hard requirement at this step. At twenty items it stops being a priority list and becomes a table of contents; nobody cross-checks twenty items during an incident. Covering the five most important actions first beats listing a full page for the sake of completeness and having nobody read it.
1.3 Step Three: Give Each Action a Measurable Metric
To be measurable, an action has to sit on an explicit boundary. Login success rate is bounded by the login endpoint: the numerator counts requests that succeeded and actually established a session, the denominator counts valid requests after excluding crawlers and health checks. Without a clear boundary, numerator and denominator describe different populations, and the resulting number convinces nobody - at which point the metric is dead.
Actions usually map to more than one metric. For payment: the payment endpoint success rate is primary, the arrival latency of payment callbacks is secondary, and the availability of the third-party payment gateway is upstream. The three answer "did we accept it", "did the notification come back", and "is the other side broken". Miss any one and an entire failure class stays invisible.
The output of this step should be a table: action, boundary, metric, definition. The table pays off six months later, when someone asks how a 99.5% figure was calculated and the answer lives in a document rather than in someone's memory. Definitions that are never written down are the most common reason the same metric shows two different numbers on two dashboards.
1.4 Why Starting from CPU Is the Cheapest and Lowest-Yield Option
Listing CPU, memory, and disk first is the cheapest approach: the tool ships them, no business understanding is required, and nothing is obviously missing. It has two structural flaws. First, resource metrics have no stable mapping to user experience - 80% CPU means completely different things on four cores versus sixteen, in different languages, under different garbage collection strategies. Second, a resource metric never tells you which user was affected; during every incident it offers the same description: the machine is somewhat busy.
Worse, it absorbs attention. With a hundred resource metrics on a dashboard, it is natural to assume coverage is sufficient, while the hop that genuinely has no observation point - say, payment callback backlog - never gets covered. The number of metrics and the completeness of observation are never the same thing: a hundred resource metrics can completely miss the question of whether users can pay.
2. The Four Golden Signals: Four Questions and Four Ways to Be Fooled
Latency, traffic, errors, and saturation are quoted so often because each answers a question the others cannot. In real systems, though, every signal has a blind spot where the reading is correct and the conclusion is wrong. This chapter takes them one by one.
2.1 Latency: Does the User Still Have the Patience
Latency answers an experience question, not a performance question. The standard depends on the action: for interactive actions, a few hundred milliseconds of change in a quantile is noticeable; for asynchronous actions such as sending email, generating reports, or exporting data, dozens of seconds can be acceptable. Measuring both with one latency standard guarantees wrong conclusions and produces a steady supply of "it alerts but nothing is broken" moments.
Separate the two definitions: latency of successful requests, and latency including failures. The second can drop during an outage because of fast failures - error rate spikes while latency falls, which looks like "it got faster" when in fact every request was rejected in tens of milliseconds. Splitting success from failure is the first prerequisite for a latency metric that does not lie.
Latency also splits into server-side and client-side. The server spends 80 milliseconds; the user sees two seconds; the difference lives in the network, in rendering, in waiting for JavaScript. Where you place the observation point depends on whether you are answering "is our service slow" or "is the user's experience slow". The second question usually needs the frontend RUM and Core Web Vitals monitoring layer.
2.2 Traffic and Errors: Check Whether There Is Volume, Then Whether the Volume Is Right
Traffic, the request rate, is the denominator for the other three signals. Its primary use is not capacity planning but sanity: when request volume reaches zero, error rate and latency lose all meaning - error rate may read 0% because nothing is arriving. Every rate metric should be marked "no data" below some minimum volume instead of showing zero. This small detail keeps a whole class of "everything looks fine" false calm out of the room.
The second use is catching two kinds of anomaly, of which a traffic drop is usually worse than a spike. A spike may be a campaign going live or a cache stampede; a drop usually means ingress broke - DNS resolution failing, a certificate expiring, a load balancer removing every node. Alerting on traffic should therefore lean toward drops; spikes are usually a capacity and cost conversation.
Errors need to be read in three layers: explicit errors (5xx, timeouts, connection refused), implicit errors (a 200 with an empty body, or a 200 carrying a business code that means failure), and "successful but wrong" (the order is created with an incorrect amount). The third has no generic technical metric; only business-side reconciliation catches it, which is why business metrics cannot be replaced.
The denominator of the error rate belongs in documentation. Are 4xx included? Are crawlers and probe traffic included? Are health checks included? The same "2% error rate" under three definitions can mean things ten times apart. If the error rate on a dashboard and the error rate inside an SLO use different definitions, the discussion will turn into disputing each other's numbers.
2.3 Saturation: The Easiest One to Be Fooled By in Elastic Environments
Saturation answers how much headroom is left. It is very useful in fixed-capacity systems: a full disk is a physical fact independent of any scaling policy. In elastic environments its value collapses - autoscaling adds capacity at 90% CPU, so a saturation alert fires punctually at every normal traffic peak until everyone learns to ignore it.
The deeper problem is that saturation is a cause metric, not an outcome metric. It describes "the resource is nearly exhausted", not "users are already affected". Where capacity expands automatically or significant redundancy already exists, the first does not imply the second. Before alerting on saturation, answer one question: when this resource runs out, what exactly does the user see? If no concrete symptom comes to mind, the metric belongs on a dashboard.
Remember the exceptions: for non-elastic resources, saturation is a hard constraint. Disks, database connection pools, file descriptors, ports, disk I/O queues, and provider quotas do not grow when traffic grows. Their saturation metrics belong directly in alerts, with thresholds that leave time to act, because the recovery action itself takes time.
3. Four Layers: External, Ingress, Service, Resource
3.1 What Each Layer Answers, and the Usual Tools
The external layer is synthetic probing: request key pages and endpoints from multiple locations at a fixed interval and check whether the response matches expectations. It answers "from the outside, is the site alive". Its great advantage is independence from internal implementation - if internal monitoring fails wholesale, probes still tell you whether the site is up. Implementation can be light, such as a self-hosted Uptime Kuma deployment, or a hosted service.
The ingress layer is availability and traffic quality: request counts at the edge, status code distribution, latency quantiles, bandwidth. It answers "of the requests that arrived, how many succeeded". Observation points usually sit at the gateway, load balancer, or CDN edge, which covers far more than any single service and surfaces regional failures where every user in one area fails.
The service layer is dependencies and internal calls: success rate and latency of key dependencies, queue backlog, thread pool and connection pool usage, downstream timeouts. It answers "which internal segment is holding things up". Problems here usually need trace data to pin down the exact hop; see APM and distributed tracing.
The resource layer is hosts and containers: CPU, memory, disk, network, process counts, connections. It answers "is the substrate in trouble", and it is the last link in the investigation chain, not the first. People who start from resources typically spend twenty minutes across thirty charts and then return to the ingress layer.
3.2 Why the Layers Cannot Substitute for Each Other
The four layers form a causal chain, not a menu. Resource pressure can cause service timeouts, service timeouts push ingress error rates up, and ingress error rates eventually show up as failed probes and declining business metrics. One incident leaves differently shaped traces at each layer; miss one and every investigation takes a longer route.
The most common mistake is letting the resource layer stand in for the other three. Thirty host CPU charts look rigorous, yet if the CDN edge caches an error page as a success, or an expired certificate makes every request fail during the TLS handshake, those charts stay flat and green. Conversely, probes without internal metrics produce "we know it is down, we do not know why", and recovery becomes guesswork.
All four layers should exist; their depth can differ. A pragmatic ratio: probes cover every critical action, ingress covers error rate and quantiles, the service layer covers only key dependencies, and the resource layer covers only the non-elastic items. For tooling choices and the hosted-versus-self-hosted trade-off, see the cloud monitoring services comparison.
4. Use Quantiles, Not Averages
4.1 What p50, p95, and p99 Each Answer
p50 is the median experience: half the requests are faster, half slower. It tells you whether most users are comfortable, and it is completely insensitive to a small number of very slow requests - an endpoint can push 1% of traffic to thirty seconds while p50 never moves. p95 is usually the experience floor, standing for the slower cohort. p99 is the tail, the small group with the worst experience, and that group often holds the most valuable users: heavier checkout flows, larger data volumes, or requests that happen to miss the cache.
Read the three together; the combination carries far more information than any single value. Stable p50 with deteriorating p99 means a minority of requests are slow, pointing at dependency calls, specific data volumes, or specific shards. p50 and p99 rising together points at overall capacity or resource pressure. A p99 that is persistently several times p50 means the system contains queuing: a few requests are waiting on locks, connections, garbage collection, or rate limiter tokens.
Quantiles cannot be averaged. Averaging the p99 of ten machines produces a meaningless number; the correct approach is to merge the raw histogram buckets from all machines first, then compute the quantile. Storing histograms rather than pre-aggregated quantiles exists precisely to preserve this ability, and it has to be confirmed at selection time because it cannot be retrofitted.
4.2 Three Scenarios Where the Average Lies
The first is a bimodal distribution. Half the requests take 50 milliseconds and half take three seconds; the average is 1.5 seconds, which reads as "moderately slow" while two populations are having extreme and opposite experiences - the average describes neither of them correctly. The second is cache hit variance: hits are fast and misses are slow, so the average slides smoothly with the hit rate and flattens "a segment of users is severely degraded" into "the service is a little slower".
The third is lag. An average is a lagging indicator: after a failure begins, enough slow requests must enter the window before the average visibly moves, and during that lag the affected users have already completed their bad experience. High quantiles react to a small number of slow requests and surface the problem earlier, which is the practical reason alerts should be built on quantiles.
The one exception is capacity metrics. For stock metrics such as disk usage, memory occupancy, and connection counts, the current value is meaningful on its own and needs no quantile. The test is simple: does this metric have one value per request, or one value for the whole system? Use quantiles for the former, current value and trend for the latter.
5. The Six Most Commonly Missed Items
All six share a trait: when they fail the impact is immediate, but because they are not "performance", they rarely appear on a metric list. Their alert priority should generally be higher than CPU.
5.1 Expiry Dates: Certificates and Domains
An expired TLS certificate turns the whole site into a full-screen browser warning and cuts off every user, and no performance metric degrades beforehand. An expired domain is more absolute: resolution stops working and the site disappears from the internet. Both share a property - a known expiry date - so the best solution is not sophisticated monitoring but a calendar item with lead time: certificate reminders at 30, 14, and 7 days remaining, domain reminders at 60 days.
Certificate monitoring has a familiar trap: watching only the certificate you deployed yourself and missing the one on the CDN or load balancer. Issuance, renewal, and deployment frequently live in different systems, so the observation point has to sit at the layer where the user actually completes the handshake. Otherwise you get a split state where internal dashboards are green and external users are staring at a warning page.
5.2 Capacity and Backlog: Disks and Queues
Disk usage deserves an earlier alert than CPU because a full disk stops log writes, blocks database writes, and crashes processes, while recovery requires cleanup or expansion measured in hours. A better definition than current usage is time to full: 70% usage growing toward full in three days is more urgent than 85% growing slowly.
Message queue backlog is another easily missed metric. Its peculiarity is that backlog does not hurt users immediately - the queue buffers and users keep ordering. But once backlog exceeds the recovery window of consumer capacity, latency abruptly becomes mass timeouts. Observe backlog depth, consumption rate, and estimated drain time together: depth alone misses a consumer that has already slowed, and consumption rate alone misses the first phase of a growing backlog.
5.3 Third-Party Dependencies and Backup Restore
Third-party availability needs independent observation. Payment gateways, SMS providers, object storage, and map services are not on your dashboards, yet if any one of them is unavailable, a critical action loses a link. The practical approach is to record call outcomes and durations to each third party along the critical path and build your own success-rate curves, rather than waiting for their status page. See synthetic monitoring and uptime practice for a workable pattern.
The last item, and the one teams most often fool themselves about: backups. Most teams monitor whether the backup job succeeded, which proves only that the script ran, not that the backup is usable. Real verification is a periodic restore drill: restore a copy from backup, run a validation, record the duration. Restore duration is itself a metric worth monitoring - a backup that exists but needs eight hours to restore is not as different from no backup as people assume on the day of an incident. The gap between job success and actual recoverability can only be closed by drills.
6. The Admission Test: Can This Metric Drive an Action
6.1 Three Screening Questions
Three questions decide whether a metric belongs in the system. First, when it goes abnormal, is there a specific person who will do a specific thing? Second, can that thing change the outcome, or does it merely inform? Third, if it has been quiet for three months, would we delete it or keep it? The first two decide whether it deserves collection and alerting; the third decides whether it deserves long-term maintenance.
The second question is the one most often answered wrongly. The classic "merely informs" metrics are instrument readings: QPS curves, connection count distributions, cache hit rates, active thread counts. They help during investigation but constitute no action. Their proper home is a dashboard, not an alert channel; wiring all of them into alerting produces dozens of unactionable notifications per day.
6.2 The Line Between Dashboard and Alert
The boundary between dashboard and alert should follow "does this need to interrupt a human", not "is this important". The same metric can live in both places in different shapes: on a dashboard it is a continuous curve for trends and correlations; in an alert it is a condition with a duration that triggers an action. Turning every dashboard panel into an alert is the most common source of overload.
A practical rule: alerts cover only metrics that have a runbook. If you cannot write the runbook, the action behind the metric has not been thought through, and the metric should not wake anyone yet. The rule solves two problems at once - it filters out metrics that generate no action and it forces every alert to carry a response path. For the full alert-side design, see the companion article on alert design basics; for log-side observation points, see log aggregation with Loki queries and the practice of server log monitoring.
7. Rollout Order and a Self-Check List
7.1 Week One, Month One, Quarter One
Week one does two things only: draw the service path, and turn on external probes. These have the best return - probes still alert when internal monitoring fails wholesale, and the path diagram sets the direction for everything that follows. In the same week, connect the two easiest golden signals, traffic and error rate, using a Prometheus and Grafana basics stack to complete the shortest path from collection to dashboard.
Month one fills in three layers: latency quantiles at ingress, key dependency success rates and queue backlog at the service layer, disks and connection pools at the resource layer. Confirm all six easily missed items one by one: certificates, domains, disks, queues, third-party dependencies, backup restore. Restore drills can be scheduled quarterly, but the first one must happen this month, because it regularly overturns assumptions about backup usability.
Quarter one consolidates: compress dashboards to one per layer and one screen each, compress alerts until every one has a runbook, and define one or two business metrics per critical action. Business metrics usually come from scheduled database queries or an analytics platform; they cost more than technical metrics, but they are the only numbers that answer whether monitoring is useful at all. Afterwards the direction depends on the site: transactional sites move on to SLOs and error budgets, content sites first finish the frontend experience metrics.
7.2 A Self-Check Table
Run the table below whenever a metric is added, and once per quarter. Its purpose is not exhaustiveness but consolidating the scattered judgments above into a set of questions that check each other.
| Check | Test | If it fails |
|---|---|---|
| Derived from the business path | Every critical action has at least one metric | Stop and draw the path first |
| Critical actions covered | Site, sign-in, cart, payment, content | Add boundary definitions for missing actions |
| Averages mixed in | Latency uses P95/P99 and histograms | Fix the data model, merge buckets before computing |
| All four layers present | External, ingress, service, resource | Add external probes first |
| Six easily missed items | Certificates, domains, disks, queues, third party, backup | Confirm each and schedule it |
| Metrics drive actions | Every alert maps to an operation | Move to dashboard or delete |
| Definitions written down | Numerator, denominator, exclusions documented | Add a definitions table and notify dashboard readers |
Maturity is not measured by metric count but by whether an incident can be localized to a layer within two minutes. Twenty metrics are enough to do that; two hundred are not enough if they cannot. Continue with alert design basics and the SLO and error budget practice guide - the first handles how to wake someone, the second handles how high the bar for waking them should be.
Source: 16IDC original. Metric definitions, alerting mechanics, and reliability practices follow the Google SRE book series and relevant provider documentation.
Integration & Code Examples
Example 1: Covering four layers with dedicated probers
modules:
# External: does name resolution work at all
dns_udp:
prober: dns
timeout: 3s
dns:
query_name: "example.com"
query_type: "A"
# Ingress: status codes and latency
http_2xx:
prober: http
timeout: 5s
# Port: is the service listening
tcp_connect:
prober: tcp
timeout: 3s
The first block maps three probers to the external, ingress and port layers while node_exporter covers resources.
Example 2: One sufficient metric per layer
# External: probe success over a ten-minute window
avg_over_time(probe_success{job="blackbox"}[10m])
# Ingress: share of 5xx responses
sum(rate(nginx_http_requests_total{status=~"5.."}[5m]))
/ sum(rate(nginx_http_requests_total[5m]))
# Resource: free space ratio on root
node_filesystem_avail_bytes{mountpoint="/"}
/ node_filesystem_size_bytes{mountpoint="/"}
The second keeps exactly one metric per layer so the question of what to look at settles before refinement.
Limitations
- The real question behind metric selection is not "what else can we technically measure" but "what must we know the moment it breaks".
- Latency, traffic, errors, and saturation are quoted so often because each answers a question the others cannot.
- Splitting success from failure is the first prerequisite for a latency metric that does not lie.
- Where you place the observation point depends on whether you are answering "is our service slow" or "is the user's experience slow".
- Every rate metric should be marked "no data" below some minimum volume instead of showing zero.
FAQ
Where does troubleshooting start when a service breaks?
External probing, with the resource layer last. The four layers form a causal chain: resource pressure raises service timeouts, service timeouts push ingress error rates up, and those show as failed probes. Thirty host CPU curves look normal while an expired certificate or a cached error page breaks every request.
Which latency metric avoids misleading averages?
p95 and p99, because an average misdescribes both groups at once. Half the requests at 50 ms and half at 3 s average to 1.5 s, which reads as mildly slow while two populations each fail badly. A stable p50 with a worsening p99 points at a few slow requests; both moving up means capacity.
Which metrics should stay on the dashboard instead of alerts?
Any metric that cannot name who does what when it fires. QPS curves, connection distributions and cache hit rates help diagnosis but drive no action, so they belong on a dashboard; alerts only cover metrics with a runbook behind them, and the 3 screening questions should be cleared before collection starts.
Related Providers
- Datadog: correlate all four layers on one timeline when metric, log and APM queries must be joined.
- Uptime Kuma: start external probing with a light self-hosted tool when a status page is also needed.
Community & Resources
-
Monitoring & Alerting: other coverage in this category.
Official docs and communities -
Prometheus overview — Data model, components and overall architecture.
-
PromQL basics — Selectors, range vectors and common functions.
-
blackbox_exporter repository — Module patterns for external and ingress probing.
-
node_exporter repository — Resource metrics and collector switches.
Learning resources and tools
- Multi-target exporter pattern — The official way to probe many targets from one exporter.
- SRE Book: monitoring distributed systems — The original discussion of four golden signals and alert trade-offs.
- Prometheus questions — Hands-on questions about metric choice and queries.
Original source: 16IDC Original ↗