diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 09:09:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 09:09:51 +0000 |
commit | e79918ce90dc31527be1ef0140a99cfe450d931e (patch) | |
tree | ea700e26de7809e58b7cff6bc58d8b8d89f29201 /app/assets/javascripts/pages | |
parent | 01ff651394ec2df7df5ed0282c96fb8133980cb9 (diff) | |
download | gitlab-ce-e79918ce90dc31527be1ef0140a99cfe450d931e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r-- | app/assets/javascripts/pages/projects/services/edit/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/pages/projects/services/edit/index.js b/app/assets/javascripts/pages/projects/services/edit/index.js index 5249709a2a3..04f3877ab48 100644 --- a/app/assets/javascripts/pages/projects/services/edit/index.js +++ b/app/assets/javascripts/pages/projects/services/edit/index.js @@ -1,5 +1,5 @@ import IntegrationSettingsForm from '~/integrations/integration_settings_form'; -import PrometheusMetrics from '~/prometheus_metrics/custom_metrics'; +import CustomMetrics from '~/prometheus_metrics/custom_metrics'; import PrometheusAlerts from '~/prometheus_alerts'; import initAlertsSettings from '~/alerts_service_settings'; @@ -10,8 +10,8 @@ document.addEventListener('DOMContentLoaded', () => { const prometheusSettingsSelector = '.js-prometheus-metrics-monitoring'; const prometheusSettingsWrapper = document.querySelector(prometheusSettingsSelector); if (prometheusSettingsWrapper) { - const prometheusMetrics = new PrometheusMetrics(prometheusSettingsSelector); - prometheusMetrics.init(); + const customMetrics = new CustomMetrics(prometheusSettingsSelector); + customMetrics.init(); } PrometheusAlerts(); |