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

Describe the Grafana Mimir architecture.

AdvancedConceptKubernetes Monitoring, Scale & Cloud
Answer

Mimir is a horizontally scalable, multi-tenant Prometheus-compatible store (successor to Cortex).

Write path: Prometheus/Alloy remote_write → distributor (validates, applies per-tenant limits, hashes series to ingesters with replication factor 3) → ingesters (hold recent data in memory/TSDB, upload 2h blocks to object storage). Newer Mimir versions can use a Kafka-compatible ingest storage layer between distributors and ingesters to decouple write and read paths.

Read path: query-frontend (splits, caches) → query-scheduler → queriers (read recent data from ingesters, older data from store-gateways).

Background: compactor (merges and deduplicates blocks, retention), ruler, multi-tenant Alertmanager.

Tenancy comes from the X-Scope-OrgID header; limits such as max_global_series_per_user and ingestion_rate are set per tenant in a runtime overrides file. It runs as a monolith, read-write mode or microservices.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Kubernetes Monitoring, Scale & Cloud