mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -08:00
Docs: Query Basics: link to rate (#10538)
Co-authored-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
parent
1fa131ee03
commit
73bbeaafbf
|
@ -212,8 +212,8 @@ While the following would be *incorrect*:
|
||||||
|
|
||||||
sum(http_requests_total{method="GET"}) offset 5m // INVALID.
|
sum(http_requests_total{method="GET"}) offset 5m // INVALID.
|
||||||
|
|
||||||
The same works for range vectors. This returns the 5-minute rate that
|
The same works for range vectors. This returns the 5-minute [rate](./functions.md#rate)
|
||||||
`http_requests_total` had a week ago:
|
that `http_requests_total` had a week ago:
|
||||||
|
|
||||||
rate(http_requests_total[5m] offset 1w)
|
rate(http_requests_total[5m] offset 1w)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue