summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPaweł Chojnacki <pawel@chojnacki.ws>2018-02-23 17:58:40 +0000
committerRobert Speicher <robert@gitlab.com>2018-02-23 17:58:40 +0000
commit0e97eca1d8209a790ab34898e0c5f815bb0565de (patch)
treefc2136cb767e2052728d1943febf6dff4b7c1ff8 /app/views
parent53d7491a73f73f9634dbecde8d8c1333bfadadad (diff)
downloadgitlab-ce-0e97eca1d8209a790ab34898e0c5f815bb0565de.tar.gz
Backport custom metrics ce components
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/services/prometheus/_show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/prometheus/_show.html.haml b/app/views/projects/services/prometheus/_show.html.haml
index 5f38ecd6820..6dc2b85fd32 100644
--- a/app/views/projects/services/prometheus/_show.html.haml
+++ b/app/views/projects/services/prometheus/_show.html.haml
@@ -7,7 +7,7 @@
= link_to s_('PrometheusService|More information'), help_page_path('user/project/integrations/prometheus')
.col-lg-9
- .panel.panel-default.js-panel-monitored-metrics{ data: { "active-metrics" => "#{project_prometheus_active_metrics_path(@project, :json)}" } }
+ .panel.panel-default.js-panel-monitored-metrics{ data: { active_metrics: active_common_project_prometheus_metrics_path(@project, :json) } }
.panel-heading
%h3.panel-title
= s_('PrometheusService|Monitored')