[openstack-dev] [ceilometer] The reset on the cumulative counter

Julien Danjou julien at danjou.info
Wed Nov 28 11:13:39 UTC 2012


On Tue, Nov 27 2012, Doug Hellmann wrote:

>> I may have a better idea.
>> The problem with doing that in the pollster, is that:
>> 1. it's bad bad bad bad
>> 2. it's inefficient since you may lose values on restart
>>    you won't know what the value was before
>>
>
> We will if we persist them on the compute node.

See point 1. :-)

> That doesn't work if different collector instances receive events from the
> same meter on the same resource in parallel (which could happen easily if
> the queue gets backed up).

It does if you don't try to cache locally but request the last value
From the storage backend, right?

-- 
Julien Danjou
// Free Software hacker & freelance
// http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20121128/22faca24/attachment.pgp>


More information about the OpenStack-dev mailing list