From 65ac6c06fd48562f11387017920afe5f63486845 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 13 Feb 2019 14:22:08 +0300 Subject: [PATCH] add docs for removeAboveValue(), removeBelowValue() and transformNull(), #562 --- docs/sources/reference/functions.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/sources/reference/functions.md b/docs/sources/reference/functions.md index b83120b58..be6305f10 100644 --- a/docs/sources/reference/functions.md +++ b/docs/sources/reference/functions.md @@ -88,6 +88,35 @@ calculates moving average over 60 points (if metric has 1 second resolution it m ``` --- +### _removeAboveValue_ +``` +removeAboveValue(N) +``` +Replaces series values with `null` if value > N + +Examples: +``` +removeAboveValue(1) +``` + +--- + +### _removeBelowValue_ +``` +removeBelowValue(N) +``` +Replaces series values with `null` if value < N + +--- + +### _transformNull_ +``` +transformNull(N) +``` +Replaces `null` values with N + +--- + ## Aggregate ### _aggregateBy_