optimize metric_values query
Merge pull request #139 from zawaideh/patch-2

optimize metric_values query