Convert @InjectMetric to @Metric