diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-07-16 19:20:43 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-16 19:20:43 +0000 |
commit | 0d84010d1c374fe3cfdbc3b067e4502e56b6a8b3 (patch) | |
tree | 9e7a5e3c403383d206c77ecc4167983b2ad05ba0 /config | |
parent | 58d220bd66fc60cc05b4197328015a7be5593147 (diff) | |
download | gitlab-ce-0d84010d1c374fe3cfdbc3b067e4502e56b6a8b3.tar.gz |
Don't use transactions and exceptions
Instead return error objects.
Diffstat (limited to 'config')
-rw-r--r-- | config/gitlab.yml.example | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 334c241bcaa..0e78980350f 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -952,6 +952,16 @@ production: &base # address: localhost # port: 3807 + ## Prometheus settings + # Do not modify these settings here. They should be modified in /etc/gitlab/gitlab.rb + # if you installed GitLab via Omnibus. + # If you installed from source, you need to install and configure Prometheus + # yourself, and then update the values here. + # https://docs.gitlab.com/ee/administration/monitoring/prometheus/ + prometheus: + # enable: true + # listen_address: 'localhost:9090' + # # 5. Extra customization # ========================== @@ -1158,6 +1168,9 @@ test: user_filter: '' group_base: 'ou=groups,dc=example,dc=com' admin_group: '' + prometheus: + enable: true + listen_address: 'localhost:9090' staging: <<: *base |