Ask Your Question
0

Ceilometer meter query fails?

asked 2014-07-24 10:13:50 -0500

akira gravatar image

Whe I use the ceilometer api to retrive data for a meter, it works good. For example, "v2/meters/instance". It returns a whole lot of samples and one of the sample paramters say for ex : "counter_name : instance".

But when I use the same parameter above to query, for example , "v2/meters/instance?q.field=counter_name&q.value=instance". This FAILS ! And then I have to use the new name for counter_name -> meter to get the query working.

If the meter returns a sample format, why am I not able to query it using the same sample format ? Many other parameters such as type,unit do not work. And many similar queries fail and some "op" functions also dont work/work incorrectly !

Do I have some config issue ? Or am I not using the API correctly ? Any ideas are appreciated !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-13 04:42:13 -0500

Srikanta gravatar image

When you are using the specific end point for a Meter, why would you further filter with the same meter ? For all the possible filters using statistics, refer this link > http://docs.openstack.org/developer/ceilometer/webapi/v2.html (http://docs.openstack.org/developer/c...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-07-24 10:13:50 -0500

Seen: 148 times

Last updated: Jul 24 '14