summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-06-12 16:17:37 +0000
committerMike Greiling <mike@pixelcog.com>2019-06-12 16:17:37 +0000
commiteabd1b9e6ad53b3b8e01e64a1425ad7c87b6361b (patch)
treea9cf69a2b27d67c8c29f5c64ccca73a94c21313f /app/helpers
parentac01310fddc4d3d52c575e15b1e7589e02186312 (diff)
parentfba991dc482f726f7f5afd0ef4facbc1552e8d3c (diff)
downloadgitlab-ce-eabd1b9e6ad53b3b8e01e64a1425ad7c87b6361b.tar.gz
Merge branch 'prom-api-2' into 'master'
Switch charts to Prometheus API endpoint CE-2 See merge request gitlab-org/gitlab-ce!29226
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/environments_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/environments_helper.rb b/app/helpers/environments_helper.rb
index 8002eb08ada..855b243cc8a 100644
--- a/app/helpers/environments_helper.rb
+++ b/app/helpers/environments_helper.rb
@@ -26,6 +26,7 @@ module EnvironmentsHelper
"empty-no-data-svg-path" => image_path('illustrations/monitoring/no_data.svg'),
"empty-unable-to-connect-svg-path" => image_path('illustrations/monitoring/unable_to_connect.svg'),
"metrics-endpoint" => additional_metrics_project_environment_path(project, environment, format: :json),
+ "dashboard-endpoint" => metrics_dashboard_project_environment_path(project, environment, format: :json),
"deployment-endpoint" => project_environment_deployments_path(project, environment, format: :json),
"environments-endpoint": project_environments_path(project, format: :json),
"project-path" => project_path(project),