% This is generated by ESQL's IrateTests. Do not edit it. See docs/reference/query-languages/esql/README.md for how to regenerate it.

## Description

Calculates the irate of a counter field. irate is the per-second rate of increase between the last two data points (it ignores all but the last two data points in each time period). This function is very similar to rate, but is more responsive to recent changes in the rate of increase.

