Statistics order by and limit for grouped queries (via GroupBy)

Registered by Ladislav Smola

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 )

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Ildiko Vancsa
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon next
Completed by
gordon chung

Related branches

Sprints

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.