Prometheus and PromQL 3 · Running and checking
Query over HTTP
Run an instant query against the HTTP API.
curl -G http://localhost:9090/api/v1/query --data-urlencode 'query=up'
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 from the command line
All running and checking commands · Prometheus and PromQL 3 cheatsheet