Improvements for API v2
The API needs to evolve in order to solve more advanced questions from billing engines such as:
- Give me the maximum usage of a resource that lasted more than 1h
- Give me the use of a resource over a period of time, listing changes by increment of X volume over a period of Y time
- Provide additional statistical function (Deviation, Median, Variation, Distribution, Slope, etc...) which could be given as multiple results for a given data set collection
- OR operator in filter
Blueprint information
- Status:
- Complete
- Approver:
- Julien Danjou
- Priority:
- Undefined
- Drafter:
- François Charlier
- Direction:
- Approved
- Assignee:
- Julien Danjou
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Started
- Milestone target:
- next
- Started by
- Julien Danjou
- Completed by
- gordon chung
Whiteboard
(asalkeld) I have tried to summerize the different usecases here:
https:/
(Doug I moved the pagination to the wiki too.)
Gerrit topic: https:/
Addressed by: https:/
Add first and last sample timestamp
Addressed by: https:/
Use MongoDB aggregate to get resources list
Addressed by: https:/
Use a real MongoDB instance to run unit tests
Gerrit topic: https:/
this covers way too much stuff, some already implemented -- gordc (10.11.15)