
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
26 lines
435 B
Plaintext
26 lines
435 B
Plaintext
uptime:
|
|
# states marked as "billable" for VMs.
|
|
tracked_states:
|
|
- active
|
|
- paused
|
|
- rescue
|
|
- rescued
|
|
- resize
|
|
- resized
|
|
- verify_resize
|
|
- suspended
|
|
- shutoff
|
|
- stopped
|
|
from_image:
|
|
service: b1.standard
|
|
# What metadata values to check
|
|
md_keys:
|
|
- image_ref
|
|
- image_meta.base_image_ref
|
|
none_values:
|
|
- None
|
|
- ""
|
|
# where to get volume size from
|
|
size_keys:
|
|
- root_gb
|