<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Nick,<div><br></div><div>Thanks for your reply :)  Implementing it in text form now is a good idea. If it's in Horizon, everybody knows what it is and can easily give opinions.</div><div>Then we can discuss which format is appropriate.</div><div><br></div><div>Brooklyn</div><div><br><div><div>ÔÚ 2012-12-19£¬ÏÂÎç10:35£¬Nicolas Barcet <<a href="mailto:nicolas@barcet.com">nicolas@barcet.com</a>> Ð´µÀ£º</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><font face="courier new,monospace">Hello Brooklyn,<br><br></font></div><font face="courier new,monospace">I would think that you should first implement this in a structured text form, then work on with some js graph library to transform the text into a graph if possible afterward, possibly allowing user to switch from one to the other.  This would limit the dependencies on the server side and allow for greater flexibility for user tweaking on the representation without touching the server side.<br>

<br></font></div><font face="courier new,monospace">Nick<br></font></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 19, 2012 at 11:00 AM, Brooklyn Chen <span dir="ltr"><<a href="mailto:yuanotes@gmail.com" target="_blank">yuanotes@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
I am new to ceilometer and I have some experiences in developing Horizon. This is a discussion about how to put ceilometer data in Hoirzon.<br>
<br>
!!UX experts are needed to help!!<br>
<br>
Related blueprints:<br>
<a href="https://blueprints.launchpad.net/horizon/+spec/ceilometer" target="_blank">https://blueprints.launchpad.<u></u>net/horizon/+spec/ceilometer</a><br>
<a href="https://blueprints.launchpad.net/ceilometer/+spec/horizon-plugin" target="_blank">https://blueprints.launchpad.<u></u>net/ceilometer/+spec/horizon-<u></u>plugin</a><br>
<br>
I'd like to implement these blueprints(it's the same) to add ceilometer in Horizon. And there are some designing issues need to be addressed.<br>
<br>
1. Displaying data<br>
There are 3 kinds of data:<br>
<br>
|    Type    |                  Definition                  |<br>
|------------|----------------<u></u>------------------------------<u></u>|<br>
| Cumulative | Increasing over time (instance hours)        |<br>
|------------|----------------<u></u>------------------------------<u></u>|<br>
| Gauge      | Discrete items (floating IPs, image uploads) |<br>
|            | and fluctuating values (disk I/O)            |<br>
|------------|----------------<u></u>------------------------------<u></u>|<br>
| Delta      | Changing over time (bandwidth)               |<br>
<br>
Shall we use chart or just table to show these data?<br>
Table view is easy to implement but it's not intuitive.<br>
<br>
2. Where to put these data<br>
As you may know, these data are collected from openstack resources, such as instances, floating ip, vcpu hours, object store... (detail: <a href="http://docs.openstack.org/developer/ceilometer/measurements.html" target="_blank">http://docs.openstack.org/<u></u>developer/ceilometer/<u></u>measurements.html</a>)<br>


<br>
Shall we put these data on a new panel? Or in the Overview panel?<br>
<br>
<br>
3. User Console and Admin Console<br>
If we put these data in admin console of Horizon, we need some mechanism to select user and tenant to filter resources.<br>
<br>
<br>
<br>
<br>
Many thanks!<br>
<br>
Brooklyn<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:courier new,monospace">Nicolas Barcet <<a href="mailto:nicolas@barcet.com" target="_blank">nicolas@barcet.com</a>><br>a.k.a. nijaba, nick<br>

</span></div><br>
</div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></div></body></html>