README 未给出安装命令,需按官方 Getting Started 文档部署;对象存储是可选依赖,但长期存储场景需要自行准备;组件较多,需按 Sidecar 或 Receive 架构分别部署

thanos
thanos-ioApache-2.0活跃维护给 Prometheus 加上跨集群高可用和长期存储能力,把多个 Prometheus 实例的数据聚合成全局可查询的指标视图。
Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。
README 未说明
在现有 Prometheus 之上叠加高可用与无限长期存储的指标系统组件集
给 Prometheus 加上跨集群高可用和长期存储能力,把多个 Prometheus 实例的数据聚合成全局可查询的指标视图。
核心能力
- 用 Sidecar 或 Receive 无缝接入现有 Prometheus 部署
- 把历史指标以 Prometheus 2.0 格式存入任意对象存储
- 跨所有 Prometheus 提供全局查询视图
- 对 HA 对采集的指标做去重与合并
- 对历史数据降采样以加速大规模查询
容易踩的坑
- v0.42.5最新正式版2026-10-27 · 2026-10-27 10:58 UTC
v0.42.4 but with eMudhra CA fix.
- v0.42.42026-07-30 · 2026-07-30 14:33 UTC
查看更新说明
Had to do another version release due to broken base image SHAs. No changes.
Full Changelog: https://github.com/thanos-io/thanos/compare/v0.42.3...v0.42.4
- v0.42.32026-07-29 · 2026-07-29 10:49 UTC
查看更新说明
Fixes a small bug - like before now Receive on shutdown creates a new block and uploads it.
Fixed
- #8948: receive: Preserve upload on shutdown behaviour
- v0.42.22026-07-17 · 2026-07-17 06:51 UTC
查看更新说明
Had to do another version release due to broken base image SHAs. No changes.
- v0.42.12026-07-16 · 2026-07-16 19:45 UTC
查看更新说明
This change fixes a small issue regarding timeouts in the Shipper component in the Receiver - we've accidentally set them too small. Sorry for that!
Changed
- #8920: receive: bump timeouts
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
📢 ThanosCon happened on 19th March 2024 as a co-located half-day on KubeCon EU in Paris.
Overview
Thanos is a set of components that can be composed into a highly available metric system with unlimited storage capacity, which can be added seamlessly on top of existing Prometheus deployments.
Thanos is a CNCF Incubating project.
Thanos leverages the Prometheus 2.0 storage format to cost-efficiently store historical metric data in any object storage while retaining fast query latencies. Additionally, it provides a global query view across all Prometheus installations and can merge data from Prometheus HA pairs on the fly.
Concretely the aims of the project are:
- Global query view of metrics.
- Unlimited retention of metrics.
- High availability of components, including Prometheus.
Getting Started
Features
- Global querying view across all connected Prometheus servers
- Deduplication and merging of metrics collected from Prometheus HA pairs
- Seamless integration with existing Prometheus setups
- Any object storage as its only, optional dependency
- Downsampling historical data for massive query speedup
- Cross-cluster federation
- Fault-tolerant query routing
- Simple gRPC "Store API" for unified data access across all metric data
- Easy integration points for custom metric providers
Architecture Overview
Deployment with Sidecar for Kubernetes:
Deployment with Receive in order to scale out or implement with other remote write compatible sources:
Thanos Philosophy
The philosophy of Thanos and our community is borrowing much from UNIX philosophy and the golang programming language.
- Each subcommand should do one thing and do it well
- e.g. thanos query proxies incoming calls to known store API endpoints merging the result
- Write components that work together
- e.g. blocks should be stored in native prometheus format
- Make it easy to read, write, and, run components
- e.g. reduce complexity in system design and implementation
Releases
Main branch should be stable and usable. Every commit to main builds docker image named main-<date>-<sha> in quay.io/thanos/thanos and thanosio/thanos dockerhub (mirror)
We also perform minor releases every 6 weeks.
During that, we build tarballs for major platforms and release docker images.
See release process docs for details.
Contributing
Contributions are very welcome! See our CONTRIBUTING.md for more information.
Community
Thanos is an open source project and we value and welcome new contributors and members of the community. Here are ways to get in touch with the community:
- Slack: #thanos
- Issue Tracker: GitHub Issues
Adopters
See Adopters List.
Maintainers
See MAINTAINERS.md