Skip to content
Kitbay

prometheus-label-strategy

Apache-2.0Updated on Nov 10, 2026307GitHub stars

A Grafana Labs skill for reviewing and designing Prometheus labels before the data reaches Grafana Cloud.

What the skill teaches

A Grafana Labs skill for reviewing and designing Prometheus labels before the data reaches Grafana Cloud. The agent scores labels by cardinality, checks them against how dashboards and alerts query the data, separates fixed from changing values, checks consistency, and reviews histogram buckets, with the rule that a label that keeps series distinct must never be dropped. It suggests the info-metric pattern for metadata that changes often, writes an audit with per-label findings, estimated impact, a recommended label set and an implementation plan, and gives target label advice for Kubernetes. It points to other skills for live troubleshooting or reducing existing series.

Capabilities

  • Score Prometheus labels by cardinality
  • Review histogram bucket choices
  • Recommend a label set and implementation plan
  • Advise on Kubernetes target labels