Metrics are numbers measured over time that show how a system behaves: how fast it responds, how often it fails, and how hard it is working. Where a single log entry describes one event, a metric is a running measurement you can plot on a graph and watch move.

Think of the dashboard in a car. The speedometer, fuel gauge and temperature dial do not tell you every detail of the engine, but a quick glance tells you whether everything is fine or something needs attention. Metrics play the same role for software: a sudden spike in error rate or a creeping rise in response time is a signal that something deserves a closer look before users start to feel it.

Metrics are one of the three pillars of observability, alongside logs and traces. They are also what powers most alerting, because you can set a threshold (say, error rate above two percent) and get notified the moment it is crossed.

A trap worth naming is the average. If your page responds in 200 milliseconds on average, that number can hide the one in twenty users who wait four seconds, because a few fast requests drown out the slow ones. This is why teams watch percentiles like the p95, the response time the slowest five percent still beat, rather than the mean alone. The other discipline is picking few metrics that matter over many that merely look busy. A wall of fifty graphs nobody reads is worse than four you check every morning, because the signal you need gets lost in the noise.

At TopDevs we wire up the right metrics for each client system, so a problem shows up as a graph trending the wrong way long before it becomes a phone call from an angry user.