<br><br><div class="gmail_quote">On Tue, May 8, 2012 at 7:19 PM, Luis Gervaso <span dir="ltr"><<a href="mailto:luis@woorea.es" target="_blank">luis@woorea.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I have uploaded a toy version of ceilometer (java implementation).<br><br>It does implement the first two counters (instance : rabbitmq listener and cpu : polling from libvirt)<br><br>i need more clarification on the meaining:<br>

<br>counter_volume<br>counter_duration<br>counter_datetaime<br><br>I hope this helps to figure out how to agreggate these data.<br><br><a href="http://github.com/woorea/ceilometer-java" target="_blank">http://github.com/woorea/ceilometer-java</a></blockquote>
<div><br></div><div>Nice!</div><div><br></div><div>I have also been experimenting. I have some Python code in <a href="https://github.com/dhellmann/metering-prototype">https://github.com/dhellmann/metering-prototype</a> that listens for notifications related to instances (create, delete, exists) and converts them to counter output (see spy.py). There is also a pair of scripts for recording an event stream and playing it back (useful for testing, see recorder.py and player.py). I don't have any libvirt polling, yet, though.</div>
<div><br></div><div>In the course of looking at the notifications being generated for different scenarios, I discovered that the instance delete messages do not have any duration information right now. I don't know if that is a bug, or if the idea is to figure out the durations from looking at the most recent "exists" event. What do other people think?</div>
<div><br></div><div>Doug</div></div>