promtool tsdb analyze

Category: Monitoring & Observability

promtool tsdb analyze

Analyze TSDB blocks for cardinality

Reports which metric names and label pairs consume the most storage, helping you find high-cardinality series that bloat the TSDB. High cardinality from labels like user_id or pod names is the most common cause of Prometheus memory growth. Point it at the data directory, for example promtool tsdb analyze /var/lib/prometheus.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.