How to use python-ceilometerclient

asked 2013-06-07 05:16:19 -0500

djangoat gravatar image

updated 2013-06-14 11:56:31 -0500

smaffulli gravatar image

I was trying to use python-ceilometerclient. I was developing using horizon dev env.

I do this:

from ceilometerclient.client import Client

ceilometer = Client('1', endpoint=api_endpoint, token=request.user.token.id)

and somehow I can't understand yet how to use it because the docs did not explain it well how to use it in python.

I need some code example using it such us:

getting all data usages of all instances or a specific instance including its data about ram, volumes, vcpu and etc of a tenant or project.

Any help will be much appreciated.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-07-26 17:26:46 -0500

smaffulli gravatar image

I doubt anybody at this moment has spare time to write such documentation for you. I would suggest you to study existing code on openstack git repositories and hang out on the IRC #openstack-dev channel to discuss your development questions there in real time with other developers.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-07 05:16:19 -0500

Seen: 308 times

Last updated: Jul 26 '13