distil/etc/transformer.yaml.sample
Lingxian Kong 3284497cf7 Transformer improvement
- Use InstanceUptime transformer instead of Uptime(Uptime is not used
  anywhere).
- Get instance flavor name direct from instance metadata to avoiding
  calling nova api.
- Fix empty sequence error in NetworkServiceTransformer.
- Add unit tests for new transformer code.

Change-Id: I22e1f854ac26dba3824a7e1df0850522aa2ea774
2017-01-25 15:04:13 +13:00

27 lines
488 B
Plaintext

uptime:
# states marked as "billable" for VMs.
tracked_states:
- active
- paused
- rescue
- rescued
- resize
- resized
- verify_resize
- suspended
# uncomment these when we want to bill shutdown:
# - 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