Move Prometheus metrics toggle setting from ApplicationSettings to gitlab.yml

gitlab.yml is a more suited place to control toggling of Prometheus metrics from..

  • It can be easily enabled/disabled from Omnibus
  • Can be enabled on per host basis
  • Allows metrics code to be run before ApplicationSettings are loaded, allowing ApplicationSettings themselves to be measured.

/cc: @bjk-gitlab @DouweM

Assignee Loading
Time tracking Loading