macOS
brew install sloth-clilocal Homebrew formula metadata
sudo port install slothMacPorts ports tree · aqua/sloth/Portfile · 来源: api.github.com
安装
brew install sloth-clilocal Homebrew formula metadata
sudo port install slothMacPorts ports tree · aqua/sloth/Portfile · 来源: api.github.com
nix profile install nixpkgs#slothnixpkgs package indexes · pkgs/by-name/sl/sloth/package.nix · 来源: api.github.com
概览
Prometheus SLO generator
历史
Sloth is a Prometheus SLO generator distributed as the `sloth` CLI by the Homebrew `sloth-cli` formula. It turns service-level-objective specifications into Prometheus recording and alerting rules, including multi-window, multi-burn-rate alerting.
The official repository describes Sloth as an easy way to generate Prometheus SLOs from a simple SLO spec. The GitHub repository was created in 2021, and the first GitHub release listed by the official API is v0.1.0 published on 2021-05-05.
The changelog shows the project growing from a focused CLI into a broader SLO toolchain: v0.10.0 added directory discovery for generated SLO files, v0.13.0 migrated rule generation to plugins, v0.15.0 exposed SLO generation as a Go library, and v0.16.0 added a server command and UI work.
Sloth fits the GitOps and Kubernetes observability audience: the official CLI docs say the generate mode only needs the CLI, making it useful for CI, scripts, and toolboxes.
Homebrew, MacPorts, and Nix package mappings in the input facts show adoption across common developer package managers, and the Homebrew formula API reported 545 installs-on-request over 365 days for the batch's lookup window.
The documented quick start is `sloth generate -i ./examples/getting-started.yml`, producing Prometheus rules from an SLO specification.
The official CLI usage page says `generate` supports multiple spec types, including the default Prometheus rules output and Kubernetes Prometheus-operator rules output.
Sloth matters to package-manager users because it packages SRE practice into a single CLI binary: SLO definitions can live in repositories and CI systems rather than only inside dashboards or vendor SaaS.
It is also a modern example of observability tooling being shipped through developer package managers so teams can pin, upgrade, and run it in local and automated workflows.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sloth | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:sloth-cli |
|---|---|
| 版本 | 0.16.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sloth-cli |
| 主页 | https://sloth.dev/ |
| 仓库 | https://github.com/slok/sloth |
| 上游文档 | https://sloth.dev/introduction |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/slok/sloth/archive/refs/tags/v0.16.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sloth-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
sloth
sudo port install slothsloth
nix profile install nixpkgs#sloth来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.