A small startup with one Kubernetes cluster asks if it needs Thanos or Mimir. What do you advise?
BeginnerScenarioLong-Term Storage, Scale and Cost
Answer
Situation read → Probably not yet. Extra components add on-call burden without clear value.
What I'd do →
- Run kube-prometheus-stack with 15–30 days of local retention on a persistent volume.
- Use
--storage.tsdb.retention.sizeso the disk never fills. - Run two Prometheus replicas if alerting reliability matters.
- Set a trigger for revisiting: more than one cluster, a need for history beyond 30 days, or Prometheus above ~16–32 GB of memory.
- Consider a managed service (Grafana Cloud free tier, AMP) if long retention is needed early.
Why → Simple systems are more reliable, and migrating to remote_write later is easy.
Interview tip → Interviewers like candidates who do not over-engineer.
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