aggregator transformer needs different behavior for cumulative meters

Bug #1342668 reported by Nejc Saje
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Nejc Saje

Bug Description

Currently, it just sums up the volumes of all aggregated samples.

In the case of cumulative meters, it should just take the volume of the last sample received.

Nejc Saje (nejc-saje)
Changed in ceilometer:
assignee: nobody → Nejc Saje (nejc-saje)
Nejc Saje (nejc-saje)
Changed in ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

gordon chung (chungg)
Changed in ceilometer:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/108315
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=454eba9e9e4db8c32657feb86cf28608ff0c3be1
Submitter: Jenkins
Branch: master

commit 454eba9e9e4db8c32657feb86cf28608ff0c3be1
Author: Nejc Saje <email address hidden>
Date: Mon Jul 21 10:25:25 2014 +0200

    Add cumulative and gauge to aggregator transformer

    Currently, the aggregator transformer just sums up the volumes of all
    aggregated samples.

    This patch improves it so it returns just the latest volume for cumulative
    meters and the average of volumes for gauge meters.

    DocImpact: Aggregator transformer now works for gauge and cumulative as well
    Change-Id: I172a7298dc063ff36b2a209df25d6650debb5a14
    Closes-bug: #1342668

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → juno-3
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-3 → 2014.2
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.