Add iteration loop for sites,hosts and metrics