Great work.
I'll surely be using that python interface for my pet project Job
Monarch, which also injects massive amounts of gmetrics. Nice to see a
pure python module.
As to integrating it, it's not my call (Martin, Matt?), but I would vote
yes. ;)
Cheers,
- Ramon.
Nick Galbreath wrote:
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
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers
--
ing. R. Bastiaans
Systems Programmer / High Performance Computing & Visualisation /
SARA Computing and Networking Services
Kruislaan 415 PO Box 194613
1098 SJ Amsterdam 1090 GP Amsterdam
---
There are really only three types of people:
Those who make things happen, those who watch things happen
and those who say, "What happened?"