[Openstack] [ceilometer] Polling interval behaving differently between Juno and Liberty
rezroo
openstack at roodsari.us
Fri Apr 8 14:03:45 UTC 2016
Hi - I have been using ceilometer in devstack for a while, and what I
used to be able to do is modify pipeline.yaml to set the polling
interval for "name: cpu_source" to 60, and then publish it using udp.
The diff for the changes are below for the Liberty pipeline.yaml:
/stack at vlab:/etc/ceilometer$ diff pipeline.yaml.bak pipeline.yaml//
//10c10//
//< interval: 600//
//---//
//> interval: 60//
//53c53//
//< - notifier:////
//---//
//> - udp://127.0.0.1:4952//
/
The desired and net effect of these changes in Juno was the I would get
cpu_util samples every minute, but cpu meters every 10 minute, in the
Juno release.
These same changes in Liberty are not having the same effect. I get cpu,
cpu_util, and cpu.delta every 1 minute. Why are cpu samples arriving
every minute?
/stack at lab:~$ ceilometer sample-list -m cpu | head//
//+--------------------------------------+------+------------+------------+------+----------------------------+//
//| Resource ID | Name | Type |
Volume | Unit | Timestamp |//
//+--------------------------------------+------+------------+------------+------+----------------------------+//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0746e+11 | ns | 2016-04-08T13:48:17.380281 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0739e+11 | ns | 2016-04-08T13:47:17.357667 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.073e+11 | ns | 2016-04-08T13:46:17.414188 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0723e+11 | ns | 2016-04-08T13:45:17.356869 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0715e+11 | ns | 2016-04-08T13:44:17.357771 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0707e+11 | ns | 2016-04-08T13:43:17.349820 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu | cumulative |
1.0699e+11 | ns | 2016-04-08T13:42:17.348110 |//
//
//stack at lab:~$ ceilometer sample-list -m cpu.delta | head//
//+--------------------------------------+-----------+-------+-------------+------+----------------------------+//
//| Resource ID | Name | Type |
Volume | Unit | Timestamp |//
//+--------------------------------------+-----------+-------+-------------+------+----------------------------+//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
70000000.0 | ns | 2016-04-08T13:48:17.380281 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
90000000.0 | ns | 2016-04-08T13:47:17.357667 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
70000000.0 | ns | 2016-04-08T13:46:17.414188 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
80000000.0 | ns | 2016-04-08T13:45:17.356869 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
80000000.0 | ns | 2016-04-08T13:44:17.357771 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
80000000.0 | ns | 2016-04-08T13:43:17.349820 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu.delta | delta |
80000000.0 | ns | 2016-04-08T13:42:17.348110 |//
//
//stack at lab:~$ ceilometer sample-list -m cpu_util | head//
//+--------------------------------------+----------+-------+----------------+------+----------------------------+//
//| Resource ID | Name | Type |
Volume | Unit | Timestamp |//
//+--------------------------------------+----------+-------+----------------+------+----------------------------+//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.116622711567 | % | 2016-04-08T13:48:17.380281 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.150141435735 | % | 2016-04-08T13:47:17.357667 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.116555319427 | % | 2016-04-08T13:46:17.414188 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.133335337808 | % | 2016-04-08T13:45:17.356869 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.133315666786 | % | 2016-04-08T13:44:17.357771 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.133329533442 | % | 2016-04-08T13:43:17.349820 |//
//| 6c4d5e4c-066e-4e98-b728-caaa66d8bf3b | cpu_util | gauge |
0.133329311232 | % | 2016-04-08T13:42:17.348110 |/
Is this a ceilometer bug, or change? Is my understanding of the desired
effect incorrect?
Thanks,
Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160408/9cad0e8b/attachment.html>
More information about the Openstack
mailing list