Cleanup old metrics dashboard code
- Remove metrics dashboard related code from
EnvironmentsHelperandEE::EnvironmentsHelper. - Remove old Prometheus API route and controller:
app/controllers/projects/environments/prometheus_api_controller.rb. - Stop creating an environment in
lib/gitlab/database_importers/self_monitoring/project/create_service.rb? - Remove old view and js files.
Keep in mind that dashboard embeds have to continue working with the old and new URLs.
Edited by Reuben Pereira