Download for MacApple silicon, macOS 14+
Skill

adaptive-metrics

@grafana Updated 2026-10-17

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 Alloy remote_write fallback. Use when investigating a high Mimir/Grafana Cloud bill, hunting high-cardinality labels (`pod_uid`, `service_instance_id`, `version`), pre-aggregating counters/gauges, dropping unused metrics, or measuring `grafanacloud_instance_active_series` before/after — even when the user says "reduce cardinality", "too many series", "metrics spend", "active series count is exploding", or "drop the version label" without naming Adaptive Metrics.

Install

With your agent

Install OMGSkills skill "grafana/skills:adaptive-metrics" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/grafana/skills /tmp/skills && ln -s /tmp/skills/skills/grafana-cloud/adaptive-metrics ~/.claude/skills/adaptive-metrics

From README

Grafana Cloud Adaptive Metrics Docs: https://grafana.com/docs/grafana-cloud/cost-management-and-billing/reduce-costs/metrics-costs/adaptive-metrics.md Aggregation rules that pre-shrink high-cardinality metrics before storage — directly reduces active-series billing. Prerequisites Grafana Cloud Metrics plan (any paid tier) API key with metrics:write (for the Adaptive Metrics API — adaptive-metrics.grafana.net, Bearer auth) For the verification queries: the metrics query endpoint (prometheus-prod-XX.grafana.net) uses HTTP basic auth — (numeric stack/instance ID) plus a token with metrics:read — not the Bearer key Access to Home → Adaptive Metrics in the Cloud portal Common Workflows Review + apply auto-recommendations Rollback — delete the rule: Hand-write a custom rule Full payloads (regex match, aggregation types, all caveats): references/api.md. Drop unused metrics entirely Measure the impact Rules take effect within 5 minutes; full billing impact appears within an hour.