9f90b6ce8a
Distil will update instance metadata using the last sample metadata from Ceilometer in each collect window loop. Sometimes, the last sample is not valid, which will lead to wrong property(e.g. 'host') in database. This change will wash the data points during trasformation to make sure it contains valid information in the data points. Also, make Distil get instance host name from 'node' propery first then 'host', because in notification samples Ceilometer will override the value using publisher id. 'node' field doesn't exist for samples generated by Nova API query. This change only touch the Distil V2 code. Fix for Distil V1 will be covered in a seperate patch. Change-Id: I7346f928f8f7356a47403429e09f0b1495aa82c4 |
||
---|---|---|
.. | ||
__init__.py | ||
arithmetic.py | ||
conversion.py |