Ask Your Question

where does ceilometer stores all the data related to instances

asked 2014-02-13 23:56:08 -0500

nitesh7 gravatar image

updated 2014-02-14 18:47:04 -0500

smaffulli gravatar image

suppose I have an instance (with 2 GB volume space allocated). Out of 2 GB, lets say 500 MB is used by the instance user. Now used space is 500MB and available space is 1.5 GB. So where this information is getting stored in database. Is it in mysql database or any other database(mongodb). if it is other database then, as a admin of cloud service provider, how can I access that through command line.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-02 19:49:42 -0500

9lives gravatar image

updated 2015-01-02 19:51:58 -0500

As for currently implementation, all the data should goes to ceilometer default database (i.e mongodb), the easiest way you can check that is login with mongo db and do

use ceilometer
show tables

you will see metric and other tables

then search the data you want in metric table,the desired record should be found. use the findOne query command ref to this link

Another way is use the ceilometer cli ceilometer statistics -m volume.size

The third way is use the ceilometer rest api for details check this link

Hope that helps!


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-13 23:56:08 -0500

Seen: 611 times

Last updated: Jan 02 '15