Auto-sync: 2026-04-16 17:30
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
---
|
||||
title: Loki
|
||||
type: entity
|
||||
tags: [日志聚合, 可观测性, Grafana, 开源]
|
||||
sources: ["https://grafana.com/oss/loki"]
|
||||
last_updated: 2026-04-15
|
||||
---
|
||||
|
||||
## 基本信息
|
||||
- **类型**:日志聚合系统
|
||||
- **官网**:https://grafana.com/oss/loki
|
||||
- **公司**:Grafana Labs
|
||||
|
||||
## 核心机制
|
||||
- **标签索引**:仅索引元数据(标签),而非全文索引,存储极简
|
||||
- **Promtail**:日志收集代理,部署在每台主机将日志推送到 Loki
|
||||
- **与 Prometheus/Grafana 原生集成**:同属 Grafana Labs 生态
|
||||
- **查询语言**:LogQL,与 PromQL 类似但用于日志
|
||||
|
||||
## 在 Wiki 中的角色
|
||||
- [[家庭监控方案 Prometheus + Grafana + Node Exporter + cAdvisor + Blackbox]] 扩展建议:加 Loki + Promtail 做日志收集
|
||||
- [[Grafana]] 作为 Loki 日志的展示界面
|
||||
Reference in New Issue
Block a user