diff options
author | Simon Knox <psimyn@gmail.com> | 2019-06-06 08:03:30 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2019-06-07 21:39:03 +1000 |
commit | fba991dc482f726f7f5afd0ef4facbc1552e8d3c (patch) | |
tree | 9699faa10e2dd1f5feda79c9166d4b3e7c382447 /app/helpers | |
parent | ecdc50b198796275b5f0862c5cdb0dca5aac1213 (diff) | |
download | gitlab-ce-fba991dc482f726f7f5afd0ef4facbc1552e8d3c.tar.gz |
Add feature flag and dashboard endpointprom-api-2
First part of FE for Prometheus API
Dashboard endpoint fetches all info except for chart results
Renders empty groups after loading
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/environments_helper.rb | 1 |
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), |