Add the Metric's name to the MetricResult so we don't need to pass the Metric itself to the MetricInjector.
We don't know how long it will take MetricInjector to complete its injections, and we want to bind as few resources as possible to it. A Metric object holds far too much data to keep around for an undetermined time period.
Add the Metric's name to the MetricResult so we don't need to pass the Metric itself to the MetricInjector.
We don't know how long it will take MetricInjector to complete its injections, and we want to bind as few resources as possible to it. A Metric object holds far too much data to keep around for an undetermined time period.