Index: common/tsmon/store/inmemory.go |
diff --git a/common/tsmon/store/inmemory.go b/common/tsmon/store/inmemory.go |
index b4fce1e4ecd9cda3c22825fdbc3eb3a50c2e55b7..eee44d4d717a49b9d2ab120816e989a24da17560 100644 |
--- a/common/tsmon/store/inmemory.go |
+++ b/common/tsmon/store/inmemory.go |
@@ -32,6 +32,7 @@ type cellKey struct { |
type metricData struct { |
types.MetricInfo |
+ types.MetricMetadata |
cells map[cellKey][]*types.CellData |
lock sync.Mutex |
@@ -250,7 +251,7 @@ func (s *inMemoryStore) GetAll(ctx context.Context) []types.Cell { |
if cellCopy.Target == nil { |
cellCopy.Target = defaultTarget |
} |
- ret = append(ret, types.Cell{m.MetricInfo, cellCopy}) |
+ ret = append(ret, types.Cell{m.MetricInfo, m.MetricMetadata, cellCopy}) |
} |
} |
m.lock.Unlock() |