Skip to content
edge
9,300 installs on skills.sh

Promql

Write, validate, and optimize PromQL for Prometheus / Grafana Mimir / Grafana Cloud Metrics.

Use in my agent
Use Edge to load the skill promql from grafana/skills for my task. If Edge is not set up, read getedge.cc/SKILL.md and ask me first.
grafana/skills
Security state: reviewed

2 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md2 files · 8.8 KB

From the grafana public repository. Edge did not write or edit this skill.

What it does

  • 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.
GL

Why Grafana Labs

Open-source observability platform company. Each fact links its public source.

  • Grafana has 77k+ stars

    The grafana/grafana repository has over 77,000 GitHub stars; Loki has over 29,000.

    GitHub repo
  • Passed $250M ARR, 5,000 customers

    In Aug 2024 Grafana Labs reported over $250M ARR and 5,000+ paying customers, with a $270M round at a $6B+ valuation led by Lightspeed.

    Grafana press release, Aug 2024, self-reported

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Promql.

Related skills

GR
Adaptive Metrics
grafana

Cut Grafana Cloud Metrics cost by shrinking active-series count with Adaptive Metrics aggregation rules — auto-recommendations from query history, custom exact/regex rules, label-drop config, unused-metric detection, and

GR
Prometheus
grafana

Prometheus and Grafana Cloud Metrics overview including PromQL query language, Metrics Drilldown, alerting, recording rules, and integration patterns. Use when working with Prometheus, writing PromQL queries, configuring

+108 installs this week
SA
Promql CLI
samber

CLI for querying Prometheus and PromQL-compatible engines (Thanos, Cortex, VictoriaMetrics, Grafana Mimir, Grafana Tempo...) — instant queries, range queries, metric discovery (metrics/labels/meta subcommands), output fo

VI
Victoriametrics Query
victoriametrics

Query VictoriaMetrics metrics via curl. Use when running PromQL/MetricsQL queries, discovering metrics/labels, checking alerts and rules, inspecting TSDB status, exporting raw data, checking metric usage statistics, or d

BA
Prometheus Grafana
bagelhole

Set up metrics collection and visualization with Prometheus and Grafana. Configure scrape targets, create PromQL queries, build dashboards, and implement alerting. Use when implementing monitoring, metrics collection, or

EL
Observability Sre Triage
elastic

Triage a degraded or suspect service end to end: read SLO status and burn rate, check active alerting rules and ML anomalies, measure throughput, latency, and error rate, assess dependency health and infrastructure satur

Questions about Promql

What does Promql do?

Write, validate, and optimize PromQL for Prometheus / Grafana Mimir / Grafana Cloud Metrics. Published by Grafana Labs (grafana/skills).

Is Promql safe to use?

Edge security state: Reviewed (2 Edge-run static scans, scanned Nov 17, 2026). The Evidence tab shows the scan.

How do I use Promql in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.

Give your agent Promql.

Free. No Edge account.

Use Promql in your agent

Claude app

Add to Claude

Opens claude.ai in your browser. Add it once, and Edge is in the Claude desktop and phone apps too.
Then click Continue Add Connect and open a new chat.

Already added? Open a new chat in Claude.

ChatGPT

Add to ChatGPT

Opens the Edge plugin in ChatGPT. Click Install plugin, then start a new chat.

Claude Code or Codex

Free · No Edge accountOther agents