pub fn stat_collector(config: Config) -> Result<(), String>
Main statictic collection function running what’s required by configuration