promtool tsdb dump /var/lib/prometheus

Category: Monitoring & Observability

promtool tsdb dump /var/lib/prometheus

Dump raw samples from a TSDB block

Prints the raw sample data stored in the TSDB at the given path, useful for low-level debugging of what exactly is on disk. Output can be enormous on production databases, so prefer tsdb analyze for cardinality questions.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.