int - Python module for ganglia - precision number being rounded by gmond -


i've written python module ganglia returning response times. raw times this:

0.0120489597321

i parse python module , return time such:

return int(response_time) 

if run script python, works fine:

[ debug ]: returning: 0.0120489597321 

however, gmond (ganglia) runs module , rounds result 0.0000. classifying uint.

i've tried return float, , long... both methods of provided same results. have ideas here?

i'm not sure you're trying here. int(response_time) return integer, int(0.0120489597321) 0.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -