Ask Your Question

ceilometer meter-list oddity

asked 2017-01-27 21:46:55 -0500

This is on a master/Newton devstack. I am demo user, demo project, I have an instance running (UUID 86b6b885-2764-4651-9f1e-933b0b893267) and I want to list the meters for this instance.

ceilometer meter-list | grep 86b6b885

No output.

ceilometer meter-list -q resource=86b6b885-2764-4651-9f1e-933b0b893267

Plenty of output. Each line contains the resource ID.

So, if I run meter-list without parameters, it doesn't show me the meters of my instance. If I filter for the resource ID, I get the meters. This is not very intuitive, to say the least.

What is meter-list without options supposed to show?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-30 02:56:59 -0500

yprokule gravatar image

So, ceilometer is limiting all the queries (meter/sample/resource) to just first 100 results. Just not to overwhelm db. And U r able to override it with --limit option on CLI.

edit flag offensive delete link more


Thanks for clarifying it to me.

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-30 03:22:13 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-01-27 21:46:55 -0500

Seen: 188 times

Last updated: Jan 30 '17