1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/loki_ynh.git synced 2024-09-03 19:36:16 +02:00
loki_ynh/README_zh_Hans.md
2024-08-09 01:37:25 +00:00

2.8 KiB
Raw Permalink Blame History

YunoHost 上的 Loki + Promtail

集成程度 工作状态 维护状态

使用 YunoHost 安装 Loki + Promtail

阅读此 README 的其它语言版本。

通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Loki + Promtail。
如果您还没有 YunoHost请参阅指南了解如何安装它。

概况

Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.

Compared to other log aggregation systems, Loki:

  • does not do full text indexing on logs. By storing compressed, unstructured logs and only indexing metadata, Loki is simpler to operate and cheaper to run.
  • indexes and groups log streams using the same labels youre already using with Prometheus, enabling you to seamlessly switch between metrics and logs using the same labels that youre already using with Prometheus.
  • is an especially good fit for storing Kubernetes Pod logs. Metadata such as Pod labels is automatically scraped and indexed.
  • has native support in Grafana (needs Grafana v6.0).

A Loki-based logging stack consists of 3 components:

  • Promtail (included in this package) is the agent, responsible for gathering logs and sending them to Loki.
  • Loki is the main server, responsible for storing logs and processing queries.
  • Grafana for querying and displaying the logs.

分发版本: 3.0.0~ynh2

文档与资源

开发者信息

请向 testing 分支 发送拉取请求。

如要尝试 testing 分支,请这样操作:

sudo yunohost app install https://github.com/YunoHost-Apps/loki_ynh/tree/testing --debug
或
sudo yunohost app upgrade loki -u https://github.com/YunoHost-Apps/loki_ynh/tree/testing --debug

有关应用打包的更多信息: https://yunohost.org/packaging_apps