graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05744
Re: [Question #271536]: Suppress metrics when count falls below threshold
Question #271536 on Graphite changed:
https://answers.launchpad.net/graphite/+question/271536
Status: Open => Answered
Jason Dixon proposed the following answer:
Without knowing how you intend to consume the data, you could use the
removeAboveValue() function which excludes any values above the defined
threshold.
http://graphite.readthedocs.org/en/0.9.12/functions.html#graphite.render.functions.removeAboveValue
Example targets:
asPercent(collectd.graphite.memory.memory-used, sumSeries(collectd.graphite.memory.memory-*))
removeAboveValue(asPercent(collectd.graphite.memory.memory-used, sumSeries(collectd.graphite.memory.memory-*)),14.4)
You can see the resulting graph here:
http://f.cl.ly/items/0S1O1w2L2s1a06293z0p/127.0.0-2.png
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.