Ceilometer API that return all the meter for a given resources ID

asked 2015-11-20 06:49:19 -0600

wowuor gravatar image

Hi,

I need help with a ceilometer API call that is equivalent to what the following CLI command

[ceilometerClient]$ ceilometer sample-list -q 'resource_id=<VM ID>' -m cpu_util

Thanks in advance for help

edit retag flag offensive close merge delete

Comments

I tried in my environment,It's working fine

Basivireddy gravatar imageBasivireddy ( 2015-11-21 08:39:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-28 02:36:48 -0600

abhishek_10ju gravatar image

http://<controller_ip_here>:8777/v2/meters/cpu_util?q.field=resource_id&q.op=eq&q.value=<resource_id_here>

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-11-20 06:49:19 -0600

Seen: 103 times

Last updated: Nov 20 '15