Deprecate prometheus.listen_address and prometheus.enable
What does this MR do?
- Replace
prometheus.enable
withprometheus.enabled
to be consistent with other settings. - Replace
prometheus.listen_address
withprometheus.server_address
to be accurate on what it does.
Towards #227111
Changes
-
Gitlab::Prometheus::Internal.server_address
usage got put in the only place where it is used. -
Gitlab::Prometheus::Internal.listen_address
becameGitlab::Prometheus::Internal.server_address
. -
Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.prometheus_listen_address
becameGitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.prometheus_server_address
. -
Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.internal_prometheus_listen_address_uri
becameGitlab::DatabaseImporters::SelfMonitoring::Project::CreateService.internal_prometheus_server_address_uri
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
Edited by Peter Leitzen