diff --git a/sdk/metric/meter.go b/sdk/metric/meter.go index d39ab253d5d..e558a78a4f4 100644 --- a/sdk/metric/meter.go +++ b/sdk/metric/meter.go @@ -86,10 +86,10 @@ type meter struct { // aggregatorCache* ensures no duplicate Aggregators are created from the // same instrument within the scope of all instruments this meter owns. // - // Duplicate creations that for the same number are identified in the - // viewCache. Since the conflict is "resolvable", an aggregator still needs - // to be returned when this occurs. Therefore, instruments of different - // numbers are not tracked with the same cache. + // Duplicate instrument creations for different number types are identified + // in the viewCache. Since the conflict is "resolvable", a valid aggregator + // still needs to be returned when this occurs. Therefore, instruments of + // different numbers are not tracked with the same cache. aggregatorCacheInt64 cache[instrumentID, aggVal[int64]] aggregatorCacheFloat64 cache[instrumentID, aggVal[float64]] // viewCache ensures instrument conflicts this meter is asked to create are