[openstack-dev] [Ceilometer] Is that possible to implement new APIs for horizon to show the usage report and charts?
julien at danjou.info
Tue Jul 23 12:54:19 UTC 2013
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,
> 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.
# Free Software hacker # freelance consultant
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 835 bytes
Desc: not available
More information about the OpenStack-dev