# thanos-io/thanos

Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.

Repository: https://github.com/thanos-io/thanos
Canonical: https://ross.abutalabs.com/products/thanos
Homepage: https://thanos.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: prometheus, google-cloud-storage, high-availability, prometheus-ha-pairs, thanos, s3, storage, cncf, prometheus-setup, go, metrics, monitoring, observability, hacktoberfest
Last push: 2026-08-26T12:51:48+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 3227, "days_push": 7, "days_rel": 34, "gap_med": 10.0, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14188, forks 2354 (observed 2026-08-28T04:11:06.411717+00:00)

## What it is
Thanos is a set of composable components that turn existing Prometheus deployments into a highly available metrics system with unlimited long-term storage in object storage (S3, GCS, Azure, Swift, Tencent COS). It provides a global query view across all Prometheus instances, deduplication of HA pairs, downsampling, and compaction, and is a CNCF Incubating project written in Go.

## Use cases
- store prometheus metrics long term in s3
- query metrics across multiple prometheus servers globally
- set up highly available prometheus with ha pair deduplication
- downsample old metric data for faster dashboards
- unlimited metrics retention without losing query performance
- back up prometheus tsdb data to object storage
- federate prometheus queries across clusters

## When to choose
- you run multiple Prometheus servers or clusters and need a single global query view
- you need cost-efficient, unlimited retention of metrics in object storage
- you want Prometheus HA pair deduplication and downsampling/compaction
- you want to keep using Grafana and the Prometheus Query API unchanged

## When to avoid
- you have a single small Prometheus instance with modest retention needs
- you want a fully managed metrics service rather than self-operated components
- your metrics stack is not Prometheus-based

## Facets
- artifact type: application
- maturity: stable
- function: monitoring, object-storage, api-framework, deployment, microservices
- domain: monitoring, cloud-computing, microservices, self-hosted
- platform: go, cloud, cross-platform, self-hosted
- tags: prometheus, metrics, long-term-storage, observability, high-availability, cncf, downsampling, global-query-view, time-series-database, grafana-compatible, devops, containers, docker, kubernetes, linux

## Member repositories
- thanos-io/thanos (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:06.411717+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:44.474078+00:00, confidence not recorded.
  - readme: https://github.com/thanos-io/thanos (fetched 2026-08-28T04:11:06.411717+00:00, sha 648195f3be5d)
  - homepage: https://thanos.io (fetched 2026-08-29T08:06:31.912304+00:00, sha 62e595d442a4)
  - site_page: https://thanos.io/v0.40/thanos/getting-started.md (fetched 2026-08-29T08:06:31.928784+00:00, sha fa062f199ab6)
  - site_page: https://thanos.io/v0.39/thanos/getting-started.md (fetched 2026-08-29T08:06:31.931489+00:00, sha 816dd3d6395f)
  - site_page: https://thanos.io/v0.38/thanos/getting-started.md (fetched 2026-08-29T08:06:31.934387+00:00, sha 8bf35f836715)
  - site_page: https://thanos.io/tip/thanos/getting-started.md (fetched 2026-08-29T08:06:31.921535+00:00, sha 58c367be2d8e)
  - site_page: https://thanos.io/v41.0/thanos/getting-started.md (fetched 2026-08-29T08:06:31.924080+00:00, sha fb9563981b3b)
  - site_page: https://thanos.io/v0.42/thanos/getting-started.md (fetched 2026-08-29T08:06:31.926385+00:00, sha 1971cc0083b8)
  - site_page: https://thanos.io/v0.37/thanos/getting-started.md (fetched 2026-08-29T08:06:31.936885+00:00, sha 61deaba0cfae)
  - site_page: https://thanos.io/v0.36/thanos/getting-started.md (fetched 2026-08-29T08:06:31.939229+00:00, sha e959f0960acd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
