npx skills add ...
npx skills add grafana/skills --skill dpm-finder
Find the Prometheus metrics that drive your Grafana Cloud bill. `dpm-finder` is a Grafana Professional Services CLI that ranks metrics by Data Points per Minute (DPM) with per-label-set breakdown, optional `--cost-per-1000-series` pricing, and a Prometheus-exporter mode. Use when investigating high Grafana Cloud spend, hunting noisy / high-cardinality metrics, comparing pre/post recording-rule cardinality, or feeding cost data into dashboards — even when the user says "why is my Mimir bill so high?", "find the biggest metrics", "cardinality offenders", or "optimize Prometheus cost" without naming dpm-finder.
npx skills add grafana/skills --skill dpm-finder
Grafana PS tool ranking Prometheus metrics by DPM with per-series breakdown. Source: https://github.com/grafana-ps/dpm-finder
glc_…, metrics:read scope)If step 5 is empty, lower -m or confirm the endpoint URL has no trailing path after .net.
gcxIf gcx is installed it can derive the endpoint + username:
The Prometheus endpoint pattern is https://prometheus-{cluster_slug}.grafana.net. Username is the numeric stack ID.
Without gcx: look up in the Grafana Cloud portal, or query grafanacloud_instance_info{name=~"STACK_NAME.*"} on the usage datasource.
Limit to max 3 concurrent runs to avoid GCloud rate limits. Batch the stacks and wait for each batch before the next.
--cost-per-1000-series to prioritize by spendmetrics:read; confirm PROMETHEUS_USERNAME is the numeric stack ID--timeout to 120+ for stacks with thousands of metrics-m; verify endpoint has no trailing pathreferences/cli.md — full flag reference, output-format details, exporter mode, Docker invocation, auto-exclusion rules, retry behaviorgcx config check # active stack context
gcx config list-contexts # all configured stacks
gcx config view # full config with endpoints