Fixed all_names method for MetricCollector

Signed off by: Diego Araújo <diegoamc90@gmail.com>
MetricCollector supported_metrics returns a list of Metric