Ask Your Question
3

Bill Panel

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

anonymous user

Anonymous

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

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

Comments

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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 117 times

Last updated: Apr 09 '14