[openstack-dev] [ceilometer][horizon] metric-list not complete and show metrics in horizon dashboard
Safka, JaroslavX
jaroslavx.safka at intel.com
Tue Apr 12 11:47:02 UTC 2016
Hi all,
I found strange behavior of command 'ceilometer metric-list' , ceilometer database and horizon.
First the command 'ceilometer metric-list'.
It displays only "Name cpu.cpu" and that is all. But If I look into database of ceilometer, then I see this:
MariaDB [ceilometer]> select * from meter;
+----+-----------------------------------+------------+-----------+
| id | name | type | unit |
+----+-----------------------------------+------------+-----------+
| 58 | cpu | cumulative | ns |
| 1 | cpu.cpu | gauge | jiffies |
| 74 | cpu.delta | delta | ns |
| 71 | cpu_util | gauge | % |
...
64 | disk.usage | gauge | B |
| 62 | disk.write.bytes | cumulative | B |
| 72 | disk.write.bytes.rate | gauge | B/s |
| 49 | disk.write.requests | cumulative | request |
| 66 | disk.write.requests.rate | gauge | request/s |
| 14 | hugepages.free_hugepages | gauge | None |
| 23 | hugepages.nr_hugepages | gauge | None |
...
I have also proper resources and samples in db.
*****
And my question is: How is connected the database table meter and the command metric-list?
Second question how I can propagate the metrics to horizon dashboard "Resource usage"?
(I'm able only see cpu metric from started worker image)
Can you please point me out?
Thanks a lot!
Jarek
Background:
I'm writing plugin which connects collectd and ceilometer and I want to see the collectd metrics in the horizon or at least in the ceilometer shell.
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
More information about the OpenStack-dev
mailing list