Comment 8 for bug 1394228

Revision history for this message
Nejc Saje (nejc-saje) wrote :

Are you using the latest Ceilometer code? Because judging by the code, it shouldn't work.

In https://github.com/openstack/ceilometer/blob/master/ceilometer/agent.py#L122 , each pollster is called in its own publish context. When that context exits, it calls flush() on transformers, https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline.py#L74 , and the arithmetic transformer does its checks and calculations in the flush() method: https://github.com/openstack/ceilometer/blob/master/ceilometer/transformer/arithmetic.py#L102