openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18857
Re: [ceilometer] How does ceilometer work with multi-DC scenario
On Thu, Nov 22 2012, Shengjie_Min@xxxxxxxx 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:
pgpH15IKilo6X.pgp
Description: PGP signature
Follow ups
References