← Back to team overview

graphite-dev team mailing list archive

Re: [Question #70553]: counter and rate data?

 

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

    Status: Open => Answered

chrismd proposed the following answer:
Yes, the documentation is certainly lacking in this area but fortunately
the functionality is there. The easiest way to get the rate of your
counter metrics is to apply the derivative function to your target
metrics in the UI.

To do this, first view your metric in the main window. Then click the
'Targets' button to bring up the Targets dialog window. Left click to
select your target & right-click for a menu (there's stupid bug still
open as to why you can't simply right-click without left-clicking the
metric to select it first...). The right-click menu will have an 'Apply
Function' sub-menu, which will have many functions to choose from
including the one you are looking for, 'Derivative'. Click that and
you're function should be transformed to show the rate of change of your
counter metric rather than it's usual value. You can un-apply a function
by choosing 'Remove outer call' from the 'Apply Function' menu. You can
also re-add the same counter metric again to view it's actual values
overlayed with their derivative.

Also note that some functions, such as sumSeries() can operate on
multiple targets (Ctrl-click to select multiple targets before right
clicking).

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