# Thanos

> Open source, highly available Prometheus setup with long term storage capabilities

Source: https://talira.ai/catalog/thanos-6p0s15z4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Database
- Categories: [devops / observability / metrics / long term storage](https://talira.ai/categories/devops/observability/metrics/long-term-storage), [devops / observability / metrics](https://talira.ai/categories/devops/observability/metrics)
- Platforms: linux, macos, windows, docker[^3][^5]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^3][^4]
- API: yes[^4]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^6][^7]

Thanos is a set of components added on top of existing [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) servers to give a global query view, unlimited retention and high availability. A Sidecar next to each Prometheus (or a Receiver that takes remote write) uploads data in the Prometheus block format to object storage such as S3, Google Cloud Storage or Azure; the Store Gateway serves it back, the Compactor compacts, downsamples and applies retention, and the Querier merges and deduplicates data from Prometheus HA pairs behind the Prometheus query API, so [Grafana](https://talira.ai/catalog/grafana-y52f1g3g.md) works unchanged. A Ruler evaluates recording and alerting rules over the whole dataset. It is Apache-2.0 and a CNCF incubating project.

## Links

- Website: https://thanos.io/
- GitHub: https://github.com/thanos-io/thanos
- Docs: https://thanos.io/tip/thanos/getting-started.md/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/thanos>[^1]

## Problems it solves

- keep a year of Prometheus metrics without buying huge disks for every server
- query metrics from Prometheus servers in many Kubernetes clusters from one Grafana data source
- we run two Prometheus replicas for HA and get duplicate series in every graph
- store old metrics cheaply in S3 or GCS and still query them with PromQL
- queries over the last six months are painfully slow on raw-resolution data
- Prometheus loses its local data when the pod is rescheduled and we want it in durable storage
- evaluate alert rules across data from all our clusters, not just one Prometheus
- accept remote write from many Prometheus agents into one central metrics store
- apply different retention to raw and downsampled metrics data
- scale Prometheus beyond one server without switching to a different query language

## Features

- global querying view across all connected Prometheus servers
- deduplication and merging of metrics from Prometheus HA pairs
- Sidecar that uploads Prometheus data to object storage
- Receiver for Prometheus remote write
- Store Gateway that serves metrics from an object storage bucket
- Compactor that compacts, downsamples and applies retention
- Ruler for recording and alerting rules over Thanos data
- Querier and Query Frontend implementing the Prometheus v1 query API, with response caching
- object storage clients for S3 and S3-compatible stores, Google Cloud Storage, Azure, OpenStack Swift, Tencent COS, AliYun OSS, Oracle Cloud and local filesystem
- cross-cluster federation and fault-tolerant query routing
- gRPC Store API for custom metric providers

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by Cloud Native Computing Foundation
- funding: non-profit

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md)
- Works with [Grafana](https://talira.ai/catalog/grafana-y52f1g3g.md)
- Works with [Prometheus Operator](https://talira.ai/catalog/prometheus-operator-t2xyv1nm.md)

## Alternatives

- [Amazon Managed Service for Prometheus](https://talira.ai/catalog/amazon-managed-service-for-prometheus-6qk4t9k9.md): Serverless, Prometheus-compatible monitoring service for container metrics
- [Cortex](https://talira.ai/catalog/cortex-20vp05mm.md): Horizontally scalable, highly available, multi-tenant, long term storage solution for Prometheus and OpenTelemetry Metrics
- [Grafana Mimir](https://talira.ai/catalog/grafana-mimir-z0v9m2c8.md): Horizontally scalable, highly available, multi-tenant long-term storage for Prometheus
- [VictoriaMetrics](https://talira.ai/catalog/victoriametrics-96s76n81.md): Fast, cost-effective and scalable time series database for monitoring, and long-term storage for Prometheus
- [GreptimeDB](https://talira.ai/catalog/greptimedb-scbnvh3h.md): The open-source observability database

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://github.com/thanos-io/thanos/blob/main/LICENSE (checked 19 Nov 2026)
[^3]: https://github.com/thanos-io/thanos/blob/main/README.md (checked 19 Nov 2026)
[^4]: https://thanos.io/tip/thanos/quick-tutorial.md/ (checked 19 Nov 2026)
[^5]: https://github.com/thanos-io/thanos/releases/latest (checked 19 Nov 2026)
[^6]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^7]: https://www.cncf.io/ (checked 20 Nov 2026)
