SkillCat
Sign in
← Browse skills

promql

skills.sh
SkillUnverified source

Write, validate, and optimize PromQL for Prometheus / Grafana Mimir / Grafana Cloud Metrics. Covers `rate` vs `irate` vs `increase`, label matchers and regex, `sum / avg / topk / by / without` aggregation, classic + native `histogram_quantile`, ratios with divide-by-zero guards, `absent` / `changes` for staleness, time offsets and `predict_linear`, recording-rule naming, SLO + burn-rate math, and a cardinality-hunting playbook. Use when writing a metric query, fixing wrong p95s, building an error-budget alert, debugging "query is slow", finding the noisy label that blew up cardinality, or migrating a dashboard query to a recording rule — even when the user says "calculate the error rate", "p99 latency", "sum by service", "why is this query slow", or "what's filling Mimir" without naming PromQL.

Installs
3,354
Rating
Sin votos

Tu valoración

Inicia sesión para votar.

Install

New here? These commands run inside Claude Code, Anthropic's terminal-based coding assistant — not your regular shell. Open a terminal, type claude to start a session, then paste the two lines below inside it.

Claude Code
npx skills add grafana/skills --skill "promql" -a claude-code -g -y

Paste into a Claude Code session. This only adds/installs the plugin — nothing runs automatically.

O, si ya vinculaste skillcat-sync, envíalo directamente — te pedirá confirmar antes de tocar nada.

This listing is sourced from grafana/skills. We index metadata only and have not executed or audited this code. Review the source before installing.

¿Eres el autor y quieres corregir algo de este listado, o pedir que lo quitemos? Escribe a autores@skillcat.es.