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

All running and checking commands · Prometheus and PromQL 3 cheatsheet

Was this page helpful?