RepositoryGoCZSéc
SE

seznam/slo-exporter

Slo-exporter computes standardized SLI and SLO metrics based on events coming from various data sources.

190sao
21fork
10issue
1lượt xem

🚀 slo-exporter: Công cụ tính toán SLO chuẩn từ sự kiện thời gian thực

Công cụ Go mã nguồn mở giúp bạn tính toán SLI/SLO một cách chuẩn hóa từ các sự kiện thu thập được, kèm ví dụ và dashboard Grafana sẵn.

slo-exporter là một công cụ được viết bằng ngôn ngữ Go, giúp tính toán các chỉ số Service Level Indicator (SLI) và Service Level Objectives (SLO) dựa trên các sự kiện thu thập được từ nhiều nguồn dữ liệu khác nhau. Dự án tuân thủ nguyên tắc từ cuốn "SRE Workbook" của Google và cung cấp đầy đủ các ví dụ, dashboard Grafana, quy tắc ghi nhớ và cảnh báo Prometheus để bạn có thể triển khai ngay hệ thống cảnh báo dựa trên SLO.

✨ Điểm nổi bật

  • Tính toán SLI/SLO chuẩn: Dựa trên nguyên tắc từ SRE Workbook, hỗ trợ phân loại sự kiện theo từng domain và class.
  • Hỗ trợ nhiều nguồn dữ liệu: Thu thập sự kiện từ các nguồn khác nhau để tính toán chỉ số một cách linh hoạt.
  • Metric chuẩn cho Prometheus: Xuất metric slo_domain_slo_class:slo_events_total giúp dễ dàng tính error budget và burn rate.
  • Tích hợp sẵn ví dụ và dashboard: Bao gồm các ví dụ thực tế, dashboard Grafana, rule và alert Prometheus.
  • Dễ dàng cài đặt: Hỗ trợ cài đặt qua Docker, binary đã biên dịch hoặc build từ mã nguồn.
  • Tài liệu hướng dẫn chi tiết: Cung cấp tài liệu cấu hình, vận hành và định nghĩa SLO mới rõ ràng.

💡 Vì sao đáng chú ý

slo-exporter ra đời để giải quyết những vấn đề khi dùng trực tiếp Prometheus để tính SLO như độ phong phú của thẻ metric (cardinality), phân loại sự kiện phức tạp với regex và khó khăn trong việc lọc theo metadata. Thay vì xử lý trực tiếp trên Prometheus, công cụ này xử lý sự kiện riêng biệt và chỉ thực hiện tính toán cuối cùng trên Prometheus, giúp hệ thống ổn định và dễ quản lý hơn. Phù hợp với các đội ngũ SRE hoặc DevOps muốn xây dựng hệ thống cảnh báo chuẩn baseclass trên SLO một cách nhanh chóng.


#SLO #SLI #Prometheus #SRE #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
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
last9/slo-computer

SLOs, Error windows and alerts are complicated. Here an attempt to make it easy

132
Mar 4, 2025
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
prometheus/prometheus

The Prometheus monitoring system and time series database.

68.1k
Dec 2, 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
RepositoryGo
slok/sloth

🦥 Easy and simple Prometheus SLO (service level objectives) generator

2.6k
Oct 28, 2026
RepositoryJava
apache/hertzbeat

An AI-powered next-generation open source real-time observability system.

7.5k
Nov 25, 2026
RepositoryGo
grafana/loki

Like Prometheus, but for logs.

29.3k
Nov 30, 2026
RepositoryGo
VictoriaMetrics/VictoriaMetrics

VictoriaMetrics: fast, cost-effective monitoring solution and time series database

18.3k
Dec 2, 2026