Move reading the metrics from the cache layer to the UI layer