Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 684 Bytes

target-rate-interval-rule.md

File metadata and controls

8 lines (6 loc) · 684 Bytes

rate-interval-rule

Checks that every target with a rate, irate or increase function uses $__rate_interval for the range of the data to process.

Best Practice

In short, this ensures that there is always a sufficient number of data points to calculate a useful result. A detailed description can be found in this Grafana blog post

Possible exeptions

There may be cases where one deliberately wants to show the rate or increase over a fixed period of time, such as the last 24hr etc. In those cases you may wish to create a lint exclusion for this rule.