Zum Inhalt springen
Kitbay

prometheus-label-strategy

Apache-2.0Aktualisiert am 10. Nov. 2026307GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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