← Back to team overview

openstack team mailing list archive

[ceilometer] meter data volume

 

Hi Julien,

Sorry to bother you.

I am still testing ceilometer now. I am confused about the meter volume
in the mongodb. Let's talk about cpu usage.

After I create and boot a vm named vm_1, meter data record about cpu
usage will be inserted into db in cycle(default 10 minutes). For
example,the 'counter_volume' of the first record is '52060000000',and
the second one is '123890000000'.

1) '123890000000' nanoseconds means '123.89' seconds or two minutes,it
seem like to be 1238.9 seconds actually, is there something wrong ?

2) If I never reboot or suspend vm_1, will the 'counter_volume' of cpu
usage record increase all the time ? Just like '8 minutes' -> '18
minutes' -> '28 minutes' ?

3) If I reboot or suspend vm_1, I find that the 'counter_volume' of cpu
usage record will count from zero. Just like '8 minutes' -> '18 minutes'
-> '28 minutes' [-> '0 minutes'] ->'5 minutes' -> '15 minutes'. Does it
mean that 'counter_volume' just represents how long has vm_1 been booted
up ?

4) This one is about Web API. I find that "GET
/v1/resources/(resource)/meters/(meter)/volume/sum" just return the sum
value of all the cpu 'counter_volume', like '8 minutes' + '18 minutes'.
Is it reduplicate ?

5) If I want to know how long has vm_1's cpu been used yesterday, how
can I do ?

It seems like that I have too many questions..

Thank you very much !


-----------------------
Yawei Wu
Dalian Hi-Think Computer Technology,Corp.


Follow ups