debian-mirror-gitlab/app/assets/javascripts/pages/projects/services/edit/index.js

16 lines
634 B
JavaScript
Raw Normal View History

2018-03-27 19:54:05 +05:30
import IntegrationSettingsForm from '~/integrations/integration_settings_form';
2020-04-22 19:07:51 +05:30
import PrometheusAlerts from '~/prometheus_alerts';
2021-03-11 19:13:27 +05:30
import CustomMetrics from '~/prometheus_metrics/custom_metrics';
2018-03-27 19:54:05 +05:30
2021-10-27 15:23:28 +05:30
const integrationSettingsForm = new IntegrationSettingsForm('.js-integration-settings-form');
integrationSettingsForm.init();
2018-03-27 19:54:05 +05:30
2021-10-27 15:23:28 +05:30
const prometheusSettingsSelector = '.js-prometheus-metrics-monitoring';
const prometheusSettingsWrapper = document.querySelector(prometheusSettingsSelector);
if (prometheusSettingsWrapper) {
const customMetrics = new CustomMetrics(prometheusSettingsSelector);
customMetrics.init();
}
2020-03-13 15:44:24 +05:30
2021-10-27 15:23:28 +05:30
PrometheusAlerts();