[Openstack] [ceilometer] How does ceilometer work with multi-DC scenario

Julien Danjou julien at danjou.info
Thu Nov 22 16:57:57 UTC 2012


On Thu, Nov 22 2012, Shengjie_Min at 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 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121122/61e95eb6/attachment.sig>


More information about the Openstack mailing list