11 lines
449 B
JavaScript
11 lines
449 B
JavaScript
import initIntegrationSettingsForm from '~/integrations/edit';
|
|
import CustomMetrics from '~/prometheus_metrics/custom_metrics';
|
|
|
|
initIntegrationSettingsForm();
|
|
|
|
const prometheusSettingsSelector = '.js-prometheus-metrics-monitoring';
|
|
const prometheusSettingsWrapper = document.querySelector(prometheusSettingsSelector);
|
|
if (prometheusSettingsWrapper) {
|
|
const customMetrics = new CustomMetrics(prometheusSettingsSelector);
|
|
customMetrics.init();
|
|
}
|