grafanaOps & cloud

loki

A horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.

  • DevOps
  • Backend
  • Operations
  • Monitoring / Observability
  • Data analysis
  • Web
  • Desktop
  • CLI
  • Linux
  • macOS
  • Windows
  • Self-hostable
  • Runs locally
  • Docker supported
loki screenshot
Popularity
28.8k Stars
GitHub stars
Recent activity
8/23/2026
Updated in the last 30 days
License
AGPL-3.0
Strong copyleft

Why it matters

We look beyond stars: what problem it solves, whether it creates real utility, and what makes its approach worth noticing.

Last 90 days

Problem

Traditional log systems often entail high storage costs and operational overhead due to full-text indexing requirements.

Practical value

By indexing only metadata and labels while aligning with Prometheus label standards, it reduces resource consumption for log collection and querying.

Innovation / differentiation

It adopts Prometheus's multi-dimensional label design philosophy, abandoning full-text indexing in favor of label-stream-based compressed storage.

Leverage potential

It integrates tightly with Grafana and Grafana Alloy, forming a complete cloud-native log observability stack.

Why now

Amid Kubernetes becoming the standard for container orchestration, it fits the demand for lightweight, low-cost logging solutions in cloud-native environments.

Community activity

In the last 90 days there were 60 new issues and 2093 pull requests; the bounded issue/PR samples include 48 issue authors and 16 PR contributors, with at least 10 releases.

Maintainer responsiveness

The 59-issue window sample had a 25% close rate, and the 97-pull-request sample had a 72% merge rate. Maintainer-response observations covered 37% of that issue sample, with a 0% response rate and median first response of not enough data.

16 contributors in PR sampleAt least 10 releasesIssue response rate 0% · sample 22 (37% coverage)PR merge rate 72% · 97 sampled in window

Key highlights

  • Label-based log stream indexing
  • Horizontally scalable and highly available architecture
  • Multi-tenant support

Quick start

How it is installed, how hard it is, and where to start.

Where it runs

Self-hosted (your own server)

Difficulty

Medium — some setup needed

Docker supportedSelf-hostableRuns locally
  1. 01Clone the Loki source code repository.
  2. 02Build the Loki binary using Go.
  3. 03Start the Loki service using a local configuration file.

Best for

  • Teams that want data on their own servers
  • Developers who want to try it on their machine
  • People who prefer Docker deploys

More about it

Loki is a horizontally scalable, multi-tenant log aggregation system inspired by Prometheus. Instead of performing full-text indexing, it indexes log streams using a set of labels and metadata, keeping operational costs low and maintenance straightforward.

A typical logging setup consists of Grafana Alloy for gathering and pushing logs, Loki for storage and query processing, and Grafana for visualization. This architecture aligns closely with Prometheus to help correlate metrics and logs in cloud-native environments.

Sources

Each field shows its status and source — expand to review.

15 · Expand
  • capability tags

    Verified

    monitoring, data_analysis

    Source: admin_cms · cms editor · 8/23/2026

  • editor note

    Verified

    {"en":"Loki significantly reduces storage costs by indexing labels instead of full-text content. It works best when integrated with Grafana and Prometheus, making it ideal for Kubernetes log management.","zh":"Loki 通过仅索引标签而非全文内容,减少了日志存储成本。它与 Grafana 和 Prometheus 配合使用效果最佳,特别适合 Kubernetes 环境下的日志管理。"}

    Source: admin_cms · cms editor · 8/23/2026

  • how to use

    Verified

    {"steps":[{"en":"Clone the Loki source code repository.","zh":"克隆 Loki 源代码仓库。"},{"en":"Build the Loki binary using Go.","zh":"使用 Go 编译 Loki 二进制文件。"},{"en":"Start the Loki service using a local configuration file.","zh":"使用本地配置文件启动 Loki 服务。"}],"installAt":"self_host","difficulty":"medium"}

    Source: admin_cms · cms editor · 8/23/2026

  • intro

    Verified

    {"en":"Loki is a horizontally scalable, multi-tenant log aggregation system inspired by Prometheus. Instead of performing full-text indexing, it indexes log streams using a set of labels and metadata, keeping operational costs low and maintenance straightforward.\n\nA typical logging setup consists of Grafana Alloy for gathering and pushing logs, Loki for storage and query processing, and Grafana for visualization. This architecture aligns closely with Prometheus to help correlate metrics and logs in cloud-native environments.","zh":"Loki 是一个受 Prometheus 启发而构建的多租户、高可用日志聚合系统。它采用多维度标签进行索引,不存储全文索引,而是仅对元数据和标签进行处理,从而降低了运行成本并简化了运维流程。\n\n系统通常由 Grafana Alloy 负责收集日志并推送至 Loki 存储与处理,最终在 Grafana 中进行查询和展示。这种设计使其非常适合云原生环境,能够与 Prometheus 配合实现指标和日志的切换。"}

    Source: admin_cms · cms editor · 8/23/2026

  • Latest release

    Verified

    v3.7.6

    Source: GitHub API · latest_release=v3.7.6 · 8/23/2026

  • License

    Verified

    AGPL-3.0

    Source: GitHub API · license.spdx_id=AGPL-3.0 · 8/23/2026

  • needs api key

    Verified

    No

    Source: admin_cms · cms editor · 8/23/2026

  • One-liner

    Verified

    {"en":"A horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus.","zh":"一款受 Prometheus 启发的水平可扩展、高可用的多租户日志聚合系统。"}

    Source: admin_cms · cms editor · 8/23/2026

  • Platforms

    Verified

    linux, macos, windows

    Source: admin_cms · cms editor · 8/23/2026

  • Category hint

    Inferred from materials

    ai-apps

    Source: Project README · hint=ai-apps · 8/18/2026

  • product forms

    Verified

    web, desktop, cli

    Source: admin_cms · cms editor · 8/23/2026

  • role tags

    Verified

    devops, backend, operations

    Source: admin_cms · cms editor · 8/23/2026

  • supports docker

    Verified

    Yes

    Source: Repository file · dockerfile=true; compose=true · 8/23/2026

  • supports local

    Verified

    Yes

    Source: admin_cms · cms editor · 8/23/2026

  • supports self host

    Verified

    Yes

    Source: admin_cms · cms editor · 8/23/2026

Other verified projects matched by category, capabilities, and intended roles.