basic getbyname case of metrictype - add to cache before returning found doc.