Skip to content

Observability

PromQL Rate Query Builder

Metric, labels, range window, and aggregation, assembled into a syntactically valid rate/irate/increase query - forgetting the range window is a common, silent mistake this avoids.

Label filters (optional)

Rate function

Average per-second rate over the range - smooths spikes, best for alerting.

sum by (job)(rate(http_requests_total{job="api", status=~"5.."}[5m]))