Remove use of environment variables in metrics job.