PromQL in Unimoni

Unimoni uses standard PromQL (via prometheus/promql/parser), with one mandatory condition: organization_id is always injected into every VectorSelector/MatrixSelector.

What this means in practice

You write:

rate(http_requests_total[5m])

The API turns it into:

rate(http_requests_total{organization_id="<your-org>"}[5m])

Even if you specify a different organization_id explicitly, it is overwritten.

What is supported

Full PromQL: functions (rate, histogram_quantile, avg_over_time …), aggregations (sum by, topk), binary ops, subqueries.