Commit d786bce0 authored by Matthias Käppler's avatar Matthias Käppler

Merge branch '296022-remove-promtheus-configs' into 'master'

Drop deprecated prometheus settings in gitlab.yml

See merge request gitlab-org/gitlab!64264
parents 6fb4fb2e 0e3e4062
......@@ -917,13 +917,8 @@ Settings.monitoring.web_exporter['port'] ||= 8083
# Prometheus settings
#
Settings['prometheus'] ||= Settingslogic.new({})
# TODO: Remove listen_address and enable in GitLab 14.0 and set default value
# of server_address to be nil and enabled to be false -
# https://gitlab.com/gitlab-org/gitlab/-/issues/296022
Settings.prometheus['enable'] ||= false
Settings.prometheus['listen_address'] ||= nil
Settings.prometheus['enabled'] = Settings.prometheus['enable'] if Settings.prometheus['enabled'].nil?
Settings.prometheus['server_address'] ||= Settings.prometheus['listen_address']
Settings.prometheus['enabled'] ||= false
Settings.prometheus['server_address'] ||= nil
#
# Shutdown settings
......
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