summaryrefslogtreecommitdiff
path: root/doc/administration
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-03-16 22:06:47 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-03-16 22:06:47 +0000
commit0ac690778c69f0fc0237b0314a835e078848cecb (patch)
tree4b55f11dc32b371fb32b131575ef99e34dc106e1 /doc/administration
parentc2d3ea04f6a4b6393cc1cb3c44ffa21f0cee1e51 (diff)
downloadgitlab-ce-0ac690778c69f0fc0237b0314a835e078848cecb.tar.gz
Fix config option to disable Prometheus
Diffstat (limited to 'doc/administration')
-rw-r--r--doc/administration/monitoring/prometheus/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/monitoring/prometheus/index.md b/doc/administration/monitoring/prometheus/index.md
index 2a690dd28d4..69b16b7c483 100644
--- a/doc/administration/monitoring/prometheus/index.md
+++ b/doc/administration/monitoring/prometheus/index.md
@@ -35,10 +35,10 @@ monitoring target for Prometheus, unless individually disabled.
To disable Prometheus and all of its exporters, as well as any added in the future:
1. Edit `/etc/gitlab/gitlab.rb`
-1. Add or 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 `false`:
```ruby
- prometheus['disable_all'] = true
+ prometheus_monitoring['enable'] = false
```
1. Save the file and [reconfigure GitLab][reconfigure] for the changes to