Check if the configuration files are valid or not (if present report errors)
promtool check config config_file.ymlCheck if the rule files are valid or not (if present report errors)
promtool check rules rules_file.ymlPass Prometheus metrics over `stdin` to check them for consistency and correctness
curl --silent http://example.com:9090/metrics/ | promtool check metricsUnit tests for rules config
promtool test rules test_file.yml