PromQL Builder & Cheat Sheet

Build common PromQL queries from a guided form, with an inline cheat sheet.

Free tools On-Call & Alerting

Runs in your browser ยท nothing uploaded
PromQL
sum(rate(http_requests_total[5m])) by (job, instance)

Cheat sheet

Request rate (per second)
sum(rate(http_requests_total[5m])) by (job)
Error ratio
sum(rate(http_requests_total{status=~"5.."}[5m])) / sum(rate(http_requests_total[5m]))
p95 latency
histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le))
CPU usage by pod
sum(rate(container_cpu_usage_seconds_total[5m])) by (pod)
Memory working set
sum(container_memory_working_set_bytes) by (pod)
Up targets down
count(up == 0) by (job)

Put this check in a runbook.

BitSentry runs the same checks every time and keeps each output.