Put the resource key builder on MetricMixin so it can be overridden.