cat metrics.prom | promtool check metrics --extended

Category: Monitoring & Observability

cat metrics.prom | promtool check metrics --extended

Deep-lint an exported metrics file

Runs the extended metric checks against a text-format metrics dump, validating naming conventions and unit consistency. The --extended mode also flags names whose _total or _seconds suffixes suggest unit mistakes. Feed it output from any exporter, such as a curl of a /metrics endpoint.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.