Interview Prep/Monitoring & Observability/Kubernetes Monitoring, Scale & Cloud

What are the Thanos components?

IntermediateConceptKubernetes Monitoring, Scale & Cloud
Answer
Component Role
Sidecar Runs next to Prometheus, uploads 2h TSDB blocks to object storage, serves recent data via the Store API
Store Gateway Serves historical blocks from object storage
Querier (Query) PromQL engine that fans out to sidecars, stores and receivers; deduplicates HA replicas
Query Frontend Splits long queries by time, caches results
Compactor Compacts blocks, downsamples to 5m and 1h, applies retention; run exactly one per bucket
Ruler Evaluates rules against the Querier for global alerts
Receive Accepts remote_write instead of the sidecar model
flowchart LR
    P["Prometheus + Sidecar"] --> S3["Object storage"]
    S3 --> SG["Store Gateway"]
    Q["Querier"] --> P
    Q --> SG
    G["Grafana"] --> QF["Query Frontend"] --> Q
All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes Monitoring, Scale & Cloud