Reads a metrics exposition file from standard input and flags metric and label names that break Prometheus naming rules. Pipe an exported file to it, for example cat metrics.prom | promtool check metrics. Add --extended for deeper consistency checks.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.