Method metric of MetricCollector now returns a NativeMetric.