pmrep: fix handling of multi-instance metrics when recording
pmrep: fix handling of multi-instance metrics when recording

adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,adfernandes/pcp,adfernandes/pcp,wuliming/pcp,wuliming/pcp,wuliming/pcp,wuliming/pcp,adfernandes/pcp,wuliming/pcp,adfernandes/pcp,wuliming/pcp