Commit cbb2bdf9 authored by Fabian Reinartz's avatar Fabian Reinartz Committed by GitHub

Merge pull request #511 from brancz/add-idelta

add idelta function documentation
parents e957cd77 50c024af
...@@ -162,6 +162,16 @@ more trends in the data is considered. Both `sf` and `tf` must be between 0 and ...@@ -162,6 +162,16 @@ more trends in the data is considered. Both `sf` and `tf` must be between 0 and
`holt_winters` should only be used with gauges. `holt_winters` should only be used with gauges.
## `idelta()`
`idelta(v range-vector)`
`idelta(v range-vector)` calculates the difference between the last two samples
in the range vector `v`, returning an instant vector with the given deltas and
equivalent labels.
`idelta` should only be used with gauges.
## `increase()` ## `increase()`
`increase(v range-vector)` calculates the increase in the `increase(v range-vector)` calculates the increase in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment