Observability practices
Now, let’s define what observability truly is by looking at logs, traces, and metrics. When you use tools such as Prometheus, you’re doing a piece of observability. When you use other tools such as Logz.io or another log aggregator, you’re using another piece of observability.
Logging
Logging is aggregating and storing logged event messages written by programs and systems. As you can imagine, depending on how verbose the logs are set in an application, there will be a lot of events. A sysadmin’s favorite tool is a log because it literally shows everything and anything that could happen from an event’s perspective. However, it’s not efficient to simply comb through all of it with your eyes. Instead, using observability practices, you can send the logs to a log aggregator and ensure that a specific type of log that occurs can trigger an alert or some type of automation to go in and fix the issue.