Announcement

Free to view yesterday and today
Customer Service: cat_manager

Grafana Loki - 像 Prometheus 一样处理日志的水平可伸缩日志聚合系统

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.

Go
Added on 2025年7月5日
View on GitHub
Grafana Loki - 像 Prometheus 一样处理日志的水平可伸缩日志聚合系统 preview
25,911
Stars
3,713
Forks
Go
Language

Project Introduction

Summary

Grafana Loki is a next-generation log aggregation system designed to be as easy to operate as Prometheus. It doesn't index the contents of logs, but rather indexes streams of logs using labels, making it highly efficient and cost-effective for storing and querying logs.

Problem Solved

Managing and querying massive volumes of log data from distributed systems can be challenging, expensive, and slow with traditional solutions. Loki solves this by focusing on log stream indexing via labels rather than full text indexing, offering a cost-effective and scalable alternative.

Core Features

Index-less Log Aggregation

Leverages labels like Prometheus for efficient log stream indexing, enabling fast querying.

Cost-Effective Design

Optimized for storing and querying log data with minimal resource overhead.

Multi-Tenant Architecture

Built with multi-tenancy from the ground up, suitable for shared environments.

Grafana Integration

Integrates seamlessly with Grafana for querying and visualization of log data.

Metrics Correlation

Complements Prometheus metrics by correlating logs with metrics using labels.

Tech Stack

Go
gRPC
Protobuf
HashiCorp Memberlist
বিভিন্ন存储后端 (যেমন S3, GCS, Cassandra, filesystem)

使用场景

Loki is suitable for various logging and monitoring use cases across different environments:

场景一:Kubernetes 日志收集

Details

Collect and centralize logs from all services and pods running in Kubernetes clusters for easy access and analysis.

User Value

Simplifies log management in dynamic containerized environments and enables quick debugging.

场景二:微服务日志统一管理

Details

Aggregate logs from distributed microservices, allowing developers and operators to trace requests and identify issues across service boundaries.

User Value

Provides a single pane of glass for troubleshooting complex distributed applications.

场景三:日志分析与可视化

Details

Utilize LogQL in Grafana to explore log streams, filter based on labels, and extract information for dashboards and alerts.

User Value

Empowers users to gain insights from log data and build proactive monitoring based on log patterns.

Recommended Projects

You might be interested in these projects

weztermwezterm

WezTerm is a powerful, GPU-accelerated, cross-platform terminal emulator and multiplexer written in Rust by @wez. It provides a fast, feature-rich, and customizable terminal experience for developers and command-line users across Windows, macOS, and Linux.

Rust
20497920
View Details

mayswindAriaNg

AriaNg 是一个基于纯 HTML & JavaScript 的现代 Web 前端,让强大的命令行下载工具 aria2 更易于使用和管理。提供直观的用户界面来监控和控制下载任务。

JavaScript
122891313
View Details

labmlaiannotated_deep_learning_paper_implementations

An extensive collection of annotated implementations and tutorials for prominent deep learning papers, covering transformers, optimizers, GANs, reinforcement learning, and more, designed to facilitate understanding through side-by-side notes.

Python
614106206
View Details