Your observability SaaS bill tripled in a quarter, driven by custom metrics. How do you bring it down?
IntermediateScenarioLong-Term Storage, Scale and Cost
Answer
Situation read → SaaS vendors bill per unique series (or per host plus custom metrics). Some team added labels with high cardinality, or metrics are shipped that nobody uses.
What I'd do →
- Get a per-metric and per-team cost report from the vendor's usage page.
- Find unused metrics: compare what is ingested against what dashboards and alerts reference (
mimirtool analyze grafanaandanalyze prometheus, or the vendor's usage tooling). - Drop unused metrics and high-cardinality labels at the agent/Collector, before they leave the cluster.
- Aggregate where per-pod detail is not needed (drop
pod, keepdeployment). - Set per-team budgets and show cost in a monthly review.
Why → Cost scales with series, and most organisations use well under half of what they ingest.
Interview tip → Drop data at the edge; paying to ingest data and then filtering it in the vendor is the expensive way.
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?IntermediateYou must choose between Thanos and Mimir for a new long-term metrics platform. How do you decide?Advanced