Long-term metrics retention
Keep years of metrics at low cost thanks to downsampling.
Observabilité · Courses
A complete Thanos course: high availability, global view and long-term retention for Prometheus with Sidecar, Query, Store Gateway, Compactor, Ruler and Receive.
LEARNING PATH
The limits of Prometheus and the components of Thanos.
Archive Prometheus data in object storage.
History, downsampling and retention.
Global rules and remote write ingestion.
Kubernetes, monitoring and troubleshooting.
Recommended practices for running the product in production.
LEARN BY DOING
Keep years of metrics at low cost thanks to downsampling.
Query every cluster with a single PromQL query.
Deduplicate two replicas to eliminate data gaps.
Rules evaluated across all clusters with the Ruler.
It extends Prometheus with high availability, a global multi-cluster view and long-term storage in object storage.
No: Prometheus keeps collecting; Thanos adds components around it (sidecar, query, store...).
The sidecar is the simplest model (pull). Receive suits isolated clusters, agent mode and multi-tenancy (push via remote write).
Two compactors writing to the same bucket can corrupt the blocks.