[Loki / Promtail] A log aggregation system

Loki / Promtail for Yunohost

Overview

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.

It’s presented as “like Prometheus, but for logs”.

Shipped version: 2.7.1~ynh2

What is packaged

Loki and Promtail are packaged altogether. Both of them their upstream code are hosted in the same Github repository and are tight together: https://github.com/grafana/loki

Use case

You may install Loki if you want to monitor some applications using Grafana.

Typically you may be interested in this application for monitoring your PeerTube instance.

Limitations

Loki is not exposed to the web;

Configuration

If you want to add pieces of configuration or overwrite the configuration, add a new file in /etc/loki/loki.d/ for Loki or in /etc/loki/promtail.d/ for Promtail.

1 Like