>>> On 6/5/2008 at 4:48 PM, in message
<[EMAIL PROTECTED]>, "Bernard Li"
<[EMAIL PROTECTED]> wrote:
> Hi Brad:
> 
> On Thu, Jun 5, 2008 at 3:23 PM, Brad Nicholes <[EMAIL PROTECTED]> wrote:
> 
>> Done.  Hopefully this will be a good guide for somebody that is getting 
> started with Python modules.  We still need to write an equivalent C module 
> doc.
> 
> Thanks for the updates.
> 
> BTW I am curious about the 'modules' section in the .pyconf -- is it
> really necessary?  My Python module has been running fine without that
> section (it only has the 'collection_group section').
> 
> I also have any question regarding the metric_init parameters.  Is
> 'format' really necessary since we could probably determine it from
> the 'value_type' -- i.e. value_type = uint, format = %u; value_type =
> string, format = %s, etc.
> 

Sorry forgot to answer your second question.  Format could probably just be 
assumed and if IIRC, mod_python might be validating that the correct format is 
specified based on the value_type.  Basically it is just there because that is 
how it was done previously and how it is currently done for a C module (since 
there isn't any kind of middle module, like mod_python, that can do the 
evaluation).  So for consistency, I kept it.

Brad 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to