PIM-2613 : use metric interface and not anymore abstract metric