Grafana Loki
A log storage system from Grafana Labs that indexes only a few labels per log stream and is queried from Grafana.
In more detail
Loki keeps log lines cheaply by indexing labels such as service rather than every word, and searches the text at query time. Its query language, LogQL, filters log streams by label and then by content.
Example
In the course the OpenTelemetry Collector forwards the service's structured logs to Loki.Related terms
- Grafana — An open-source tool for building dashboards and exploring data, which sends queries to data sources such as Prometheus and Loki and draws the results.
- log — A time-stamped record of an individual event in a system, such as one request being handled; structured logs record it as named fields rather than free text.
- OpenTelemetry Collector — A separate program that receives telemetry from services, processes it and exports it to one or more telemetry backends.
- structured logging — Writing each log entry as named fields, such as status, duration and request identifier, instead of a free-text sentence.
Taught in
- Slow, Or Broken? Metrics, Logs And Traces — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Observability Versus Monitoring — Full-Stack Observability: Metrics, Tracing & Logging
- Prometheus Scraping And The Pull Model — Full-Stack Observability: Metrics, Tracing & Logging
- The OpenTelemetry Collector — Full-Stack Observability: Metrics, Tracing & Logging