Retain all query parameters when adding environment parameter to metrics dashboard URL See merge request gitlab-org/gitlab!40878