Begin using new Prometheus proxy API

Update lib/gitlab/metrics/dashboard/stages/metric_endpoint_inserter.rb and lib/gitlab/metrics/dashboard/stages/variable_endpoint_inserter.rb to use the new Prometheus proxy API and not to raise error when params[:environment] is blank.

Assignee Loading
Time tracking Loading