small suggested changes
Signed-off-by: schou <pschou@users.noreply.github.com>
This commit is contained in:
parent
c15f15d6fd
commit
946dba6a7f
|
@ -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.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue