Monitoring vs Observability
People use the two words as names for one thing, and they are not. Monitoring watches numbers you chose ahead of time and tells you when one goes wrong. Observability is how well the data your system sends out lets you find out why. The first catches the problems you expected. The second helps with the ones you did not.
Monitoring
Watching a running system all the time. It shows health and warns when something breaks.
Monitoring is watching a running system so you know it is healthy. Tools collect numbers from it all the time, like how busy the server is or how many requests fail. People see the numbers on a dashboard. When a number goes past a set limit, an alert tells someone. You pick what to watch ahead of time.
Observability
How well you can see inside a system. You look at its logs, metrics and traces.
Observability is how well you can tell what is going on inside a system from the data it gives off. That data comes in three main kinds: logs, metrics and traces. With enough of it, you can ask new questions while a problem is still going on. Monitoring tells you that something is wrong. Observability helps you find out why.
In one line
- Monitoring
- Watching a running system all the time. It shows health and warns when something breaks.
- Observability
- How well you can see inside a system. You look at its logs, metrics and traces.