mirror of https://github.com/prometheus/prometheus
moved details of feature to disabled features.md
Signed-off-by: schou <pschou@users.noreply.github.com>pull/8487/head
parent
946dba6a7f
commit
65658091ed
|
@ -20,6 +20,9 @@ range vector selectors, and subqueries. More details can be found [here](queryin
|
||||||
|
|
||||||
## Negative offset in PromQL
|
## 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`
|
`--enable-feature=promql-negative-offset`
|
||||||
|
|
||||||
In contrast to the positive offset modifier, the negative offset modifier lets
|
In contrast to the positive offset modifier, the negative offset modifier lets
|
||||||
|
|
|
@ -209,10 +209,9 @@ can be specified:
|
||||||
|
|
||||||
rate(http_requests_total[5m] offset -1w)
|
rate(http_requests_total[5m] offset -1w)
|
||||||
|
|
||||||
This negative offset is disabled by default since it breaks the invariant
|
This feature is enabled by setting `--enable-feature=promql-negative-offset`
|
||||||
that PromQL does not look ahead of the evaluation time for samples. This feature
|
flag. See [disabled features](../disabled_features.md) for more details about
|
||||||
is enabled by setting `--enable-feature=promql-negative-offset` flag. See
|
this flag.
|
||||||
[disabled features](../disabled_features.md) for more details about this flag.
|
|
||||||
|
|
||||||
### @ modifier
|
### @ modifier
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue