On Thu, Nov 22 2012, shengjie_...@dell.com wrote:

> Let's say if you deploy one ceilometer instance for two swift clusters
> swift-cluster-1' and 'swift-cluster-2'. According to the design, if we use
> source' field for region/cluster to tell what cluster the meters come from.
> The Ceilometer API doesn't seem being well thought through yet.
> A single region case:
> If you want to get the meters for TenantA, this API will simply do the job:
> GET /v1/projects/(project)/meters/(meter)
> Two regions case:
> If you want to get the meters for TenantA from 'swift-cluster-1'
> specifically. According to the API design we have now, there is no API can
> do that directly unless you do some complex API calls combination.

I think you can use:
GET /v1/sources/swift-cluster-1/projects/<project>/meters/<meter>

in that case, no?

Julien Danjou
/* Free Software hacker & freelance
   http://julien.danjou.info */

Attachment: pgpXLk9LHdkzJ.pgp
Description: PGP signature

Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to