promql
A Grafana Labs skill for writing and checking PromQL queries against Prometheus, Grafana Mimir or Grafana Cloud Metrics.
スキルの内容
A Grafana Labs skill for writing and checking PromQL queries against Prometheus, Grafana Mimir or Grafana Cloud Metrics. It covers rate, irate and increase, label matchers, aggregation, classic and native histogram quantiles, ratios that avoid division by zero, staleness functions, offsets and prediction, and the maths behind SLO and burn-rate alerts. The agent sketches a query, validates it against the query API and checks the values look plausible, and can turn a slow query into a recording rule and confirm the new metric matches. It also lists common mistakes and a way to find labels that inflate cardinality.
できること
- Write PromQL for rates, ratios and quantiles
- Validate queries against the Prometheus API
- Build SLO and burn-rate alert queries
- Convert slow queries into recording rules
概要
- 公開元
- Grafana Labs
- ツール
- Grafana
インストール
含まれるファイル
- references/patterns.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- GitHubリポジトリgithub.com/grafana/skills · 根拠となる項目:AIクライアント, 公式かどうか, 公開元, 活動状況, ライセンス2026年11月11日
- スキルファイル(SKILL.md)github.com/grafana/skills · 根拠となる項目:ライセンス2026年11月10日
- リポジトリ内のフォルダ(promql)github.com/grafana/skills · 根拠となる項目:スクリプトを含む2026年11月10日