In the past these were registered using resourceRegistration.registerMetric(...) and that should be used unless the attribute is not a metric.