diff options
author | Maneschi Romain <rmaneschi@gmail.com> | 2019-07-03 19:09:51 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-07-03 19:09:51 +0300 |
commit | def94f5043abe57f453094fa570407e5b806c48a (patch) | |
tree | a96016ceab428c70f55da9fd173b224259388ed0 /lib/api | |
parent | 6359a1fabdca65af1c1a514fda44a32bbfe5c4ec (diff) |
Add Grafana to Admin > Monitoring menu when enabled
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/settings.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb index 3c5c1a9fd5f..4275d911708 100644 --- a/lib/api/settings.rb +++ b/lib/api/settings.rb @@ -55,6 +55,8 @@ module API optional :gitaly_timeout_default, type: Integer, desc: 'Default Gitaly timeout, in seconds. Set to 0 to disable timeouts.' optional :gitaly_timeout_fast, type: Integer, desc: 'Gitaly fast operation timeout, in seconds. Set to 0 to disable timeouts.' optional :gitaly_timeout_medium, type: Integer, desc: 'Medium Gitaly timeout, in seconds. Set to 0 to disable timeouts.' + optional :grafana_enabled, type: Boolean, desc: 'Enable Grafana' + optional :grafana_url, type: String, desc: 'Grafana URL' optional :gravatar_enabled, type: Boolean, desc: 'Flag indicating if the Gravatar service is enabled' optional :help_page_hide_commercial_content, type: Boolean, desc: 'Hide marketing-related entries from help' optional :help_page_support_url, type: String, desc: 'Alternate support URL for help page' |