grafana/loki

Like Prometheus, but for logs.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 36 minutes ago
Added to GitGenius on July 24th, 2022
Created on April 16th, 2018
Open Issues & Pull Requests: 1,725 (+0)
Number of forks: 4,090
Total Stargazers: 28,777 (+0)
Total Subscribers: 383 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 16.7 days
Mean response time: 273.6 days
90th percentile: 1015.4 days
Tracked items: 1,947

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "upgrade" is answered fastest, typically in about 3 days, while "keepalive" waits about 40 months. 63% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 974
New in 7 days: 5
Closed in 7 days: 7
Avg open age: 677 days
Stale 30+ days: 920
Stale 90+ days: 893

Recent activity

Opened in 7 days: 5
Closed in 7 days: 5
Comments in 7 days: 9
Events in 7 days: 49

Top labels

  • type/bug (594)
  • type/feature (352)
  • stale (330)
  • area/helm (326)
  • type/question (251)
  • type/docs (162)
  • component/promtail (161)
  • keepalive (157)

Detailed Description

Loki is a horizontally-scalable, multi-tenant log aggregation system built in Go and inspired by Prometheus. Rather than performing full-text indexing on log contents, Loki stores compressed, unstructured logs while indexing only metadata labels, making it significantly cheaper to operate and simpler to maintain than traditional log aggregation systems. The system is designed to work seamlessly with Prometheus by using the same label-based approach for both metrics and logs, allowing users to switch between the two using identical label sets. This label-centric architecture makes Loki particularly well-suited for Kubernetes environments, where Pod labels and metadata are automatically scraped and indexed.

The Loki stack consists of three components: Alloy, which is the agent responsible for gathering logs and sending them to Loki; Loki itself, which stores logs and processes queries; and Grafana, which provides the interface for querying and displaying logs. Alloy replaced Promtail as the primary log collection agent, with Promtail now considered feature-complete while future development focuses on Alloy's expanded capabilities. Loki has native support in Grafana starting from version 6.0, enabling integrated observability workflows.

The repository shows active development and community engagement.

The repository's scope extends across multiple operational domains. Documentation covers API usage for ingesting logs, label configuration, operational procedures, Docker driver integration for direct container log shipping, LogCLI for command-line querying, Loki Canary for monitoring log delivery, and troubleshooting guidance. A significant operational note indicates that as of March 16, 2026, the Grafana Loki Helm chart is being forked to a new repository at grafana-community/helm-charts, with the original repository maintaining the chart only for Grafana Enterprise Loki users.

The codebase is distributed under AGPL-3.0-only with Apache-2.0 exceptions documented in LICENSING.md. The project provides multiple support channels including a community forum, Slack workspace, GitHub issues, and a Google Groups mailing list, reflecting its position as an established cloud-native observability tool within the Grafana ecosystem.