Trying to understand metering

asked 2014-04-21 02:48:54 -0600

Guru gravatar image

updated 2014-04-21 02:49:13 -0600

Hi,

I was trying to fetch meters of an instance using get meters api. The api that I used is as below :

http://localdomain:8777/v2/meters?&q.field=resource_id&q.op=eq&q.value=%3Cinstanceid%3E (http://localdomain:8777/v2/meters?&q....) When I try this api, it gives me different sets of result for each instance. For example : one instance had 12 meters and and other instance had only 7 meters.

Can anyone please explain why two different set of results for each instance?

Thank You,

Guru Prasad.K.V

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-13 04:44:28 -0600

Srikanta gravatar image

The creation of meters depends on the services propositioned along with the meter. For an instance, if you are not using storage, then the meters related to storage will not be created

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-21 02:48:54 -0600

Seen: 39 times

Last updated: Apr 21 '14