← Back to team overview

graphite-dev team mailing list archive

Re: derivative() before sumSeries()

 

You could get the same effect by applying transformNull(). This is not
unexpected behavior but I can see why you were confused by it.

Jason

On Mon, Nov 03, 2014 at 06:10:30PM -0800, Florin Andrei wrote:
> When graphing multiple metrics at once, and the metrics are counters
> that require derivative(), always do derivative() before
> sumSeries(). If you put sumSeries() before, and there are gaps in
> some metrics, the gaps will show as huge spikes in the result.
> Placing derivative() as the first function kills the spikes.
> 
> I had this issue today and it was quite puzzling, before I realized
> what's going on. Would be nice if someone made an observation in the
> docs, next to one of these functions. ;)
> 
> -- 
> Florin Andrei
> http://florin.myip.org/
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp

-- 
Jason Dixon
http://obfuscurity.com/
https://twitter.com/obfuscurity


References