An Introduction to Observability: Logs, Metrics, Traces, and Their Surrounding Components. A running service continuously produces events. It experiences requests, function executions, errors, and each event occurs at a distinct time, within a certain context, and results in a specific outcome.
Logs, metrics, and traces are three perspectives on this continuous stream of events. An entry in a log represents a single occurrence in textual form, a metric sums or tallies numerous occurrences, and a trace connects associated occurrences as they traverse different services. The majority of ideas related to observability, such as cardinality, sampling, and correlation, stem from this framework.
This article will delve into the fundamentals of observability, providing comprehensive explanations of concepts like logs, metrics, and traces.
