Commit b4ce0ed1 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'tr-prometheus-metrics-dom-content-loaded' into 'master'

Move metrics initialization out of DOMContentLoaded

See merge request gitlab-org/gitlab!52293
parents 0834be2c 145ae186
import customMetrics from '~/custom_metrics'; import CustomMetrics from '~/custom_metrics';
document.addEventListener('DOMContentLoaded', customMetrics); CustomMetrics();
import customMetrics from '~/custom_metrics'; import CustomMetrics from '~/custom_metrics';
document.addEventListener('DOMContentLoaded', customMetrics); CustomMetrics();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment