diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-19 09:10:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-19 09:10:02 +0300 |
commit | af685f7e44d974c8b2035be1895fa4c0f6fb0c5f (patch) | |
tree | e50336d27400e7f7535c7314c4b02ad404092c33 /doc/administration/monitoring | |
parent | 3d55900e199196acad61446dc358aabd24cab7e8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/monitoring')
-rw-r--r-- | doc/administration/monitoring/prometheus/index.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/administration/monitoring/prometheus/index.md b/doc/administration/monitoring/prometheus/index.md index dec4b92b03c..0e8315e528a 100644 --- a/doc/administration/monitoring/prometheus/index.md +++ b/doc/administration/monitoring/prometheus/index.md @@ -231,6 +231,17 @@ To use an external Prometheus server: } ``` + You can also specify more than one IP address if you have multiple Prometheus servers: + + ```ruby + nginx['status']['options'] = { + "server_tokens" => "off", + "access_log" => "off", + "allow" => ["192.168.0.1", "192.168.0.2"] + "deny" => "all", + } + ``` + 1. To allow the Prometheus server to fetch from the [GitLab metrics](#gitlab-metrics) endpoint, add the Prometheus server IP address to the [monitoring IP allowlist](../ip_allowlist.md): |