Prometheus and PromQL 3 · Running and checking
Check rule files
Validate the syntax of recording and alerting rules.
promtool check rules rules/api.yml
Official Prometheus and PromQL 3 documentation
More running and checking commands
- Start Prometheus
- Check the configuration
- Unit-test alert rules
- Reload the configuration
- Query over HTTP
- Query from the command line
All running and checking commands · Prometheus and PromQL 3 cheatsheet