Consider existing installations where the setting is not in gitlab.rb
[ci skip]
This commit is contained in:
parent
52313cfb14
commit
6ad9916833
|
@ -10,7 +10,7 @@ To enable the GitLab monitor exporter:
|
||||||
|
|
||||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||||
1. Edit `/etc/gitlab/gitlab.rb`
|
1. Edit `/etc/gitlab/gitlab.rb`
|
||||||
1. Find and uncomment the following line, making sure it's set to `true`:
|
1. Add or find and uncomment the following line, making sure it's set to `true`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gitlab_monitor_exporter['enable'] = true
|
gitlab_monitor_exporter['enable'] = true
|
||||||
|
|
|
@ -32,7 +32,7 @@ have to install and configure it yourself.
|
||||||
To enable Prometheus:
|
To enable Prometheus:
|
||||||
|
|
||||||
1. Edit `/etc/gitlab/gitlab.rb`
|
1. Edit `/etc/gitlab/gitlab.rb`
|
||||||
1. Find and uncomment the following line, making sure it's set to `true`:
|
1. Add or find and uncomment the following line, making sure it's set to `true`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
prometheus['enable'] = true
|
prometheus['enable'] = true
|
||||||
|
@ -57,7 +57,7 @@ server. Proceed at your own risk.
|
||||||
To change the address/port that Prometheus listens on:
|
To change the address/port that Prometheus listens on:
|
||||||
|
|
||||||
1. Edit `/etc/gitlab/gitlab.rb`
|
1. Edit `/etc/gitlab/gitlab.rb`
|
||||||
1. Find and add/uncomment the following line:
|
1. Add or find and uncomment the following line:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
prometheus['listen_address'] = 'localhost:9090'
|
prometheus['listen_address'] = 'localhost:9090'
|
||||||
|
|
|
@ -11,7 +11,7 @@ To enable the node exporter:
|
||||||
|
|
||||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||||
1. Edit `/etc/gitlab/gitlab.rb`
|
1. Edit `/etc/gitlab/gitlab.rb`
|
||||||
1. Find and uncomment the following line, making sure it's set to `true`:
|
1. Add or find and uncomment the following line, making sure it's set to `true`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
node_exporter['enable'] = true
|
node_exporter['enable'] = true
|
||||||
|
|
|
@ -11,7 +11,7 @@ To enable the Redis exporter:
|
||||||
|
|
||||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||||
1. Edit `/etc/gitlab/gitlab.rb`
|
1. Edit `/etc/gitlab/gitlab.rb`
|
||||||
1. Find and uncomment the following line, making sure it's set to `true`:
|
1. Add or find and uncomment the following line, making sure it's set to `true`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
redis_exporter['enable'] = true
|
redis_exporter['enable'] = true
|
||||||
|
|
Loading…
Reference in New Issue