added metric format name function