parse metrics as string