Is there a function in the Graphite URL API which allows us to ignore values which are inside (or outside) a certain range?
Asked
Active
Viewed 2,677 times
1 Answers
7
I believe you can check out the removeAboveValue
and removeBelowValue
functions.
For example, to exclude values below 2 and above 10:
http://host/render&target=removeAboveValue(removeBelowValue(a.b.c, 2), 10)
Ignoring values inside a range is a little more difficult, but it can probably be achieved by summing series where data has previously been filtered out (untested):
http://host/render&target=sum(removeAboveValue(a.b.c, 2), removeBelowValue(a.b.c, 10))