Prometheus and PromQL 3 · Running and checking
Query from the command line
Run an instant query with promtool.
promtool query instant http://localhost:9090 'up == 0'
Official Prometheus and PromQL 3 documentation
More running and checking commands
- Start Prometheus
- Check the configuration
- Check rule files
- Unit-test alert rules
- Reload the configuration
- Query over HTTP
All running and checking commands · Prometheus and PromQL 3 cheatsheet