PIM-2498 : add metric type spec to replace UT