「Grafana Loki」- 日志收集

问题描述

在我们的技术栈中,Grafana Loki 出现的频率较高,能够覆盖我们多数业务场景,所以我们将尝试对其学习并使用;

该笔记将记录:我们对 Grafana Loki 的学习笔记,与之关的概念术语、部署、使用、维护,及常见问题解决办法;

解决方案

官方文档是我们学习的开始,以官方文档为中心进行学习与使用。

该部分笔记将围绕官方文档展开:

Release notes => Installing and Upgrading
Fundamentals => Concepts and Fundamentals
Installation => Installing and Upgrading
Upgrading => Installing and Upgrading
Getting started => Getting Started
Best practices => Best practices

Configuration
Clients(负责将查询日志发送到 Grafana Loki 中)
—- Loki Promtail
—- Lambda Promtail
—- AWS
—- Docker driver
—- Fluent Bit
—- Fluentd
—- Logstash
—- k6 load testing
Alerting and Recording Rules => Alerting and Recording Rules
LogQL => LogQL
Operations(运维管理相关的内容,包括 认证、多租户、存储、排障 等等;)
—- Authentication => Problems Solving and How-to
—- Loki in Grafana
—- Observability
—- Overrides Exporter
—- Scalability
—- Storage => Storage (Grafana Loki)
—- Multi-tenancy
—- Loki Canary
—- Troubleshooting
—- Recording Rules
HTTP API => HTTP API, REST API
Storage => Storage (Grafana Loki)
Tools
Community => Concepts and Fundamentals/Community
Maintaining => Concepts and Fundamentals/Maintaining
Design documents

参考文献

Grafana Loki | Grafana Loki documentation