Validate Prometheus config files for syntax errors
Parses every scrape_config, rule file reference, and global setting in your prometheus.yml and reports problems with file and line numbers. Add config paths as arguments, for example promtool check config /etc/prometheus/prometheus.yml. Run it before restarting the server to avoid a broken scrape setup.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.