testDetailsNode.getMetrics() will do the same. function getAllMetrics() is not required