[Openstack-operators] [Openstack] [openstack][ceilometer] cpu util stats using libvirt qemu:///system

Alejandro Comisario alejandro.comisario at mercadolibre.com
Wed May 14 16:07:04 UTC 2014


Thanks Suo.
Still, i dont get how the math is repressented, can you explain how
this uses the cpuTime for each vm to get the % ?
Thanks a lot!



On Wed, May 14, 2014 at 12:57 PM, Guangyu Suo <guangyu at unitedstack.com> wrote:
>
> Hi,
>
> The cpu_util is calculated by cpu time in pipeline's transformer: https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/pipeline.yaml#L43
>
>
> 2014-05-14 22:55 GMT+08:00 Alejandro Comisario <alejandro.comisario at mercadolibre.com>:
>>
>> Hi Guys, any help regarding this matter ?
>>
>>
>> On Tue, May 13, 2014 at 5:53 PM, Alejandro Comisario <alejandro.comisario at mercadolibre.com> wrote:
>>>
>>> Hi guys, sorry if this has been asked already.
>>>
>>> I dont seem to find the cpu % util implementation for libvirt using qemu.
>>>
>>> https://github.com/openstack/ceilometer/blob/master/ceilometer/compute/virt/libvirt/inspector.py
>>>
>>> Is it possible to get it or the code is somewere else ?
>>> Its no real use the % time since i need de % util to compare it
>>> against the overall host % cpu.
>>>
>>> Can you help me understand what am i geting wrong ?
>>> If so, how this is / should be calculated ?
>>>
>>> Thanks a lot!
>>>
>>> -------------
>>> alejandrito
>>
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
>
> --
> 索广宇(Guangyu Suo)
> UnitedStack Inc.
>



More information about the OpenStack-operators mailing list