mimir
Skill by grafana
Sets up Grafana Mimir, a horizontally scalable, multi-tenant store for long-term Prometheus and OTLP metrics. It is for users running Mimir locally or on Kubernetes with Helm.
Install mimir
Built from the published package, never by AI.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/grafana-lgtm/mimir ~/.claude/skills/mimirRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/grafana-lgtm/mimir ~/.gemini/antigravity-cli/skills/mimirAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant through standing up Grafana Mimir, a horizontally scalable, multi-tenant storage backend for Prometheus and OpenTelemetry metrics. It covers monolithic, read-write and microservices deployment, block storage on S3, GCS, Azure or the filesystem, and ingestion through Prometheus remote_write and OTLP.
It also covers multi-tenancy with the X-Scope-OrgID header, ingester replication, compactor retention, per-tenant limits, and Helm installs with the mimir-distributed chart. It includes a local demo config, readiness and query checks, and troubleshooting for /ready 503 responses and 429 errors. It is aimed at operators and developers who need long-term Prometheus storage or want to scale Prometheus past a single node.
Written from the project's SKILL.md and checked against it.
What it can do
- Local monolithic setupRuns Mimir with a filesystem-backed demo config and checks readiness.
- Prometheus remote_writeSends metrics to the Mimir push endpoint with the X-Scope-OrgID header.
- Grafana Alloy configurationShows a prometheus.remote_write block that sends metrics to Mimir.
- Kubernetes deploymentInstalls Mimir with the Helm mimir-distributed chart and checks pod status.
- Multi-tenancySeparates tenants through multitenancy_enabled and the X-Scope-OrgID header.
- Storage backendsCovers S3, GCS, Azure and filesystem block storage in a reference file.
- TroubleshootingCovers /ready 503 responses, 429 push errors and missing query results.
What you need
- Docker for the quick start, or a Kubernetes cluster for Helm
- An object storage bucket for production (S3, GCS or Azure)
- Prometheus or Grafana Alloy able to remote_write to Mimir
Try asking
- Set up a local Mimir instance with filesystem storage for testing
- Point my Prometheus remote_write at Mimir with tenant team-a
- Why does my Mimir /ready endpoint return 503?
Good to know
- Filesystem storage is for development only.
- The demo config uses a replication factor of 1.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/grafana-lgtm/mimir/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/architecture.md2 KB -
references/storage.md665 B
Alternatives to mimir
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
mimir: common questions
Does Mimir need object storage?
The source says production setups need an object storage bucket such as S3, GCS or Azure. Filesystem storage is for development only.
How do I separate metrics for different teams?
Enable multitenancy_enabled and send an X-Scope-OrgID header with each request. Writes and reads must use the same tenant ID.
What causes 429 Too Many Requests when pushing metrics?
The source points to ingestion limits. It suggests raising limits.ingestion_rate or limits.ingestion_burst_size.
How do I install mimir?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mimir free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mimir safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mimir?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
