code: public static synchronized void configure(final ApiConfiguration config) {
  		
  		ApiConfiguration.Builder builder = ApiConfiguration.newBuilder();
  		
  		builder.apiUrl(config.getApiUrl());
  		builder.apiKey(config.getApiKey());
  		builder.application(config.getApplication());
  		builder.environment(config.getEnvironment());
  		
  		if (config.getEnvDetail() == null)
  		{
  			builder.envDetail(EnvironmentDetails.getEnvironmentDetail(config.getApplication(), config.getEnvironment()));
  		}
  		else
  		{
  			builder.envDetail(config.getEnvDetail());
  		}
  		
  		CONFIG = builder.build();
  	}
docs: Manually configure the metrics api
  @param config API configuration