[Openstack] [Ceilometer] REST API query

Ildiko Vancsa ildiko.vancsa at gmail.com
Thu Aug 1 15:21:49 UTC 2013


Hi,

I have an API filtering question. I would like to list the values of a
counter for multiple resources with one query request. For instance:
getting the cpu counter for both resources with id R1 and R2:

Send a GET request for /v2/meter/cpu with the following query:

{"field": "resource_id",

     "op": "eq",

     "value": "R1"}

OR

   {"field": "resource_id",

     "op": "eq",

     "value": "R2"}
If I know right, the OR relation between the fields of the query is not
supported in the grizzly release. Is there any support for this in the
current development cycle or any plan for implementing this filtering
option?

Thanks and Best Regards,
/Ildiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130801/b24b8c4c/attachment.html>


More information about the Openstack mailing list