dpm-finder is a tool for Grafana Professional Services that analyzes Prometheus metrics to identify which ones drive high Data Points per Minute (DPM). It provides a per-label breakdown to assist in optimizing Grafana Cloud costs.
$ npx skills add https://github.com/grafana/skills --skill dpm-finderdpm-finder is a Python script that retrieves all metrics from a Prometheus instance and calculates their data points per minute (DPM) rate using PromQL queries. It automatically filters out histogram/summary components, Grafana internal metrics, and metrics with aggregation rules, then identifies metrics exceeding a configurable DPM threshold. The tool operates in two modes: one-time execution that outputs results to CSV, JSON, text, or Prometheus exposition formats, or as a Prometheus exporter server exposing live DPM metrics. It includes detailed logging, Docker and Docker Compose support, and is designed specifically for Grafana Professional Services to help teams diagnose and control high-volume metric ingestion.
Install using the command: `$ npx skills add https://github.com/grafana/skills --skill dpm-finder`
Optimize costs in Grafana Cloud by analyzing DPM
Break down metric performances by labels
Identify critical metrics for operational efficiency
$ npx skills add https://github.com/grafana/skills --skill dpm-findergit clone https://github.com/grafana-ps/dpm-finderCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Check the GitHub repository or documentation for usage examples.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan