← Explore all skills

METRICS COST CONTROL / grafana

Grafana Cloud Adaptive Metrics

Pins Grafana's Adaptive Metrics skill, which separates a write bearer key from query basic auth and deletes a rule to roll back.

“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. …”

01 / THE REASONING

Why this made the selection.

  • No selected skills record uses this source path.
  • The file splits bearer metrics:write from basic-auth metrics:read, and it makes apply a POST with delete as the rollback.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/grafana-cloud/adaptive-metrics/SKILL.md
  • README.md
  • LICENSE

Our findings

  • The Adaptive Metrics API is described as bearer auth with metrics:write on adaptive-metrics.grafana.net.
  • Verification queries use HTTP basic auth with a numeric stack id and a metrics:read token, and the file says that token is not the bearer key.
  • The workflow lists recommendations first, then a POST to apply one recommendation.
  • Rollback is a DELETE of the rule, or Disable on the rule row in the UI.
  • A hand-written drop says to search dashboards and alerts first and to treat no hits as the condition for dropping the label.
  • The unused-metric workflow checks dashboards, alerts and recording rules before proposing an Alloy write-relabel drop; its final check queries whether the metric name remains present.

Not established by this review

  • The resource was not executed and its tools were not called.
  • No recommendation was applied and no rule was deleted.
  • The bearer and basic-auth endpoints were not called.
  • references/api.md was not opened.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

claude plugin install grafana-cloud@grafana-skills

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

  1. The README Claude Code section shows claude plugin marketplace add grafana/skills and then claude plugin install grafana-cloud@grafana-skills.
  2. That command installs the grafana-cloud plugin group. This file is skills/grafana-cloud/adaptive-metrics/SKILL.md.
  3. The same README's npx skills add grafana/skills installs the repository and can install more than this file.
  4. This review did not run either install.

Before you start

  • Claude Code if the plugin command is used
  • A Grafana Cloud Metrics key with metrics:write, plus a separate metrics:read token, only if the skill's requests are followed

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-cloud/adaptive-metrics/SKILL.md

    Supports: split bearer and basic auth, apply POST, and delete rollback

  2. Repository README ↗Checked

    https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md

    Supports: grafana-cloud plugin install line and Apache License 2.0 statement

  3. Repository LICENSE ↗Checked

    https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE

    Supports: Apache License Version 2.0

  4. https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-cloud/adaptive-metrics/SKILL.md

    Supports: review.findings, bestFor, upstreamDescription

Evidence & Ask