Skip to content
Kitbay

prometheus-cardinality-troubleshooter

Apache-2.0Updated on Nov 20, 2026314GitHub stars

A Grafana Labs skill for diagnosing a cardinality problem that is happening now in Prometheus, Mimir or Grafana Cloud Metrics, such as slow queries, an out-of-memory Prometheus, sample limit errors or a rising active series bill.

What the skill teaches

A Grafana Labs skill for diagnosing a cardinality problem that is happening now in Prometheus, Mimir or Grafana Cloud Metrics, such as slow queries, an out-of-memory Prometheus, sample limit errors or a rising active series bill. The agent maps symptoms to likely causes, reads the overall series count and the TSDB status endpoint, drills into the metrics and labels with the most values, and compares current metrics with an earlier period to find what changed. It then points to fixes and hands prevention, post-ingest aggregation and data-points-per-minute analysis to the related label strategy, Adaptive Metrics and dpm-finder skills.

Capabilities

  • Map cardinality symptoms to likely causes
  • Read the TSDB status endpoint for the largest metrics and labels
  • Drill into label values for one metric
  • Find metrics that changed recently