aodh/tests/storage
Mehdi Abaakouk 2c2a07a688 Allow to enable time to live on metering sample
The collector start the metering sample cleanup
process every 'database_clear_expired_data_interval' seconds to
remove sample according the 'database_time_to_live'

If the backend support ttl natively (mongodb >= 2.2), the cleanup
function in the backend is just a dump, and the backend handles the TTL
itself.

If the backend doesn't support ttl at all, it will raise a
NotImplementedException caught by collector to fill the log correctly.

Blueprint: db-ttl

Change-Id: I869ce6f50065d0ae8d7095a260efbfcd33165eef
2013-07-16 14:53:31 +02:00
..
__init__.py Sketch out a plugin system for saving metering data. 2012-06-08 15:00:47 -04:00
base.py Allow to enable time to live on metering sample 2013-07-16 14:53:31 +02:00
test_base.py Use Python 3.x compatible octal literals 2013-06-11 20:24:41 +02:00
test_get_engine.py ceilometer tests need to be enabled/cleaned 2013-07-11 09:38:55 -04:00
test_impl_hbase.py enable v2 api hbase tests 2013-07-05 11:05:17 -04:00
test_impl_log.py ceilometer tests need to be enabled/cleaned 2013-07-11 09:38:55 -04:00
test_impl_mongodb.py Allow to enable time to live on metering sample 2013-07-16 14:53:31 +02:00
test_impl_sqlalchemy.py ceilometer tests need to be enabled/cleaned 2013-07-11 09:38:55 -04:00
test_models.py Get all tests to use tests.base.TestCase 2013-05-15 11:37:48 -04:00
test_register_opts.py Remove old configuration metering_storage_engine 2013-03-04 13:50:57 +01:00