Comment 2 for bug 1180438

Revision history for this message
Feilong Wang (flwang) wrote : Re: 'ceilometer *-list' too slow to respond

Aimon, by default, if you just call "ceilometer meter-list", it means there is no any filter applied. In other words, the query will try to get all the data from DB. I think that's why it's slow.
Besides, generally, Ceilometer's data is consumed by REST API. So it means consumer will query data from Ceilometer with some filter parameters, just like this:
http://127.0.0.1:8777/v2/meters/cpu_util?q[0].field=timestamp&q[0].op=ge&q[0].value=2013-05-10T03:17:42&q[1].field=resource_id&q[1].op=eq&q[1].value=5ff7850e-c559-4270-beb6-baccf7219181

Please try above query (replace the value with your env) and I'm glad to know the result.