ExtendedPromQL.md: add median and median_over_time funcs

Aliaksandr Valialkin
2018-10-28 13:44:12 +02:00
parent a95eeaa8f0
commit 8023bbda66

@@ -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)`.