func readCollectorConfig(collector collector.Collector) { // TODO: actually read from configuration file. collector.SetInterval(10) }