Re: [Ganglia-general] UC 64bit metrics with modpython
On 2014-02-18 09:39, Rushton Martin wrote: > Could you simply divide the value by 2^20 (or 10^6) and send MiB (or > MB)? This is actually similar to what the built in memory metrics do. They report KiB and then the fancy report converts that to something nice. The work around that I am currently doing is sending everything as doubles, which also results in a loss of precision but avoids the "what is a giga-kilo-byte?" rats nest. Either way I think software for this century ought to be able to handle 64 bits. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] Drop-down metrics missing
For a while now the drop-down list of metrics on our Ganglia has been empty. The RRDs are fine and the graphs are showing, but it's impossible to select a particular graph from that list via the button. The versions in use are: ganglia-3.6.0-4.fc20.x86_64 ganglia-web-3.5.12-4.fc20.x86_64 Best Wishes, Adam Huffman -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] UC 64bit metrics with modpython
Could you simply divide the value by 2^20 (or 10^6) and send MiB (or MB)? >-Original Message- >From: Chris Burroughs [mailto:chris.burrou...@gmail.com] >Sent: 18 February 2014 14:25 >To: ganglia-general@lists.sourceforge.net. >Subject: [Ganglia-general] 64bit metrics with modpython > >I'm trying to write a gmond python module that needs to measure values >greater than 2^32 (bytes of memory/storage). I'm having trouble getting that >to work as there either isn't a uint64 type or the python module is turning all >ints into 32bit [1]. > >What's the right way to pass 64 bit numbers to modpython modules? > > >[1] >https://github.com/ganglia/monitor- >core/blob/master/gmond/modules/python/mod_python.c#L787 > This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] 64bit metrics with modpython
I'm trying to write a gmond python module that needs to measure values greater than 2^32 (bytes of memory/storage). I'm having trouble getting that to work as there either isn't a uint64 type or the python module is turning all ints into 32bit [1]. What's the right way to pass 64 bit numbers to modpython modules? [1] https://github.com/ganglia/monitor-core/blob/master/gmond/modules/python/mod_python.c#L787 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general