graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05642
Re: [Question #268613]: Graphing movingAverage for only existing (not None\Null) data
Question #268613 on Graphite changed:
https://answers.launchpad.net/graphite/+question/268613
Summary changed to:
Graphing movingAverage for only existing (not None\Null) data
Description changed to:
Let's say I have the following metric:
http://i.imgur.com/Ssn3FVM.png
PRO2.streambase.travelport-
hotel.all.jiniIn.HotelInventoryService.reclaimInventory.pctFailed
I would like to create a graph to show the moving average calculated
from only last five existing values. Unfortunately, the function such as
this one:
movingAverage(PRO2.streambase.travelport-
hotel.all.jiniIn.HotelInventoryService.reclaimInventory.pctFailed,5)
is taking into account the Null, or None values, and not producing
movingAverage for the visible data:
http://i.imgur.com/bC8Ibhw.png
I would like to see the moving average for ONLY the X last reported data
points (therefore, visible, not Null, or None, datapoints. On the graph
above, those would be the visible 100's and 0's).
Can this be achieved in Graphite? If so, what function could be used?
Greetings from OWW!
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.