Update the metric facade to work with resource key