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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
522 B
JavaScript
Raw Normal View History

2022-01-26 12:08:38 +05:30
import initIntegrationSettingsForm from '~/integrations/edit';
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
2022-03-02 08:16:31 +05:30
initIntegrationSettingsForm();
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();