Changed metric configuration constructor according to validation.

Signed off by: Heitor Reis <marcheing@gmail.com>