Logs
A log is a timestamped text record either structured or unstructured.
A log is a timestamped text record either structured or unstructured.
Metric are measurement over the time, where for each measurement the measured value, the current timestamp and optional metadata are collected. Those measurement typically are not for one specific request or task. Instead they provide statistical information about the whole system, all requests/tasks or a specific type of requests. Typical metrics are:
With Observability we try to understand a system from the outside without knowing its inner workings. So the information is just collected from the outputs of the system. This data is provided by some kind of instrumentation, which can expose three kind of signals:
Prometheus is a time series database that is often used to store Metrics. It also offers the powerful query language PromQL to query and aggregate time series data.
Traces capture the full path through a system. Such a path is called a trace and contains a chain of spans. A span represents a unit of work or operation. In OpenTelemetry a span includes the following information