How does Gnocchi map resources and its corresponding metrics?
I am trying to understand how gnocchi works and solves the problem with ceilometer. I am not sure how gnocchi indexer maps the resources and its corresponding metric values.
I also tried to install gnocchi using devstack. Installation was successful and I could see gnocchi-api in the screen. When I check the database I couldn't see any metric being collected. How do I get gnocchi to collect metrics for a VM?
Here is the gnocchi.conf file that is used.
[DEFAULT]
verbose = True
[storage]
file_basepath = /opt/stack/data/gnocchi/
driver = file
coordination_url = file:///opt/stack/data/gnocchi/locks
[keystone_authtoken]
signing_dir = /var/cache/gnocchi
cafile = /opt/stack/data/ca-bundle.pem
auth_uri = http://172.26.28.226:5000
project_domain_id = default
project_name = admin
user_domain_id = default
password = password
username = gnocchi
auth_url = http://172.26.28.226:35357
auth_plugin = password
[indexer]
url = mysql://root:password@127.0.0.1/gnocchi?charset=utf8
driver = sqlalchemy
Regards, Pradeep. S