Set up Grafana Mimir Alertmanager with per-tenant configuration for multi-tenant alert routing

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

Steps

  1. Run the Alertmanager component (`-target=alertmanager` standalone, or `-target=all,alertmanager` in monolithic mode) alongside the Mimir ruler, which sends alert notifications to it.
  2. Author each tenant's Alertmanager configuration as a standard Prometheus Alertmanager config file (receivers plus a routing tree), and validate it with `mimirtool alertmanager verify <ALERTMANAGER CONFIGURATION FILE>`.
  3. Upload the config for a specific tenant with `mimirtool alertmanager load <ALERTMANAGER CONFIGURATION FILE> --address=<ALERTMANAGER_URL> --id=<TENANT_ID>` — Mimir identifies the tenant via the `X-Scope-OrgID` header, which mimirtool sets from `--id`.
  4. Point the ruler at the Alertmanager using `-ruler.alertmanager-url`, including the Alertmanager's API path prefix (default `/alertmanager`, configurable via `-http.alertmanager-http-prefix`).
  5. Configure `-alertmanager.sharding-ring.replication-factor` and a shared hash-ring KV store so Alertmanager replicas shard tenants; any replica can serve any tenant's API/UI request and internally routes it to the owning replica.
  6. Set a fallback configuration via `-alertmanager.configs.fallback` for tenants that haven't uploaded their own config, since without a fallback or tenant-specific config, the Alertmanager UI is inaccessible and ruler notifications for that tenant fail.

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 per-tenant ingestion limits using runtime configuration overrides
grafana.com · 5 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

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