Examples: link to `rate` for new users (#10535)
* Examples: link to `rate` for new users Signed-off-by: Ted Robertson 10043369+tredondo@users.noreply.github.com Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
73bbeaafbf
commit
cf9e934036
|
@ -39,7 +39,7 @@ To select all HTTP status codes except 4xx ones, you could run:
|
||||||
|
|
||||||
## Subquery
|
## Subquery
|
||||||
|
|
||||||
Return the 5-minute rate of the `http_requests_total` metric for the past 30 minutes, with a resolution of 1 minute.
|
Return the 5-minute [rate](./functions.md#rate) of the `http_requests_total` metric for the past 30 minutes, with a resolution of 1 minute.
|
||||||
|
|
||||||
rate(http_requests_total[5m])[30m:1m]
|
rate(http_requests_total[5m])[30m:1m]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue