OpenStack Ceilometer: Extend time Ceilometer stores samples in MongoDB database

By default Ceilometer stores data for five days in the MongoDB. To extend the time please change the following value in “/etc/ceilometer/ceilometer.conf” on all your controller nodes:

This value is configured in seconds. In this example here I configured Ceilometer to store samples for 35 days in the MongoDB database. Afterwards you need to restart the Ceilometer cluster service on one of your controller nodes: