diff --git a/ExtendedPromQL.md b/ExtendedPromQL.md index 1ffdc98..285d746 100644 --- a/ExtendedPromQL.md +++ b/ExtendedPromQL.md @@ -28,3 +28,5 @@ VictoriaMetrics supports [standard PromQL](https://prometheus.io/docs/prometheus - `smooth_exponential(q, sf)` - smooths `q` using [exponential moving average](https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average) with the given smooth factor `sf`. - `remove_resets(q)` - removes counter resets from `q`. - Trigonometric functions - `sin(q)`, `cos(q)`, `asin(q)`, `acos(q)` and `pi()`. +- `median_over_time(m[d])` - calculates median values for `m` over `d` time window. Shorthand to `quantile_over_time(0.5, m[d])`. +- `median(q)` - median aggregate. Shorthand to `quantile(0.5, q)`.