code: func (s *inMemoryStore) GetAll(ctx context.Context) []types.Cell {
  	s.dataLock.Lock()
  	defer s.dataLock.Unlock()
  
  	defaultTarget := s.DefaultTarget()
  
  	ret := []types.Cell{}
  	for _, m := range s.data {
  		m.lock.Lock()
  		for _, cells := range m.cells {
  			for _, cell := range cells {
  				// Add the default target to the cell if it doesn't have one set.
  				cellCopy := *cell
  				if cellCopy.Target == nil {
  					cellCopy.Target = defaultTarget
  				}
  				ret = append(ret, types.Cell{m.MetricInfo, m.MetricMetadata, cellCopy})
  			}
  		}
  		m.lock.Unlock()
  	}
  	return ret
  }
docs: // GetAll efficiently returns all cells in the store.