Re: [openstack-dev] [Ceilometer]Cumulative metrics resetting

2014-02-02 Thread Adrian Turjak
On 31/01/14 21:50, Julien Danjou wrote: On Fri, Jan 31 2014, Adrian Turjak wrote: Is it working on Havana? As I've gone through and tried all the possible state changes (reboot, suspend, pause, resize, terminate, etc), and not one triggers a poll cycle outside of the standard polling

Re: [openstack-dev] [Ceilometer]Cumulative metrics resetting

2014-01-30 Thread Julien Danjou
On Thu, Jan 30 2014, Adrian Turjak wrote: example: 10min pipeline interval, a reset/shutdown happens 7 mins after the last poll. The data for those 7 mins is gone. Even terminating a VM will mean we lose the data in that last interval. If the shutdown is down properly, the nova notifier

Re: [openstack-dev] [Ceilometer]Cumulative metrics resetting

2014-01-30 Thread Adrian Turjak
On 30/01/2014 23:31, Julien Danjou wrote: On the other hand, would it be possible to setup a notification based metric that updates cumulative metrics, or triggers a poll right before the reset/shutdown/suspension/terminate, so we have an entry right before it resets and don't lose any data?

Re: [openstack-dev] [Ceilometer]Cumulative metrics resetting

2014-01-30 Thread Julien Danjou
On Thu, Jan 30 2014, Adrian Turjak wrote: Awesome! But where in the source are they? As the only two notification plugins that seem to exist on the compute agent are for cpu and instance. Is there meant to be one that handles network.outgoing/incoming updates on those VM state changes? This

[openstack-dev] [Ceilometer]Cumulative metrics resetting

2014-01-29 Thread Adrian Turjak
A question about this bug: https://bugs.launchpad.net/ceilometer/+bug/1061817 In the billing program we are currently writing we've partly accounted for resetting of values in a given period for the cumulative metrics, but since we need high accuracy especially for metrics like