diff --git a/docs/disabled_features.md b/docs/disabled_features.md index ddc63cdb1..21222e0ea 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 11de77d09..8c66c5362 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