Skip to content

thanos

Prometheus add-on for high availability, global queries and long-term metric storage

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

77

Health

Thriving

Overview

Stars

14,289

Last commit

yesterday

Nov 2026

Repository age

9 years

since Nov 2017

Latest version

v0.42.5

Oct 2026

Contributors

–

27 active in 90 days

Releases

7

last 12 months

Language

Go

Thanos is a set of components that you add on top of existing Prometheus servers. It adds a global query view across all your Prometheus installations, and it merges and deduplicates data from Prometheus HA pairs.

It keeps historical metrics in object storage, such as S3 or Google Cloud Storage, using the native Prometheus storage format. Downsampling speeds up queries over long time ranges. Components talk through a gRPC Store API. You can deploy a Sidecar next to Prometheus in Kubernetes, or use Receive to accept remote write data from other sources. Each subcommand does one job, such as query, which merges results from store endpoints.

Thanos is written in Go, uses the Apache-2.0 license and is a CNCF Incubating project. It runs on Linux and macOS, ships Docker images and has a Homebrew formula. Minor releases come every six weeks. It fits teams that outgrow a single Prometheus server and want to keep their metrics tooling open source.

Who it's for

Platform teams running many Prometheus servers

A single query layer spans every cluster, so you do not have to check each server by hand.

Skip if: You run one small Prometheus with short retention.

SREs who need months or years of metric history

Blocks go to cheap object storage and downsampling keeps long-range queries quick.

Skip if: Your retention needs are covered by local disk.

Teams replacing a paid hosted metrics service

It keeps the Prometheus format and tooling you already use.

Skip if: You prefer a managed service and do not want to operate components.

The problem it solves

A single Prometheus server limits retention, availability and visibility across clusters. Hosted monitoring services solve this but add cost and lock-in. Thanos extends the Prometheus setup you already have.

Strengths

  • Global query view across all connected Prometheus servers
  • Merges data from Prometheus HA pairs on the fly
  • Stores metrics in any object storage in native Prometheus format
  • Downsampling speeds up queries over long time ranges
  • 25 contributors in the last 90 days and 7 releases in the last year

Trade-offs

  • Several components to deploy and tune, which adds operational work
  • Assumes you already run Prometheus
  • Needs an object storage bucket for long-term retention

Self-host thanos

Self-hostable
Yes

Frequently asked questions

Is Thanos free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. You run the components yourself, in Kubernetes or elsewhere, and Docker images are available.

Does it replace Prometheus?

No. It is added on top of existing Prometheus deployments and uses the Prometheus 2.0 storage format.

Where does it store data?

In any supported object storage, which is its only optional dependency.

How often is it released?

Minor releases come every six weeks, and the main branch builds Docker images on each commit.

Similar tools in Infrastructure monitoring tools

Pulse

Infrastructure monitoring tools

Self-hosted dashboard and alerts for Proxmox, Docker, Kubernetes and TrueNAS

7.2k 292 today Active MIT

cortex

Infrastructure monitoring tools

Multi-tenant long-term metrics storage for Prometheus and OpenTelemetry at cluster scale

5.9k 891 today Active Apache-2.0

Kener

Infrastructure monitoring tools

Self-hosted status page and uptime monitor for teams that want a simple public page

5.3k 328 2 days ago Thriving MIT

beszel

Infrastructure monitoring tools

Lightweight server monitoring hub with Docker stats and alerts for homelabs

28k 1.2k today Thriving MIT

checkcle

Infrastructure monitoring tools

Self-hosted uptime and server monitoring with status pages for DevOps teams

3.3k 295 4 months ago Dormant MIT

ciao

Infrastructure monitoring tools

Self-hosted HTTP uptime checker with email and webhook alerts, no database needed

2k 109 16 days ago Slowing MIT