← Back to team overview

graphite-dev team mailing list archive

Re: [Question #268613]: Graphing movingAverage for only existing (not None\Null) datapoints

 

Question #268613 on Graphite changed:
https://answers.launchpad.net/graphite/+question/268613

Description changed to:
Greetings from OWW!

Let's say I have the following metric:

PRO2.streambase.travelport-
hotel.all.jiniIn.HotelInventoryService.reclaimInventory.pctFailed

http://i.imgur.com/Ssn3FVM.png

I would like to calculate the moving average for last 5 existing data
points.  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?

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.