Repolode
thanos-io

thanos-io/thanos

Set of components that extends Prometheus with a global query view, long-term storage in object storage, and high availability.

Open-source alternative to:Datadog

Stars
14,252
Forks
2,395
Open issues
931
Last commit
2 days ago

What is it?

Thanos is a set of components that can be combined into a highly available metrics system with long-term retention, added on top of existing Prometheus deployments. It provides a single query view across many Prometheus servers and can merge data from Prometheus HA pairs at query time.

Historical metrics are stored in the Prometheus 2.0 block format in any object storage, which keeps retention costs low while query latency stays reasonable. Downsampling is available for faster queries over long time ranges, and components expose a gRPC Store API for unified access to metric data.

The project is a CNCF Incubating project and is designed around small components with single responsibilities, such as query, store gateway, sidecar, receive, and compactor.

Key features

  • 01Global query view across multiple Prometheus servers
  • 02Deduplication and merging of data from Prometheus HA pairs
  • 03Long-term storage in any object storage
  • 04Downsampling of historical data for faster queries
  • 05Seamless integration with existing Prometheus setups

Use cases

  • Querying metrics across many Prometheus clusters from one endpoint
  • Retaining metrics for years in cheap object storage such as S3 or GCS
  • Running highly available Prometheus with deduplicated query results

Quick start

  1. 1

    Read the official Getting Started guide

Things to know

  • Thanos is a set of components that must be composed and deployed alongside existing Prometheus setups, so self-hosting takes some effort.

In collections

Topics

FAQ

What is thanos?
Set of components that extends Prometheus with a global query view, long-term storage in object storage, and high availability. Thanos is a set of components that can be combined into a highly available metrics system with long-term retention, added on top of existing Prometheus deployments. It provides a single query view across many Prometheus servers and can merge data from Prometheus HA pairs at query time.
Is thanos free to use? What license does it have?
thanos is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is thanos still maintained?
Actively maintained. The last commit to thanos was on Oct 23, 2026.
What can I use thanos for?
Querying metrics across many Prometheus clusters from one endpoint Retaining metrics for years in cheap object storage such as S3 or GCS Running highly available Prometheus with deduplicated query results
How do I install thanos?
Read the official Getting Started guide
Where can I get thanos?
The source code and installation instructions are on GitHub: https://github.com/thanos-io/thanos

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects