Bug 1042354

Summary: [RFE][ceilometer]: Statistics order by and limit for grouped queries (via GroupBy)
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ceilometer/+spec/statistics-order-by-and-limit-for-grouped-query
Whiteboard: upstream_milestone_next upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:43:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 21:51:00 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/statistics-order-by-and-limit-for-grouped-query.

Description:

For  /meters/statistics/ and for sample-statistics (https://blueprints.launchpad.net/ceilometer/+spec/sample-api),
when aggregated by GroupBy:
It should be possible to order the results by a meter and a value ( e.g. cpu_util and avg ) and then limit the result.

User stories:
1. A user want to see Top5 cpu consumers.
2. User want to see table with average statistics of his nova instances (multiple meters) over last month, with pagination and ordering ( whole table will be obtained by one sample-api request )


Specification URL (additional information):

None