code: func (c *Collector) RunPoller() {
  	for {
  		c.pollMesosAgent()
  		for _, m := range c.metricsMessages() {
  			c.log.Debugf("Sending container metrics to metric chan:\n%+v", m)
  			c.metricsChan <- m
  		}
  		time.Sleep(c.PollPeriod)
  	}
  }
docs: // RunPoller continually polls the agent on a set interval. This should be run in its own goroutine.