# Revision history [back]

### how to retrieve gnocchi metric measures ?

I have setup gnocchi with devstack here is my local.conf file https://raw.githubusercontent.com/viinay/devstack/master/local.conf--telemetry-services2

gnocchi backend is running with default configuration.after the installation has completed I did 1.created an instance.collecte its instanceId , projectId , userId 2.created a resource with gnocchiclient by passing required attributes id(instanceId) , project_id(projectId) , user_id(userId) and metric id

after that I did gnocchi measures show <metric-id> no measures were shown then as per the docs we can send measures to metric so I did that with some dummy data and timestamp after this I was able to see measures (timestamp granularity and value table)

my Question is,

A ) do we have to send measures manually to gnocchi ? if yes with meter_dispatcher set to only gnocchi in ceilometer.conf file I was not able to access the ceilometers api. ( with meter_dispatcher set to both gnocchiand database I can access both gnocchi api and ceilometer I have all the meter data but how do I use that ) am I missing any configuration/steps to follow inorder to get the measures from gnocchi?

### how to retrieve gnocchi metric measures ?

I have setup gnocchi with devstack here is my local.conf file https://raw.githubusercontent.com/viinay/devstack/master/local.conf--telemetry-services2

gnocchi backend is running with default configuration.after the installation has completed I did 1.created an instance.collecte its instanceId , projectId , userId 2.created a resource with gnocchiclient by passing required attributes id(instanceId) , project_id(projectId) , user_id(userId) and metric id

after that I did gnocchi measures show <metric-id> no measures were shown then as per the docs we can send measures to metric so I did that with some dummy data and timestamp gnocchi measures add -m 2017-07-25T12:00:00@42 -m 2017-07-25T12:01:03@45 -m 2017-07-25T12:06:07@22 <metric-id> after this I was able to see measures (timestamp granularity and value table)

my Question is,

A ) do we have to send measures manually to gnocchi ? if yes with meter_dispatcher set to only gnocchi in ceilometer.conf file I was not able to access the ceilometers api. ( with meter_dispatcher set to both gnocchiand database I can access both gnocchi api and ceilometer I have all the meter data but how do I use that ) am I missing any configuration/steps to follow inorder to get the measures from gnocchi?