Enable the ruler component in the Mimir configuration and configure the ruler storage backend (S3 or GCS) for rule file persistence
Use the Mimir ruler API (POST /api/v1/rules/{namespace}) with the X-Scope-OrgID header to upload rule groups per tenant
Set ruler.evaluation_interval and ruler.poll_interval to control how frequently rules are evaluated and reloaded from storage
Configure alertmanager_url in the ruler config to route firing alerts to the Mimir-managed Alertmanager
Query rule evaluation status using GET /api/v1/rules and verify that recording rule output metrics appear in the tenant's metric namespace
Known gotchas
Mimir ruler uses sharding to distribute rule group evaluation across ruler replicas; misconfigured ring settings cause some rule groups to not be evaluated
Rule groups uploaded without the X-Scope-OrgID header go to the anonymous tenant which may not match the tenant queried by Grafana datasources
The ruler API accepts Prometheus rule YAML format but requires the groups wrapper; submitting a raw rule file without the groups key returns a 400 error
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp