From 946dba6a7fc457069ebc1dd882e05b0edfd5637e Mon Sep 17 00:00:00 2001 From: schou Date: Wed, 3 Mar 2021 21:35:51 -0500 Subject: [PATCH] small suggested changes Signed-off-by: schou --- docs/disabled_features.md | 2 +- docs/querying/basics.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/disabled_features.md b/docs/disabled_features.md index b0817a4020..ddc63cdb11 100644 --- a/docs/disabled_features.md +++ b/docs/disabled_features.md @@ -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. diff --git a/docs/querying/basics.md b/docs/querying/basics.md index c0ad947fb3..11de77d098 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -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.