Skip to content
代码片段 群组 项目
提交 0ac69077 编辑于 作者: Joshua Lambert's avatar Joshua Lambert 提交者: Achilleas Pipinellis
浏览文件

Fix config option to disable Prometheus

上级 c2d3ea04
No related branches found
No related tags found
无相关合并请求
...@@ -35,10 +35,10 @@ monitoring target for Prometheus, unless individually disabled. ...@@ -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: To disable Prometheus and all of its exporters, as well as any added in the future:
1. Edit `/etc/gitlab/gitlab.rb` 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 ```ruby
prometheus['disable_all'] = true prometheus_monitoring['enable'] = false
``` ```
1. Save the file and [reconfigure GitLab][reconfigure] for the changes to 1. Save the file and [reconfigure GitLab][reconfigure] for the changes to
......
...@@ -162,4 +162,4 @@ about it, check the [Prometheus documentation](../administration/monitoring/prom ...@@ -162,4 +162,4 @@ about it, check the [Prometheus documentation](../administration/monitoring/prom
We support the current and the previous major release of Firefox, Chrome/Chromium, Safari and Microsoft browsers (Microsoft Edge and Internet Explorer 11). We support the current and the previous major release of Firefox, Chrome/Chromium, Safari and Microsoft browsers (Microsoft Edge and Internet Explorer 11).
Each time a new browser version is released, we begin supporting that version and stop supporting the third most recent version. Each time a new browser version is released, we begin supporting that version and stop supporting the third most recent version.
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册