From 89523cf9b300fd0178c49dd6a7d36e56d3f654d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Rabenstein?= Date: Tue, 23 Jan 2024 17:05:34 +0100 Subject: [PATCH] doc: Mark `mad_over_time` as experimental (#13440) We forgot to do that in https://github.com/prometheus/prometheus/pull/13059 Signed-off-by: beorn7 --- docs/querying/functions.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/querying/functions.md b/docs/querying/functions.md index 607e16e82..375104a0d 100644 --- a/docs/querying/functions.md +++ b/docs/querying/functions.md @@ -644,10 +644,15 @@ over time and return an instant vector with per-series aggregation results: * `quantile_over_time(scalar, range-vector)`: the φ-quantile (0 ≤ φ ≤ 1) of the values in the specified interval. * `stddev_over_time(range-vector)`: the population standard deviation of the values in the specified interval. * `stdvar_over_time(range-vector)`: the population standard variance of the values in the specified interval. -* `mad_over_time(range-vector)`: the median absolute deviation of all points in the specified interval. * `last_over_time(range-vector)`: the most recent point value in the specified interval. * `present_over_time(range-vector)`: the value 1 for any series in the specified interval. +If the [feature flag](../feature_flags/) +`--enable-feature=promql-experimental-functions` is set, the following +additional functions are available: + +* `mad_over_time(range-vector)`: the median absolute deviation of all points in the specified interval. + Note that all values in the specified interval have the same weight in the aggregation even if the values are not equally spaced throughout the interval.