small suggested changes

Signed-off-by: schou <pschou@users.noreply.github.com>
This commit is contained in:
schou 2021-03-03 21:35:51 -05:00
parent c15f15d6fd
commit 946dba6a7f
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ range vector selectors, and subqueries. More details can be found [here](queryin
`--enable-feature=promql-negative-offset`
In contrast to the positive offset modifier, the negative offset modifier lets
one shift a vector into the past. An example in which one may want to use a
one shift a vector into the future. An example in which one may want to use a
negative offset is reviewing past data and making temporal comparisons with
more recent data.

View File

@ -209,7 +209,7 @@ can be specified:
rate(http_requests_total[5m] offset -1w)
This negative offset has been disabled by default since it breaks the invariant
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.