On Apr 1, 2011, at 10:44 AM, Vladimir Vuksan wrote: > > You have to do the work then. I have a script that calculates queries per > second by getting the count of queries from this sampling interval > subtracting it from a previous interval then dividing it by number of > seconds passed and voila you have queries/sec. You then use gmetric to send > that to Ganglia.
I've implemented something like this myself, and I've always thought it was a hassle. I noticed that rrdcreate seems to allow creation of rrd file which accept an absolute value but actually store a rate of change (derived from current value, previous value, and time delta). http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html Look for the 'DST' section, and the 'COUNTER' type. Wonder if we could add some configuration syntax to gmetad.conf to allow per-metric rrd creation options, and use COUNTER for a rate metric? I see 'support for counters' at http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_wish-list. Is this the same thing? alex ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general