OSS Tanbou

Grafana Loki — aggregate and query logs with Prometheus-style labels

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
28,916
Primary language
Go
License
AGPL-3.0
Repository last updated
Sep 19, 2026

Overview

Grafana Loki is a log aggregation system that stores compressed log data while indexing labels for each log stream rather than full-text indexing every line. It shares a label-oriented model with Prometheus and integrates natively with Grafana, making it especially useful for Kubernetes logging and unified observability workflows.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Filter logs through labels instead of full-text indexing

Loki stores compressed unstructured logs and indexes stream metadata, reducing the indexing footprint compared with systems that index complete log contents.

Sources: [2]

Connect metrics and logs through Prometheus-style labels

Kubernetes metadata such as Pod labels can classify streams, and Grafana can use related labels to move between metric investigation and logs.

Sources: [2]

For Kubernetes-centric observability stacks

Loki fits environments already using Grafana, Prometheus-style metrics, and Kubernetes metadata that want logs integrated into the same investigation workflow.

Sources: [2][4]

Check the current collector and Helm chart paths

The README states that Promtail is feature complete and future log-collection development is centered on Grafana Alloy. It also notes that the OSS Loki Helm chart moved to grafana-community/helm-charts on March 16, 2026.

Sources: [2]

Official sources

  1. [1]grafana/loki repository(2026-09-20)
  2. [2]Grafana Loki README(2026-09-20)
  3. [3]Grafana Loki AGPL-3.0-only license(2026-09-20)
  4. [4]Grafana Loki documentation(2026-09-20)
Supplemental curator note

Loki is worth evaluating when you want Prometheus-style labels for logs without full-text indexing every line. Grafana Alloy is now the forward path for log collection, and label design should be deliberate to avoid operational and query problems.

Try it in 3 steps

  1. 1

    Clone the Loki source

    Use the README single-host path to try Loki itself without a distributed deployment first.

    git clone https://github.com/grafana/loki.git && cd loki
  2. 2

    Build the Loki binary

    Build the local Loki executable using the source-build command documented in the README.

    go build ./cmd/loki
  3. 3

    Run the local configuration

    Start Loki, send some logs, then inspect labels and queries through Grafana or LogCLI.

    ./loki -config.file=./cmd/loki/loki-local-config.yaml
Check the official README

Growth

Growth trends · Last 30 days

28,916 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
367
Open PRs
438
Issues opened
58
Issues closed
271
PRs opened
2,087
PRs merged
1,309

Issues

58 / 271

Jun 23Sep 20
Issues openedIssues closed

Pull requests

2,087 / 1,309

Jun 23Sep 20
PRs openedPRs merged

Maintenance

Median first response
Not specified
Issue response rate
0% (0/56)

Based on up to the 100 newest issues opened by external users in the last 90 days. A first comment from an OWNER, MEMBER, or COLLABORATOR counts as a response; issues whose full comment history cannot be checked are excluded. The median and response rate update weekly.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • loki
  • grafana
  • prometheus
  • logging
  • cloudnative
  • hacktoberfest
Stars
28,916
Forks
4,113
Watchers
387
Open issues
1,082
Contributors
447
Primary language
Go
License
AGPL-3.0
Repository last updated
Sep 19, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.