Abstraction of Ceilometer meters information

Bug #1226479 reported by Ladislav Smola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Ladislav Smola

Bug Description

Right now the meter info ( title, description, unit.. ) is defined by hard in template, that would lead to a duplication when used in multiple places.

1. We will have to extract the metadata of the meters to a class ( title, description, unit.. ), last time I checked, I couldn't retrieve it from the Ceilometer. So we should start defining it in the class by hard. It could be connected to Ceilometer and some cache server later.

2. It should support list operation, constrained by meters name Meters.list(only=['cpu', 'cpu_util']) - I would support only, except

3. It should also support listing meters by their service e.g. Meters.nova_list(), that mapping is also missing in Ceilometer.

Tags: ceilometer
Ladislav Smola (lsmola)
tags: added: ceilometer
Changed in horizon:
importance: Undecided → Medium
status: New → Confirmed
Ladislav Smola (lsmola)
Changed in horizon:
assignee: nobody → Ladislav Smola (lsmola)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/47579

Changed in horizon:
status: Confirmed → In Progress
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → icehouse-1
Changed in horizon:
assignee: Ladislav Smola (lsmola) → Maxime Vidori (maxime-vidori)
Changed in horizon:
assignee: Maxime Vidori (maxime-vidori) → Ladislav Smola (lsmola)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/47579
Committed: http://github.com/openstack/horizon/commit/44b302f6b5bb6f622058c77a88793442a20d6877
Submitter: Jenkins
Branch: master

commit 44b302f6b5bb6f622058c77a88793442a20d6877
Author: Ladislav Smola <email address hidden>
Date: Fri Sep 20 16:09:07 2013 +0200

    Abstraction of Ceilometer meters information

    - Extract the metadata of the meters to a class (label,
      description)
    - The list operation support (only, except) filter
    - It supports listing meters by their service e.g. .list_nova(),
      .list_neutron()

    - Tests for meters list written.

    Fixes bug 1226479

    Change-Id: Ifa366fd2de3e8f4e31347962630f96344ebba974

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.