Book a free call

Monitoring Tools in DevOps: What to Use and Why

Monitoring tools in DevOps collect metrics, logs and traces, alert the team when something breaks, and show where to look first.

Hertiv engineering teamReviewed by a senior engineer
6 min read
Monitoring Tools in DevOps: What to Use and Why
On this page

Short answer

Monitoring tools in DevOps are software that watches applications, servers and networks, collects metrics, logs and traces, and alerts the team when something goes wrong. They give the team one place to see the health of a system and to find the cause of a problem fast.

What are monitoring tools in DevOps?

Monitoring tools in DevOps are software that watches applications, servers and networks, collects metrics, logs and traces, and alerts the team when something goes wrong. They give the team one place to see the health of a system and to find the cause of a problem fast.

Without monitoring, a team learns about an outage from its users. With monitoring, the team sees the first warning sign, such as rising error rates or a full disk, and fixes it before the service stops. That gap between the first sign and the user report is what monitoring exists to close.

DevOps monitoring covers three kinds of data. Metrics are numbers over time, such as CPU use, request counts and error rates. Logs are the written records of what each part of the system did. Traces follow a single request as it moves through services, showing where the time went.

What do monitoring tools actually watch?

A monitoring tool watches four layers of a system. The infrastructure layer covers servers, containers and networks: CPU, memory, disk and network traffic. The application layer covers the code itself: response times, error rates and how often each endpoint is called.

The business layer covers what users do: sign-ups, checkouts and payments, because a system can look healthy while the checkout is broken. The experience layer covers what users feel: page load times and failed requests from real browsers and phones.

Good monitoring connects these layers. When checkout errors rise, the team should be able to click from the business alert to the failing service, then to its logs, without opening four different tools. That single path is what separates a useful setup from a pile of dashboards nobody reads.

Which types of monitoring tools are there?

There are four main types of monitoring tools, and most teams use more than one. Metrics tools collect numbers and draw charts, and they are the first thing a team sets up. Log tools collect and search the written records from every service, which is where the cause of a problem usually hides.

Tracing tools follow requests across services, which matters most in a system built from many small services. Uptime tools check from the outside whether the service answers, and they are the ones that page the team at 3 a.m. when it does not.

Well-known tools in each type include Prometheus and Grafana for metrics, the ELK stack and Loki for logs, Jaeger and Tempo for tracing, and UptimeRobot and Pingdom for uptime checks. The table below compares them by job.

Tool type What it collects Example tools First use
Metrics Numbers over time Prometheus, Grafana Dashboards and alerts
Logs Written records ELK stack, Loki Finding the cause
Tracing Request paths Jaeger, Tempo Slow requests
Uptime Outside checks UptimeRobot, Pingdom Outage alerts
All-in-one Metrics, logs, traces Datadog, New Relic One platform

How do you set up monitoring in 6 steps?

Setting up monitoring is a small project, not a single install. Start with the service that matters most, get it working there, then extend the same pattern to the rest of the system.

  1. List what matters. Write down the services users depend on and the failures that would hurt most.
  2. Collect the basics. Add metrics for latency, traffic, errors and saturation to each service, plus logs with a request ID.
  3. Build three dashboards. One for the whole system, one per service, and one for the business numbers.
  4. Set alerts on symptoms. Alert when users are affected, such as high error rates, not when a single server is busy.
  5. Connect the alert to the runbook. Every alert should say what to check first and who owns it.
  6. Review weekly. Look at which alerts fired, which were noise, and fix the noisy ones.

Keep the first version small. A team that tries to monitor everything at once ends up with hundreds of alerts nobody trusts. Five good alerts beat fifty noisy ones, and the setup can grow as the team learns what matters.

What makes a good alert?

A good alert fires when users are affected and stays quiet otherwise. That sounds simple, but most teams get it wrong in both directions: they alert on every CPU spike, so the team stops reading alerts, or they alert on nothing, so the first sign of trouble is a user complaint.

The fix is to alert on symptoms, not causes. An error rate above 1% for five minutes is a symptom users feel. A CPU at 90% is a cause that may not matter at all. Alert on the symptom, and put the cause on the dashboard for the person who responds.

Every alert needs three things: a clear threshold, a named owner, and a first step. "Checkout errors above 1% for 5 minutes, owned by the payments team, check the payment service logs first" is a good alert. "Something is wrong" is not. Review alert noise every week and raise the threshold or remove alerts that never led to action.

Example (hypothetical): finding a slow checkout

Imagine an online shop with a checkout that usually takes two seconds. One morning, the monitoring dashboard shows checkout errors rising from 0.2% to 3%, and the alert pages the on-call engineer.

The engineer opens the trace for a failed checkout and sees the request spending 25 seconds on the payment service, while the shop's own code takes under a second. The payment service logs show a new version was deployed an hour earlier, and its database connections are exhausted.

The fix takes 20 minutes: roll back the payment service and raise its connection limit. Because the alert fired on the error rate, the team found the problem in under an hour. Without monitoring, the first sign would have been angry customers, and the shop would have lost a morning of sales before anyone looked.

Common mistakes

The first mistake is monitoring the servers and forgetting the users. A dashboard full of green CPU charts means nothing if the checkout is broken, so always monitor at least one business number, such as successful orders or sign-ups.

The second mistake is alerting on everything. A team that gets fifty alerts a day learns to ignore them all, and the one alert that matters gets lost in the noise. Start with five alerts, review them weekly, and add new ones only when a real incident shows a gap.

The third mistake is collecting logs without a way to search them. Logs from ten services are useless if the team cannot filter by request ID or time. Set up log search before the system grows, and make sure every log line carries the request ID and the service name. Read what DevSecOps covers to see how monitoring fits the wider delivery pipeline.

Key takeaways

  • Monitoring tools collect metrics, logs and traces so the team sees problems before users do.
  • Alert on symptoms users feel, such as error rates, not on causes such as high CPU.
  • Five trusted alerts beat fifty noisy ones; review alert noise every week.
  • Connect each alert to a dashboard, a runbook and a named owner.
  • Always monitor at least one business number, not just server health.

Frequently asked questions

What is the difference between monitoring and observability?

Monitoring asks whether known problems are happening, using dashboards and alerts, while observability is the ability to ask new questions about a system using its metrics, logs and traces.

Which monitoring tool should a small team start with?

Start with a metrics tool such as Prometheus with Grafana for dashboards, plus an uptime checker, then add log search and tracing as the system grows.

How many alerts should a team have?

Start with about five alerts on the symptoms that matter most, such as error rate and checkout success, and add more only when a real incident shows a gap.

What are the four golden signals?

Latency, traffic, errors and saturation: how slow the service is, how much work it gets, how often it fails and how full it is.

Do monitoring tools replace testing?

No. Testing catches bugs before release, while monitoring catches the problems that only appear in production, such as bad data, traffic spikes and failing dependencies.

How much does monitoring cost?

Open-source tools are free to run but need someone to maintain them, while hosted platforms charge by data volume or host; check the vendor site for current pricing.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Setting up monitoring for your product?

A senior engineer replies within one business day. Or see our DevOps service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call