← Back to team overview

graphite-dev team mailing list archive

Re: [Question #187495]: Derivative function not working?

 

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

    Status: Open => Answered

Michael Leinartas proposed the following answer:
Do you have gaps in the incoming metrics? The derivative function will
return None for every pair of input values that has at least one None
value in it. If that is the case, try first applying the keepLastValue()
function to the data before applying the derivative function. Also look
into nonNegativeDerivative which works better with counters that reset
or roll over often.

You can inspect the values before and after applying the function(s) by
copying a graph URL and appending &format=raw (or 'csv', or 'json').
This should give you a better idea of what's going on

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