The environment config option isn't supported by the APM UI yet. The UI will mix data from multiple environments together if used without also differentiating the service name. This will be confusing for the user.
A warning should be added to the documentation instructing the user to also add the environment as a suffix to the service name.