Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0fc754ae
Commit
0fc754ae
authored
Jun 14, 2021
by
Grant Young
Committed by
Achilleas Pipinellis
Jun 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Monitoring node config in Ref Arch docs
parent
2eb9b6eb
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
143 deletions
+51
-143
doc/administration/monitoring/prometheus/index.md
doc/administration/monitoring/prometheus/index.md
+8
-24
doc/administration/reference_architectures/10k_users.md
doc/administration/reference_architectures/10k_users.md
+7
-19
doc/administration/reference_architectures/25k_users.md
doc/administration/reference_architectures/25k_users.md
+7
-19
doc/administration/reference_architectures/2k_users.md
doc/administration/reference_architectures/2k_users.md
+8
-19
doc/administration/reference_architectures/3k_users.md
doc/administration/reference_architectures/3k_users.md
+7
-19
doc/administration/reference_architectures/50k_users.md
doc/administration/reference_architectures/50k_users.md
+7
-19
doc/administration/reference_architectures/5k_users.md
doc/administration/reference_architectures/5k_users.md
+7
-24
No files found.
doc/administration/monitoring/prometheus/index.md
View file @
0fc754ae
...
...
@@ -122,44 +122,28 @@ The steps below are the minimum necessary to configure a Monitoring node running
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
roles
[
'monitoring_role'
]
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
# Grafana
grafana
[
'enable'
]
=
true
grafana
[
'admin_password'
]
=
'toomanysecrets'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
consul
[
'monitoring_service_discovery'
]
=
true
# The addresses can be IPs or FQDNs
consul
[
'configuration'
]
=
{
retry_join:
%w(10.0.0.1 10.0.0.2 10.0.0.3)
,
retry_join:
%w(10.0.0.1 10.0.0.2 10.0.0.3)
,
# The addresses can be IPs or FQDNs
}
# Disable all other services
gitlab_rails
[
'auto_migrate'
]
=
false
alertmanager
[
'enable'
]
=
false
gitaly
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
# Nginx - For Grafana access
nginx
[
'enable'
]
=
true
postgres_exporter
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
redis_exporter
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
node_exporter
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
```
1.
Run
`sudo gitlab-ctl reconfigure`
to compile the configuration.
...
...
doc/administration/reference_architectures/10k_users.md
View file @
0fc754ae
...
...
@@ -2234,29 +2234,17 @@ To configure the Monitoring node:
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
external_url
'http://gitlab.example.com'
roles
[
'monitoring_role'
]
# Avoid running unnecessary services on the Prometheus server
gitaly
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
alertmanager
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
grafana
[
'enable'
]
=
true
# Grafana
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
...
...
@@ -2265,8 +2253,8 @@ To configure the Monitoring node:
retry_join:
%w(10.6.0.11 10.6.0.12 10.6.0.13)
}
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
...
...
doc/administration/reference_architectures/25k_users.md
View file @
0fc754ae
...
...
@@ -2249,29 +2249,17 @@ To configure the Monitoring node:
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
external_url
'http://gitlab.example.com'
roles
[
'monitoring_role'
]
# Avoid running unnecessary services on the Prometheus server
gitaly
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
alertmanager
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
grafana
[
'enable'
]
=
true
# Grafana
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
...
...
@@ -2280,8 +2268,8 @@ To configure the Monitoring node:
retry_join:
%w(10.6.0.11 10.6.0.12 10.6.0.13)
}
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
...
...
doc/administration/reference_architectures/2k_users.md
View file @
0fc754ae
...
...
@@ -790,32 +790,21 @@ running [Prometheus](../monitoring/prometheus/index.md) and
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
roles
[
'monitoring_role'
]
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
# Grafana
grafana
[
'enable'
]
=
true
grafana
[
'admin_password'
]
=
'toomanysecrets'
# Avoid running unnecessary services on the Prometheus server
gitaly
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
alertmanager
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
Prometheus also needs some scrape configurations to pull all the data from the various
...
...
doc/administration/reference_architectures/3k_users.md
View file @
0fc754ae
...
...
@@ -1943,29 +1943,17 @@ running [Prometheus](../monitoring/prometheus/index.md) and
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
external_url
'http://gitlab.example.com'
roles
[
'monitoring_role'
]
# Avoid running unnecessary services on the Prometheus server
gitaly
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
alertmanager
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
grafana
[
'enable'
]
=
true
# Grafana
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
...
...
@@ -1974,8 +1962,8 @@ running [Prometheus](../monitoring/prometheus/index.md) and
retry_join:
%w(10.6.0.11 10.6.0.12 10.6.0.13)
}
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
...
...
doc/administration/reference_architectures/50k_users.md
View file @
0fc754ae
...
...
@@ -2263,29 +2263,17 @@ To configure the Monitoring node:
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
external_url
'http://gitlab.example.com'
roles
[
'monitoring_role'
]
# Avoid running unnecessary services on the Prometheus server
gitaly
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
alertmanager
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
grafana
[
'enable'
]
=
true
# Grafana
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
...
...
@@ -2294,8 +2282,8 @@ To configure the Monitoring node:
retry_join:
%w(10.6.0.11 10.6.0.12 10.6.0.13)
}
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
...
...
doc/administration/reference_architectures/5k_users.md
View file @
0fc754ae
...
...
@@ -1936,34 +1936,17 @@ running [Prometheus](../monitoring/prometheus/index.md) and
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
external_url
'http://gitlab.example.com'
roles
[
'monitoring_role'
]
# Avoid running unnecessary services on the Prometheus server
alertmanager
[
'enable'
]
=
false
gitaly
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
gitlab_workhorse
[
'enable'
]
=
false
nginx
[
'enable'
]
=
true
postgres_exporter
[
'enable'
]
=
false
postgresql
[
'enable'
]
=
false
redis
[
'enable'
]
=
false
redis_exporter
[
'enable'
]
=
false
sidekiq
[
'enable'
]
=
false
puma
[
'enable'
]
=
false
node_exporter
[
'enable'
]
=
false
gitlab_exporter
[
'enable'
]
=
false
external_url
'http://gitlab.example.com'
# Enable Prometheus
prometheus
[
'enable'
]
=
true
# Prometheus
prometheus
[
'listen_address'
]
=
'0.0.0.0:9090'
prometheus
[
'monitor_kubernetes'
]
=
false
# Enable Login form
grafana
[
'disable_login_form'
]
=
false
# Enable Grafana
grafana
[
'enable'
]
=
true
# Grafana
grafana
[
'admin_password'
]
=
'<grafana_password>'
grafana
[
'disable_login_form'
]
=
false
# Enable service discovery for Prometheus
consul
[
'enable'
]
=
true
...
...
@@ -1972,8 +1955,8 @@ running [Prometheus](../monitoring/prometheus/index.md) and
retry_join:
%w(10.6.0.11 10.6.0.12 10.6.0.13)
}
#
Prevent database migrations from running on upgrade automatically
gitlab_rails
[
'auto_migrate'
]
=
fals
e
#
Nginx - For Grafana access
nginx
[
'enable'
]
=
tru
e
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment