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 ...@@ -917,13 +917,8 @@ Settings.monitoring.web_exporter['port'] ||= 8083
# Prometheus settings # Prometheus settings
# #
Settings['prometheus'] ||= Settingslogic.new({}) Settings['prometheus'] ||= Settingslogic.new({})
# TODO: Remove listen_address and enable in GitLab 14.0 and set default value Settings.prometheus['enabled'] ||= false
# of server_address to be nil and enabled to be false - Settings.prometheus['server_address'] ||= nil
# 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']
# #
# Shutdown settings # 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