distil/distil/transformer
Lingxian Kong 9f90b6ce8a Fix getting host name from instances
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
2017-05-24 13:01:25 +12:00
..
__init__.py Rename 'utils' pkg to 'common' 2017-01-16 11:51:06 +13:00
arithmetic.py Transformer improvement 2017-01-25 15:04:13 +13:00
conversion.py Fix getting host name from instances 2017-05-24 13:01:25 +12:00