Hi folks,

you may find the following interesting

http://code.google.com/p/embeddedgmetric/

It provides a _very_ small C/C++ library to send gmond/gmetric packets.  It
does not require a configuration file and is very lightweight.  It's really
2 ".c" files.

Also, a description of the "gmetric protocol" is listed.

And finally a 100% pure python module to send statistics into gmond, again
no config file needed  (one file).


This library is used in production on a application that handles 2-3 billion
transactions per day, from 1200+ machines, to inject 50+ application level
stats into gmond every minute.

The original libganglia  had a few problems for embedding into a C++
application, namely it reads a conf file every time, need apr_pools and
ganglia.h doesnt' compile as C++ (patch forthcoming).  In the process I
found a few other nits involving how the slope is used in gmetric (another
patch forthcoming)

I'd be open to integrating this into the official distribution.

Comments, thoughts, all welcome.

Thanks,

-nickg

Reply via email to