Video in progress

What is the difference between monitoring and observability?

Monitoring answers questions you knew to ask in advance: what is the CPU percentage, how many errors are there. Observability lets you understand even an unexpected problem from the logs, metrics and traces the system emits.

📖 Answer

With monitoring, you think up front about "what could break" and set up dashboards and alerts for it. If the disk goes over 90% you get a message, if 5xx errors grow you get a message. This is necessary, but it only catches the problems you expected.

Observability is how well you can understand what is happening inside a system from outside, by looking at the signals it emits. For example, nobody thought in advance to ask "why is payment slow only for users in Samarkand?". If every request records region, traceId and response time, you can find the answer to that question without deploying new code.

In short:

  • monitoring: "did something break?";
  • observability: "why did it break, and where?".

In practice the two work together: monitoring gives you the alert, and you find the cause with observability tools (logs, traces).