Merge branch 'nathan.jones/gitlab-ce-patch-24' into 'master'
Update index.md to describe leaving out the host in prometheus['listen_address']… See merge request gitlab-org/gitlab-ce!18207
This commit is contained in:
commit
6cad73439b
|
@ -62,7 +62,14 @@ To change the address/port that Prometheus listens on:
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace `localhost:9090` with the address/port you want Prometheus to
|
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
|
1. Save the file and [reconfigure GitLab][reconfigure] for the changes to
|
||||||
take effect
|
take effect
|
||||||
|
|
Loading…
Reference in New Issue