deb-ceilometer/ceilometer/api
gordon chung 50fc88183c add mandatory limit value to event list
unrestricted listing of events can require significant memory.
this patch implements mandatory limit on event-list

sql backend requires a little rewrite due to fact that we grab data
in two steps: first we grab all events matching query, then we grab
appropriate traits (we don't use orm relationships because it's slow).
we can not just append order_by and limit to first query because we
use query in second part as well and sqlite will complain about
order_by/limit coming before join. this patch changes it to use a
subquery. based on testing, this does not appear to degrade
performance.

DocImpact
ApiImpact

Change-Id: Ib8009d6e4ab6d066ba5fca43b824c24c8cb32d4e
Implements: blueprint mandatory-limit
2015-07-22 09:48:08 -04:00
..
controllers add mandatory limit value to event list 2015-07-22 09:48:08 -04:00
__init__.py Use werkzeug to run the developement API server 2015-02-11 07:25:24 +01:00
app.py set default limit to meter/sample queries 2015-07-02 10:38:00 -04:00
app.wsgi Upgrade to hacking 0.10 2015-01-23 17:43:04 +01:00
config.py Remove unused pecan configuration options 2015-01-11 12:09:33 +08:00
hooks.py Add support for posting samples to notification-agent via API 2015-06-27 12:46:28 +00:00
middleware.py Port middleware to Python 3 2015-06-12 18:11:42 +02:00
rbac.py Adds support for default rule in ceilometer policy.json. 2015-04-07 15:43:06 +02:00