Support Time To Live on Event Database¶
Event database grows over time, after we dump data to larger storage system, the old data in event database should be cleared, but now, there is no such way to do it.
Add time to live feature on event database, just like what we do on metering database. A new option event_time_to_live will be added, such as what we do for metering database.
Data model impact¶
REST API impact¶
Other end user impact¶
User now can clean event database when they run ceilometer-expirer and set event_time_to_live options to value that larger than 0.
Performance can be improved since event database can keep light.
Other deployer impact¶
- Primary assignee:
- Other contributors:
Contributors who want to help on databases except MongoDB
- Ongoing maintainer:
Implement it on MongoDB
Implement it on other database back end
Unit test code will be added along with source code.
New option will be added, so OS Configuration Document should be update, and new feature is added, Administrator’s Guide Document should be updated too. But not this spec’s job.