summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Jones <nathan.jones@ironmail.org>2017-07-10 23:33:08 +0000
committerRémy Coutable <remy@rymai.me>2018-04-05 18:38:29 +0200
commit33c163b347ca37ae91240be40a05c881c89c7135 (patch)
tree04326c8f7e3dfe1a36a883a95746add179e15a8d
parent38bf19222487272ff301dcef7f16eb759f48d352 (diff)
downloadgitlab-ce-nathan.jones/gitlab-ce-patch-24.tar.gz
Update index.md to describe leaving out the host in prometheus['listen_address'] to allow public access.nathan.jones/gitlab-ce-patch-24
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--doc/administration/monitoring/prometheus/index.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/administration/monitoring/prometheus/index.md b/doc/administration/monitoring/prometheus/index.md
index f43c89dad87..3d24812c66a 100644
--- a/doc/administration/monitoring/prometheus/index.md
+++ b/doc/administration/monitoring/prometheus/index.md
@@ -62,7 +62,14 @@ To change the address/port that Prometheus listens on:
```
Replace `localhost:9090` with the address/port you want Prometheus to
- listen on.
+ listen on. If you would like to allow access to Prometheus to hosts other
+ than `localhost`, leave out the host, or use `0.0.0.0` to allow public access:
+
+ ```ruby
+ prometheus['listen_address'] = ':9090'
+ # or
+ prometheus['listen_address'] = '0.0.0.0:9090'
+ ```
1. Save the file and [reconfigure GitLab][reconfigure] for the changes to
take effect