Bug 894778 - [RFE] Add metering/monitoring support (via Ceilometer) to Horizon
Summary: [RFE] Add metering/monitoring support (via Ceilometer) to Horizon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 2.0 (Folsom)
Hardware: All
OS: Linux
high
medium
Target Milestone: Upstream M3
: 4.0
Assignee: Ladislav Smola
QA Contact: Kevin Whitney
URL: https://blueprints.launchpad.net/hori...
Whiteboard:
Depends On: 988515 996347
Blocks: RHOS40RFE
TreeView+ depends on / blocked
 
Reported: 2013-01-13 19:08 UTC by Perry Myers
Modified: 2014-02-02 22:40 UTC (History)
11 users (show)

Fixed In Version: python-django-horizon-2013.2-7.el6ost
Doc Type: Enhancement
Doc Text:
Metering resource usage graphs are now available in Dashboard. A new 'Resource Usage' panel is accessible in the Admin dashboard, enabling administrators to query and visualise Metering telemetry data.
Clone Of:
Environment:
Last Closed: 2013-12-19 23:56:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Stats graph: Black rectangle (45.57 KB, image/png)
2013-11-29 15:18 UTC, Julie Pichon
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 35588 0 None None None Never
OpenStack gerrit 35589 0 None None None Never
OpenStack gerrit 35590 0 None None None Never
OpenStack gerrit 44289 0 None None None Never
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Perry Myers 2013-01-13 19:08:21 UTC
Add metering/monitoring support (via Ceilometer) to Horizon

Comment 1 Julie Pichon 2013-01-23 16:15:58 UTC
See also https://blueprints.launchpad.net/ceilometer/+spec/horizon-plugin for an initial upstream effort at integrating Ceilometer with Horizon.

Comment 3 Julie Pichon 2013-08-14 07:53:52 UTC
Hello. What's the information request for?

Comment 5 Ladislav Smola 2013-09-04 11:11:54 UTC
The basic ceilometer integration (for Havana) consists from 3 blueprints:
https://blueprints.launchpad.net/horizon/+spec/ceilometer
https://blueprints.launchpad.net/horizon/+spec/horizon-chart.js
https://blueprints.launchpad.net/horizon/+spec/admin-resource-usage-page

Prerequisites to test:
Install OpenStack with Ceilometer enabled.

What changed:
On Admin panel you should now see the Resource Usage page with:
1. Several tables with avg statistics of important meters from the last 30 days
2. General multi-line chart showing statistics in time. 
- You can pick meter, whether to group by project or see the resources and time span 
- Know that if there is not enough data, chart resize itself by available data. So having only data from one day, switching to week timespan does nothing.
- The list of all meters is here http://docs.openstack.org/developer/ceilometer/measurements.html (you need to have associated services to see the statistics data)
- Line chart should resize itself to fill the rest of the screen (there is minimal size) and react to window resize event.

Comment 7 Ladislav Smola 2013-09-06 14:55:45 UTC
FYI not sure if the 5 minutes test run will be enough. I think the period of sampling is pretty big (I would say minutes). 
Also for charts, the smallest interval is one day for now, and the chart shows only 400 samples for one line, divided into one day.

Comment 10 Ami Jeain 2013-10-27 13:25:19 UTC
as Perry agreed, it will be tested in upstream tempest.

Comment 11 Julie Pichon 2013-11-28 16:00:16 UTC
I'm trying to sanity test this feature, however at the moment the 'Resource Usage' Stats tab only shows a black rectangle (cf. screenshot). Thanks to Ladislav, we determined that it's probable a css file is missing from the compressed CSS - openstack_dashboard/static/dashboard/less/horizon_charts.less as the chart classes don't seem to be included. Matthias, can you help us shed some light on this?

Comment 12 Julie Pichon 2013-11-28 16:23:12 UTC
An additional data point: when I removed openstack-dashboard-theme in order to sanity check bug 911888, the Stats graphs started displaying just fine.

Comment 13 Julie Pichon 2013-11-29 15:18:39 UTC
Created attachment 830697 [details]
Stats graph: Black rectangle

Comment 18 errata-xmlrpc 2013-12-19 23:56:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.