Architecture

This section describes the high-level architecture for the two deployment models namely, Thanos Sidecar and Thanos Receive with AWS S3 as the storage object.

Architecture for Thanos Sidecar Deployment
Architecture for Thanos Receive Deployment

Components

This section describes the main components for the architecture of the two deployment models.

  • Sidecar: It connects to Prometheus, reads its data for query and/or uploads it to the cloud storage.

  • Store Gateway: It serves metrics inside of a cloud storage bucket.

  • Receiver: It receives data from Prometheus’s remote-write WAL, exposes it and/or uploads it to the cloud storage.

  • Querier/Query: It implements Prometheus’s v1 API to aggregate data from the underlying components.

  • Query Frontend: It implements Prometheus’s v1 API and proxies it to Query while caching the response and optional splitting by queries day.