Mimir rejects writes from a team with `err-mimir-max-series-per-user`. What do you do?
IntermediateScenarioLong-Term Storage, Scale and Cost
Answer
Situation read → The tenant has hit its active series limit. New series are dropped; existing ones keep working.
What I'd do →
- Confirm the tenant and growth in Mimir's own metrics (
cortex_ingester_active_seriesper user) or the tenant's cardinality page. - Find the cause with the cardinality API or
mimirtool:curl -H 'X-Scope-OrgID: team-a' http://mimir/prometheus/api/v1/cardinality/label_names - If it is an accident (new label like
request_id), drop it at the source or withwrite_relabel_configs. - If it is genuine growth, raise the limit in the runtime overrides:
overrides: team-a: max_global_series_per_user: 3000000 - Add an alert at 80% of the limit so teams hear about it before rejections.
Why → Per-tenant limits protect the shared ingesters from one noisy team.
Interview tip → Limits are a feature; the fix is visibility plus a clear process to raise them.
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?AdvancedYour observability SaaS bill tripled in a quarter, driven by custom metrics. How do you bring it down?IntermediateYou must choose between Thanos and Mimir for a new long-term metrics platform. How do you decide?Advanced