macOS
brew install thanoslocal Homebrew formula metadata
安装
brew install thanoslocal Homebrew formula metadata
sudo apk add thanosAlpine Linux edge package indexes · thanos · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#thanosnixpkgs package indexes · pkgs/by-name/th/thanos/package.nix · 来源: api.github.com
概览
Highly available Prometheus setup with long term storage capabilities
历史
Thanos is a CNCF Incubating project that extends Prometheus deployments with global querying, high availability, and long-term storage. The README describes it as a set of composable components that can be added on top of existing Prometheus installations.
Thanos was created in the Prometheus ecosystem to address operational gaps that appear when teams run many Prometheus servers or need longer metric retention than local Prometheus storage comfortably provides. The CNCF incubation announcement says the project was created at Improbable to enable reliable monitoring on a global scale.
The project architecture follows a component model rather than a single monolith. Its README lists aims including a global query view, unlimited retention, and high availability; its getting-started documentation presents Thanos as a single binary whose features can be deployed independently for gradual rollout.
Thanos moved into CNCF governance as the cloud-native monitoring ecosystem matured. The CNCF project page records acceptance into CNCF on July 14, 2019 and movement to Incubating maturity on August 19, 2020.
The official Thanos repository maintains an adopters list including organizations such as Aiven, Monzo, Adobe, eBay, Sauce Labs, Tencent, Wise, ByteDance, SoundCloud, and many others. This gives the project unusually visible enterprise adoption compared with small CLI-only formulae.
The Thanos documentation also records talks, user stories, and blog posts from 2018 onward, including an introductory 2018 post, 2019 user stories, and later KubeCon/CNCF-era talks. That official documentation trail shows the project moving from early Prometheus-at-scale experiments into a standard option for multi-cluster and long-retention metrics systems.
Operators use the `thanos` binary to deploy components such as Sidecar, Query, Store, Receive, Rule, Compact, and Query Frontend. The getting-started guide explains that Thanos can be added gradually and can run in Kubernetes or more traditional environments.
The package is especially relevant to Prometheus users who need object-storage-backed historical metrics, deduplication across high-availability Prometheus pairs, global query views across clusters, and downsampling for older data.
For package nerds, Thanos is a case where a Homebrew formula is not just a developer convenience but a way to get the same operational binary used in Kubernetes and cloud-native production systems. The README notes that release tarballs are built for major platforms and that every commit to main builds container images.
Its package-manager footprint in the input spans Homebrew, Alpine, and Nix, while its primary distribution story remains GitHub releases and OCI images. That split reflects modern infrastructure tooling: package managers help local testing and ops workflows, while production often consumes containers or Kubernetes manifests.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
thanos | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/thanos-io/thanos
安装元数据
| 软件包键 | brew:thanos |
|---|---|
| 版本 | 0.42.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/thanos |
| 主页 | https://thanos.io |
| 仓库 | https://github.com/thanos-io/thanos |
| 上游文档 | https://github.com/thanos-io/thanos#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/thanos-io/thanos/archive/refs/tags/v0.42.2.tar.gz |
| 最后更新 | 2026-07-16T21:29:09Z |
| Pulse | updated |
| 构建依赖 | 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 | thanos |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
thanos
nix profile install nixpkgs#thanosthanos 0.31.0-r23
Highly available Prometheus setup with long term storage capabilities. CNCF Sandbox project.
https://github.com/thanos-io/thanos
sudo apk add thanosthanos-openrc 0.31.0-r23
Highly available Prometheus setup with long term storage capabilities. CNCF Sandbox project. (OpenRC init scripts)
https://github.com/thanos-io/thanos
sudo apk add thanos-openrc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.