On Tue, Jul 23 2013, Brooklyn Chen wrote:

>
> It would be helpful if ceilometer-api provides following api:
>
> GET /v2/usages/disk/
>
> Parameters:  q(list(Query)) Filter rules for the resources to be returned.
> Return Type: list(Usage) A list of usage with different tenant,user,
> resource
>
> GET /v2/usages/disk/<usage_id>

Did you try /v2/meter/<meter-id>/statistics ?
I think /statistics is good enough *except* that it misses the ability
to group by resource the statistics.

> 2. need gauge data like "cpu_util" to render stat charts.
> We have cumulative meters like "disk.read.bytes" and
> "networking.incoming.bytes" but they are not able to be used for drawing
> charts since the value of them are always increasing.

The /statistics with the period= argument would allow you to do that as
far as I can tell.

-- 
Julien Danjou
# Free Software hacker # freelance consultant
# http://julien.danjou.info

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to