Skip to content

Add a comment that prometheus server can be FQDN or IP address

Christopher Mutua requested to merge docs-cmutua-prometheus-fqdn into master

What does this MR do and why?

A customer had reached out to ask if they can use the FQDN for the gitlab_rails['prometheus_address'] option, and after testing, I have confirmed that it is possible.

Zendesk Ticket - internal only

Steps to reproduce:

Set up an external prometheus server: https://docs.gitlab.com/ee/administration/monitoring/prometheus/#using-an-external-prometheus-server

On the rails node (and sidekiq nodes), set the gitlab_rails['prometheus_address'] option to the FQDN/hostname of the external prometheus server. All configured metrics will be successfully sent to prometheus, just as it would have happened using an IP address.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports