add blob to basics documentation about negative shift

Signed-off-by: schou <pschou@users.noreply.github.com>
This commit is contained in:
schou 2021-02-14 21:25:24 -05:00
parent 0c577c547b
commit 8aa9cc3978
1 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,11 @@ The same works for range vectors. This returns the 5-minute rate that
rate(http_requests_total[5m] offset 1w)
For comparisons with temporal shifts forward and backward, a negative offset
can be specified:
rate(http_requests_total[5m] offset -1w)
### @ modifier
The `@` modifier allows changing the evaluation time for individual instant