sloth

🦥 簡單易用的 Prometheus SLO(服務層級目標)產生器

sloth 是什麼?

🦥 簡單易用的 Prometheus SLO(服務層級目標)產生器

sloth 概覽

這是什麼

Sloth 是一個開放原始碼工具,能根據簡單的規格產生 Prometheus SLO(服務層級目標)設定。它會為任何服務產生一致的 Prometheus 記錄規則、警示規則與中繼資料,其基礎是 Google 的 SLO 實作與多重視窗多重燃燒警示框架。

主要功能

  • 簡單、可維護且易於理解的 SLO 規格
  • 基於 Google SLO 與多重視窗多重燃燒警示的可靠 SLO 指標與警示
  • 自動產生不同時間視窗的 Prometheus SLI 記錄規則
  • 自動產生 Prometheus SLO 中繼資料規則
  • 自動產生 Prometheus SLO 多重視窗多重燃燒警示規則(頁面與警告)
  • SLO 規格驗證,包含用於 GitOps 與 CI 的 validate 指令
  • 可自訂標籤、停用不同類型的警示
  • 跨不同服務與團隊建立 SLO 的統一方式
  • 自動產生 Grafana 儀表板以查看所有 SLO 狀態
  • 單一二進位檔與易用的 CLI
  • 支援 Kubernetes(Prometheus-operator)
  • 支援 Kubernetes Controller/operator 模式與 CRD
  • 支援不同的 SLI 類型與 SLI 外掛
  • 提供常見 SLI 外掛的函式庫
  • 支援 OpenSLO
  • 預設提供 30 天與 28 天的安全 SLO 期間視窗
  • 可自訂 SLO 期間視窗以因應進階使用案例

使用情境

Sloth 用於為任何類型的服務產生 Prometheus SLO 設定,確保跨團隊與服務的 SLO 指標與警示一致且可靠。適合想要採用 Google 風格 SLO 並搭配多重視窗多重燃燒警示的團隊,也適用於需要在 GitOps 或 CI 管線中驗證 SLO 規格的組織。此外也支援搭配 Prometheus-operator 與 CRD 的 Kubernetes 環境。

快速開始

bashsloth generate -i ./examples/getting-started.yml

授權與價格

Sloth 採用 Apache-2.0 授權,為開放原始碼軟體。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/sloksloth.svg)](https://yunodb.com/tools/sloksloth?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/sloksloth?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/sloksloth.svg" alt="Featured on YunoDB" height="20"></a>