fix error due to previous merge

the 'key' field used a symbol instead of a string during the comparison
which leaded to all metrics being classified as gauges