code: func (s *Collector) StopCollection(c *container.Container) {
  	s.m.Lock()
  	if publisher, exists := s.publishers[c]; exists {
  		publisher.Close()
  		delete(s.publishers, c)
  	}
  	s.m.Unlock()
  }
docs: // StopCollection closes the channels for all subscribers and removes
  // the container from metrics collection.