code: func NewCollector(supervisor supervisor, interval time.Duration) *Collector {
  	s := &Collector{
  		interval:   interval,
  		supervisor: supervisor,
  		publishers: make(map[*container.Container]*pubsub.Publisher),
  		bufReader:  bufio.NewReaderSize(nil, 128),
  	}
  
  	platformNewStatsCollector(s)
  
  	return s
  }
docs: // NewCollector creates a stats collector that will poll the supervisor with the specified interval