Use https for metrics collector script