Add scale key to Metric struct

- 114cbe2 and  2e98ec9 are commits for refactoring.
This calculation may as well put inside if-statement.
The multiplication is not needed when `scale` is not specified.