Skip to content
IT glossary
DevOps and cloudUpdated December 3, 2026

Monitoring

Мониторинг

Monitoring is the ongoing collection and checking of data about a system so teams can spot outages, slowdowns, and other problems. Dashboards show how the system is doing, and alerts flag issues that need attention.

What monitoring tells you

A service can be running without working well. An API process may be up and using little CPU while customers wait ten seconds for checkout. Monitoring helps teams catch that difference by tracking both what users experience and what the system is doing internally. It also gives teams a history to compare against a deployment or a change in traffic.

From measurement to alert

An application can expose counters for requests and errors and a histogram for response times. Infrastructure metrics add context, such as how much disk space is left or how much of a database connection pool is in use. An external probe measures something the application cannot report from its own perspective: whether a client outside the service can actually reach it and complete a check.

A metrics backend records samples over time. Labels let you break down the same metric by service, environment, or route. Dashboards make those trends visible, while alert rules evaluate conditions automatically. A chart might help explain an incident, but it won't wake the on-call engineer unless an alert and its notification route are configured.

Where Prometheus and Grafana fit

Prometheus typically pulls, or scrapes, metrics from HTTP endpoints such as /metrics. It stores the samples as time series, supports queries in PromQL, and can evaluate alert rules. Alertmanager can group and route the resulting notifications. Grafana queries data sources such as Prometheus and visualizes their data; it can also evaluate its own alert rules. The two tools are often used together, but neither name is another word for monitoring.

Example: checkout is slow, but it isn't failing

Suppose checkout still returns HTTP 200, but its p95 latency rises from 400 milliseconds to 2 seconds. The p95 is the time within which roughly 95% of requests finish. An alert could page the on-call engineer when checkout p95 stays above a threshold tied to the service's latency objective for ten minutes. On a low-traffic route, a percentile can be noisy, so check the request volume and consider an external checkout probe. Once alerted, compare latency across dependencies and look at recent deployments; a change that happened at the same time is a lead, not proof of the cause.

Common mistakes and interview questions

Avoid paging on every CPU spike: it may be harmless, whereas a sustained increase in checkout latency affects customers. Don't interpret a missing metric as zero errors; collection may have failed. Keep labels bounded, too. A route template such as /orders/:id is useful, while a separate label value for every order ID can create an enormous number of time series.

In a DevOps or SRE interview, start with user-facing signals: availability, errors, and latency. Then explain how traffic and resource saturation help you interpret those signals, what warrants a page, and how you'd verify that monitoring itself is working. Monitoring gives you a way to track service health; observability is the broader ability to investigate system behavior from its telemetry, including metrics, logs, and traces.