[openstack-dev] [Ceilometer]Cumulative metrics resetting

Julien Danjou julien at danjou.info
Thu Jan 30 10:31:22 UTC 2014

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 plugin that we
provide in Ceilometer do a lost polling of the instance before shutting
it down, so you don't lose anything.

OTOH if the compute node crashes, that's true that you lose 7 mins of
data. I guess you also have bigger problem.

> 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? This would pretty much solve the issue, and
> as long as it is documented that the cumulative metrics reset, this would
> solve most problems.

Yes, we have the nova notifier plugin doing exactly that. :)

Julien Danjou
# Free Software hacker # independent consultant
# http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140130/3844eec8/attachment.pgp>

More information about the OpenStack-dev mailing list