debian-mirror-gitlab/app/assets/javascripts/pages/admin/integrations/edit/index.js

12 lines
482 B
JavaScript
Raw Normal View History

2022-01-26 12:08:38 +05:30
import initIntegrationSettingsForm from '~/integrations/edit';
2020-04-08 14:13:33 +05:30
import PrometheusMetrics from '~/prometheus_metrics/prometheus_metrics';
2022-03-02 08:16:31 +05:30
initIntegrationSettingsForm();
2020-04-08 14:13:33 +05:30
2022-01-26 12:08:38 +05:30
const prometheusSettingsSelector = '.js-prometheus-metrics-monitoring';
const prometheusSettingsWrapper = document.querySelector(prometheusSettingsSelector);
if (prometheusSettingsWrapper) {
const prometheusMetrics = new PrometheusMetrics(prometheusSettingsSelector);
prometheusMetrics.loadActiveMetrics();
2021-09-30 23:02:18 +05:30
}