Interview Prep/Monitoring & Observability/Scaling Prometheus, Long-Term Storage & HA

Thanos sidecar versus Thanos Receive: how do you choose?

AdvancedProductionScaling Prometheus, Long-Term Storage & HA
Answer
  • Sidecar: runs next to each Prometheus, uploads 2-hour TSDB blocks to object storage and serves recent data via the Store API. Prometheus stays the source of truth; good when Querier can reach every cluster.
  • Receive: Prometheus (or agents) push via remote_write to a central, replicated Receive ring. Good when clusters are behind NAT, ephemeral, or you want Prometheus in agent mode at the edge.

Receive adds hashring management and replication but centralises ingest; sidecar is simpler but needs network paths to every cluster.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Scaling Prometheus, Long-Term Storage & HA