parse metrics with color() function