← 返回
未分类 中文

Slo Calculator

Calculate SLO/SLA error budgets, allowed downtime, burn rates, and uptime metrics. Use when asked about SLO targets, error budgets, uptime calculations, nine...
计算 SLO/SLA 错误预算、允许宕机时间、燃烧率和可用性指标。用于被询问 SLO 目标、错误预算、可用性计算、九(如99.9%)等情形。
charlie-morrison charlie-morrison 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 365
下载
💾 1
安装
1
版本
#latest

概述

SLO/Error Budget Calculator

Calculate uptime targets, allowed downtime, error budgets, and burn rates for SLO/SLA management.

Error Budget

# All periods
python3 scripts/slo.py budget 99.9

# Specific periods
python3 scripts/slo.py budget 99.9 month week day

# Named aliases
python3 scripts/slo.py budget three-nines

Burn Rate

# Consumed 15m downtime in first 15 days of month
python3 scripts/slo.py burn 99.9 15m --period month --elapsed 15d

# Simple: consumed 2h this month
python3 scripts/slo.py burn 99.9 2h

Compare Targets

python3 scripts/slo.py compare 99 99.9 99.99 99.999 --period month

Observed Uptime

# From downtime
python3 scripts/slo.py uptime --downtime 45m --period month

# From uptime
python3 scripts/slo.py uptime --uptime-seconds 2589300 --period month

Multi-Window Analysis

python3 scripts/slo.py multi-window 99.9 month:15m week:3m day:30s

Reference Table

python3 scripts/slo.py table
python3 scripts/slo.py table --period year

Output Formats

All commands support --format text|json|markdown:

python3 scripts/slo.py budget 99.9 -f json
python3 scripts/slo.py table -f markdown

Duration Syntax

Durations use: 30s, 5m, 2h, 1d, 2h30m, 1d12h. Raw seconds also accepted.

SLO Aliases

  • 99, 99.9, 99.95, 99.99, 99.999 — direct percentages
  • two-nines, three-nines, four-nines, five-nines — named aliases

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 08:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,868
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,554
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,869