Bernard,

Thanks for committing the patch. Hopefully more people will try the sFlow 
functionality and we can get additional feedback.

On Oct 26, 2010, at 12:47 AM, Bernard Li wrote:

> If I could make just one comment: right now if I run gmond in debug
> mode, it shows that the sFlow metrics are actually spoofed gmond
> metrics.  Is there a way to make it so they are labelled sFlow
> metrics?

The metrics really are exactly equivalent to gmond native metrics, the sFlow 
standard was based in part on gmond's libmetrics and the Host sFlow agent 
leverages code from libmetrics. By spoofing them as gmond metrics, they 
seamlessly integrate in the UI and are combined in charts and rolled up 
correctly.

There is a broader question relating enhancing the metadata attributes to be 
more expressive, for instance to be able to express the containment 
relationship between virtual machine metrics and the host physical machine. The 
sFlow module is currently discarding virtual machine statistics (based on 
libvirt) because it isn't clear what metadata to associate with them to ensure 
that they would appear in the UI in a useful way.

http://www.mail-archive.com/ganglia-gene...@lists.sourceforge.net/msg06009.html

This would seem to tie in to the effort to re-work the Ganglia UI. Additional 
metadata associated with the metrics would allow the UI to be more intelligent 
about combining and grouping metrics.

> 
> Perhaps we should start a separate thread to discuss Kostas' idea of
> having a pluggable interface for metric sources.  With sFlow support,
> gmond can now handle both gmond sources and sFlow sources.  With a
> pluggable interface, we could in the future be able to aggregate data
> collected by other tools, such as collectd, collectl, etc.  The
> possibilities are endless.

The gmond_internal.h file contains some of the gmond functions that would need 
to be exposed to a module in order to support the sFlow functionality. 

I am not very familiar with collectd and collectl, but it appears that gmond 
would be polling remote statistics repositories in these cases. The sFlow case 
is different, the metrics are asynchronously pushed by the sFlow agents to to 
gmond, so the code has to site in the UDP packet processing loop.

Regards,
Peter
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to