mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Consider existing installations where the setting is not in gitlab.rb
[ci skip]
This commit is contained in:
@ -10,7 +10,7 @@ To enable the GitLab monitor exporter:
|
||||
|
||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||
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
|
||||
gitlab_monitor_exporter['enable'] = true
|
||||
|
@ -32,7 +32,7 @@ have to install and configure it yourself.
|
||||
To enable Prometheus:
|
||||
|
||||
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
|
||||
prometheus['enable'] = true
|
||||
@ -57,7 +57,7 @@ server. Proceed at your own risk.
|
||||
To change the address/port that Prometheus listens on:
|
||||
|
||||
1. Edit `/etc/gitlab/gitlab.rb`
|
||||
1. Find and add/uncomment the following line:
|
||||
1. Add or find and uncomment the following line:
|
||||
|
||||
```ruby
|
||||
prometheus['listen_address'] = 'localhost:9090'
|
||||
|
@ -11,7 +11,7 @@ To enable the node exporter:
|
||||
|
||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||
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
|
||||
node_exporter['enable'] = true
|
||||
|
@ -11,7 +11,7 @@ To enable the Redis exporter:
|
||||
|
||||
1. [Enable Prometheus](index.md#configuring-prometheus)
|
||||
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
|
||||
redis_exporter['enable'] = true
|
||||
|
Reference in New Issue
Block a user