added auto generation of metrics with default values