From 65658091edbce6b9dbe32f8971a68fa2eab78e12 Mon Sep 17 00:00:00 2001 From: schou Date: Wed, 3 Mar 2021 21:42:17 -0500 Subject: [PATCH] moved details of feature to disabled features.md Signed-off-by: schou --- docs/disabled_features.md | 3 +++ docs/querying/basics.md | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/disabled_features.md b/docs/disabled_features.md index ddc63cdb11..21222e0ea3 100644 --- a/docs/disabled_features.md +++ b/docs/disabled_features.md @@ -20,6 +20,9 @@ range vector selectors, and subqueries. More details can be found [here](queryin ## Negative offset in PromQL +This negative offset is disabled by default since it breaks the invariant +that PromQL does not look ahead of the evaluation time for samples. + `--enable-feature=promql-negative-offset` In contrast to the positive offset modifier, the negative offset modifier lets diff --git a/docs/querying/basics.md b/docs/querying/basics.md index 11de77d098..8c66c53624 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -209,10 +209,9 @@ can be specified: rate(http_requests_total[5m] offset -1w) -This negative offset is disabled by default since it breaks the invariant -that PromQL does not look ahead of the evaluation time for samples. This feature -is enabled by setting `--enable-feature=promql-negative-offset` flag. See -[disabled features](../disabled_features.md) for more details about this flag. +This feature is enabled by setting `--enable-feature=promql-negative-offset` +flag. See [disabled features](../disabled_features.md) for more details about +this flag. ### @ modifier