← Back to team overview

graphite-dev team mailing list archive

derivative() before sumSeries()

 

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/


Follow ups