Prometheus and PromQL 3 · Running and checking
Unit-test alert rules
Run tests that supply sample series and check which alerts fire.
promtool test rules tests/alerts.test.yml
Official Prometheus and PromQL 3 documentation
More running and checking commands
- Start Prometheus
- Check the configuration
- Check rule files
- Reload the configuration
- Query over HTTP
- Query from the command line
All running and checking commands · Prometheus and PromQL 3 cheatsheet