Merge "Correct the conversion expression of unit_conversion transformer"

This commit is contained in:
Jenkins 2015-11-17 08:41:11 +00:00 committed by Gerrit Code Review
commit fd9995ea91

View File

@ -746,7 +746,7 @@ Sample configuration::
target:
name: "disk.kilobytes"
unit: "KB"
scale: "1.0 / 1024.0"
scale: "volume * 1.0 / 1024.0"
With ``map_from`` and ``map_to`` ::
@ -759,7 +759,7 @@ With ``map_from`` and ``map_to`` ::
target:
map_to:
name: "disk.\\1.kilobytes"
scale: "1.0 / 1024.0"
scale: "volume * 1.0 / 1024.0"
unit: "KB"
**Aggregator transformer**