From 5940b31647fb08728baf75c7cde8dcc47c5abac9 Mon Sep 17 00:00:00 2001 From: Fiona Liao Date: Tue, 18 Feb 2025 11:40:25 +0000 Subject: [PATCH] Update docs/querying/basics.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Björn Rabenstein Signed-off-by: Fiona Liao --- docs/querying/basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/querying/basics.md b/docs/querying/basics.md index 1f003b1e2f..dd4b4680eb 100644 --- a/docs/querying/basics.md +++ b/docs/querying/basics.md @@ -309,7 +309,7 @@ The offset may be a time expression in parenthesis. A time expression is different from a normal expression in that it must yield a scalar and must not query series. The scalar resulting from the time expression will be used as the offset in seconds. The `time()` function can only be called outside -subqueries. For example, 5 minute offset may be calculated from adding 2 minutes +subqueries. For example, a 5 minute offset may be calculated from adding 2 minutes and 180 seconds together: http_requests_total offset (2m + 180)