You must choose between Thanos and Mimir for a new long-term metrics platform. How do you decide?
AdvancedScenarioLong-Term Storage, Scale and Cost
Answer
Situation read → Both store Prometheus data in object storage and speak PromQL; the difference is operating model.
What I'd do →
- List requirements: number of clusters, tenants, write rate, query patterns, team size, managed options.
- Choose Thanos if: you already run many Prometheus servers, want incremental adoption via sidecars, need downsampling for years of history, and have a small platform team.
- Choose Mimir if: you want a central multi-tenant service with strict per-tenant limits, high write rates via
remote_write, and fast queries across all clusters. - Run a proof of concept with real data: measure ingest cost, p99 query latency on 30-day queries, and operational effort.
- Consider managed versions (Grafana Cloud, AMP) if the team cannot carry on-call for the store.
Why → The best choice is the one your team can operate reliably, not the one with the best benchmark.
Interview tip → Mention the hidden cost: Mimir has more components, Thanos has more moving parts at query time across many sidecars.
More on Long-Term Storage, Scale and Cost
Prometheus keeps 15 days of data, but leadership wants 13 months of metrics for capacity planning. What do you build?IntermediateThe Thanos compactor has halted and the bucket keeps growing. What do you do?AdvancedGrafana shows every series twice after you added a second Prometheus replica with Thanos. How do you fix it?IntermediateRemote write to your central store is falling further behind every hour. How do you handle it?AdvancedMimir rejects writes from a team with `err-mimir-max-series-per-user`. What do you do?IntermediateYour observability SaaS bill tripled in a quarter, driven by custom metrics. How do you bring it down?Intermediate