Ask Your Question

Bill Panel

asked 2014-04-01 10:23:24 -0600

anonymous user


updated 2014-04-09 03:12:59 -0600

smaffulli gravatar image

Hi I am trying to incorporate a new panel which shows the bill calculated depending on the usage queried from ceilometer. What would be the correct method in invoking the necessary calls from ceilometer from the code of my panel?

I'm adding this panel both in the admin and project dashboards. Right now i am fetching the usage requirements from nova. I've replicated the overview panel and used the same code to create this.

So far i can view the the bill (obtained by multiplying costs to metrics such as RAM, Disk and VCPUs) in a table format. I would ideally want to use ceilometer api to fetch these meter values instead of nova. Also currently the bill can be downloaded in csv format. Is it possible to be able to add a functionality to download the same as pdf?

Attaching the screenshot of the panel i created:

image description

edit retag flag offensive close merge delete


where are you adding this panel? what have you tried so far? edit your question, provide more details.

smaffulli gravatar imagesmaffulli ( 2014-04-07 08:32:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-09 03:12:08 -0600

smaffulli gravatar image

Have a look at ceilometer's API. The documentation should provide you enough to get started.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-04-01 10:23:24 -0600

Seen: 145 times

Last updated: Apr 09 '14