RepositoryGo
Lifailon

Lifailon/logporter

A lightweight alternative to cAdvisor for exporting metrics from Docker containers, a log collector for sending logs to Loki, a tool for finding new image versions, and a built-in Dashboard.

104sao
11fork
0issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: docker-metrics

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: log-collector

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: cadvisor

#1 Repository của tuần

🐳 logporter - Giải pháp giám sát Docker nhẹ cân thay thế cAdvisor

Công cụ xuất metrics từ container Docker với mức tiêu thụ CPU và bộ nhớ thấp hơn 15-20 lần so với cAdvisor.

logporter là một dự án Go nhẹ cân, cung cấp giải pháp thay thế cAdvisor để thu thập metrics cơ bản và tùy chỉnh từ container Docker. Ngoài ra, dự án còn hỗ trợ thu thập logs gửi đến Loki, tìm kiếm phiên bản hình ảnh mới, và tích hợp sẵn dashboard Grafana.

✨ Điểm nổi bật

  • Xuất metrics thay thế cAdvisor: Tiết kiệm 15-20x CPU và 10x bộ nhớ ở chế độ metrics cơ bản so với cAdvisor.
  • Thu thập số lượng logs: Hiển thị số lượng logs trong mỗi chu kỳ thu thập, phản ánh khối lượng traffic và tỷ lệ lỗi thực tế.
  • Hỗ trợ log collector: Gửi logs đến Loki thông qua cấu hình logging phù hợp.
  • Tích hợp Dashboard Grafana: Được kết nối sẵn với Prometheus và Grafana qua docker-compose.
  • Cấu hình linh hoạn: Hỗ trợ biến môi trường để tù chỉnh cổng, cache, thu thập logs, volumes.
  • Hỗ trợ docker-proxy: Sử dụng proxy an toàn thay vì gắn kết trực tiếp socket Docker.
  • Danh sách metrics đầy đủ: Bao gồm kích thước hình ảnh, volumes, trạng thái container, CPU, bộ nhớ, IOps, uptime.
  • Dễ triển khai: Chỉ cần một lệnh docker-compose để khởi động toàn bộ stack giám sát.

💡 Vì sao đáng chú ý

logporter khác biệt từ cách tiếp cận truyền thống như cAdvisor bằng việc tối ưu hóa hiệu suất tài nguyên. Với khả năng tiết kiệm đáng kể CPU và bộ nhớ, đây là lựa chọn lý tưởng cho môi trường có nhu cầu giám sát nhẹ nhàng hoặc triển khai trên thiết bị edge. Ngoài ra, tích hợp sẵn dashboard và hỗ trợ log collector giúp giảm thiểu công đoạn cấu hình ban đầu.


#Docker #Golang #Monitoring #Metrics #Grafana #Prometheus #Loki #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryGo
influxdata/telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

17.9k
Dec 1, 2026
RepositoryGo
ccfos/nightingale

Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.

13.5k
Nov 30, 2026
RepositoryTypeScript
ClickHouse/ClickStack

Resolve production issues, fast. An open source observability platform unifying session replays, logs, metrics, traces and errors powered by ClickHouse and OpenTelemetry.

10.1k
Nov 27, 2026
RepositoryGo
netdata/netdata

Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations

81.7k
Nov 30, 2026
RepositoryGo
grafana/grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

78.4k
Nov 30, 2026
RepositoryGo
prometheus/prometheus

The Prometheus monitoring system and time series database.

68.1k
Dec 2, 2026
RepositoryJavaScript
louislam/uptime-kuma

A fancy self-hosted monitoring tool

95.1k
Nov 30, 2026
RepositoryRust
influxdata/influxdb

Scalable datastore for metrics, events, and real-time analytics

31.8k
Dec 2, 2026
RepositoryGo
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

72.3k
Nov 26, 2026