diff --git a/docs/querying/basics.md b/docs/querying/basics.md index 7229e8e1a..1465a0a40 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -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