Skip to content
Please update to the latest release 0.77.2 to address Multiple CVEs.

rate

Function
Arg Description Type
x The X float float64 (required)
y The Y float float64 (required)

Description

Calculates the rate (derivative) between two quantities.

For example if a monitoring plugin returns an absolute value sampled in time (e.g. bytes transferred sampled every second) then the rate() plugin can calculate the average bytes/sec.

This function works by remembering the values of x and y from the previous row and applying the current rows values.