adding attribute name to metric