Set up Grafana Mimir for long-term Prometheus metric storage with multi-tenancy

domain: grafana.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Deploy Mimir using the provided Helm chart (grafana/mimir-distributed) and configure an object storage backend (S3, GCS, or Azure Blob) in the mimir.yaml values file
  2. Set the compactor, store-gateway, and ingester component replicas appropriate to your scale; start with the small.yaml reference values file from the Mimir repository
  3. Configure Prometheus remote_write to send metrics to the Mimir distributor endpoint at http://mimir-distributor:8080/api/v1/push, adding an X-Scope-OrgID header for tenant isolation
  4. Add a Grafana data source of type Prometheus pointing to the Mimir query-frontend endpoint and set the HTTP header X-Scope-OrgID to the tenant ID
  5. Verify multi-tenant isolation by querying the same metric from two different tenants and confirming data does not bleed across tenant boundaries
  6. Configure ruler storage in Mimir so that existing Prometheus alerting rules and recording rules can be managed via the Mimir ruler API (/api/v1/rules)

Known gotchas

Related routes

Set up Grafana Mimir multi-tenancy and configure remote_write from multiple Prometheus instances to separate tenant namespaces
grafana.com/docs/mimir · 6 steps · unrated
Configure Grafana Mimir ruler to evaluate recording rules and alerting rules at scale with per-tenant rule namespaces
grafana.com · 5 steps · unrated
Configure Grafana Alloy (the successor to the Grafana Agent) to scrape Prometheus metrics and forward them to Grafana Mimir via remote_write
grafana.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans