diff --git a/docs/sources/reference/functions.md b/docs/sources/reference/functions.md index 17e800a..69aba1b 100644 --- a/docs/sources/reference/functions.md +++ b/docs/sources/reference/functions.md @@ -197,3 +197,14 @@ replaceAlias(/.*CPU (.*) time/, $1) -> system backend01: CPU system time replaceAlias(/(.*): CPU (.*) time/, $1 - $2) -> backend01 - system ``` + +## Special + +### consolidateBy +``` +consolidateBy(consolidationFunc) +``` + +When a graph is drawn where width of the graph size in pixels is smaller than the number of datapoints to be graphed, plugin consolidates the values to to prevent line overlap. The consolidateBy() function changes the consolidation function from the default of average to one of `sum`, `min`, `max` or `count`. + +Valid function names are `sum`, `avg`, `min`, `max` and `count`.