Prometheus
Quick Reference
# Check configuration
promtool check config {prometheus-config}
# Query API
curl -s localhost:{prometheus-port}/api/v1/targets | jq
curl -s localhost:{prometheus-port}/api/v1/query?query=up | jq
# Reload configuration
curl -X POST localhost:{prometheus-port}/-/reload
# Check metrics endpoint
curl localhost:{node-exporter-port}/metrics | head -50