|
Project Information
Featured
Downloads
|
Ganglia's gmetric is a handy command line tool to inject custom metrics into gmond. However it and libganglia are not designed for embedding into a C/C++ application. Nor does it provide any scripting interface. This project provide scripting modules that do not require gmond.conf or gmetric or any other dependencies (these are not wrappers around C code or call gmetric). There is also a C/C++ library for embedding into applications.
BenefitsThe main benefit of embedded gmetric into your script or application is to avoid the overhead of
For the occasion metric, calling out to gmetric is not a problem. However if you wanted to inject dozens (hundreds?) of statistics the overhead can slow you down. When not to use embeddedgmetricYou should continue to use regular gmetric if you have any type of special configuration that involve sending stats to multiple machines, sockets, multicast addresses. Embedded gmetric primary is useful when you send stats to one machine, especially when using UDP. News17-Nov-2008 Version 1.3 relased
20-Nov-2007 Version 1.2 released
17-May-2007 Version 1.1 released
|