From 73bbeaafbf7cd0d7dfb0ac80a49a6f5c3685f224 Mon Sep 17 00:00:00 2001 From: Ted Robertson <10043369+tredondo@users.noreply.github.com> Date: Tue, 16 Jan 2024 06:09:51 -0500 Subject: [PATCH] Docs: Query Basics: link to rate (#10538) Co-authored-by: Julien Pivotto --- docs/querying/basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/querying/basics.md b/docs/querying/basics.md index fa0d44a69..dac503785 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -212,8 +212,8 @@ While the following would be *incorrect*: sum(http_requests_total{method="GET"}) offset 5m // INVALID. -The same works for range vectors. This returns the 5-minute rate that -`http_requests_total` had a week ago: +The same works for range vectors. This returns the 5-minute [rate](./functions.md#rate) +that `http_requests_total` had a week ago: rate(http_requests_total[5m] offset 1w)