deb-ceilometer/ceilometer/event
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
..
storage add mandatory limit value to event list 2015-07-22 09:48:08 -04:00
__init__.py Add configuration-driven conversion to Events 2013-12-10 17:31:09 +00:00
converter.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
endpoint.py Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
trait_plugins.py unicode error in event converter 2015-02-15 22:30:42 -05:00