summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-18 17:15:10 +0100
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2016-01-18 17:15:10 +0100
commit85e0fce9eee4f20c6c627209828f7351ab0aedae (patch)
treebe370c396b49d7be4d96ccaf48d4bca2592e4ab7 /app/views/admin
parentf603f3b30bcd4303f07f87a0c6fa60697b2775fd (diff)
downloadgitlab-ce-85e0fce9eee4f20c6c627209828f7351ab0aedae.tar.gz
Add sentry integration
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/application_settings/_form.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 83f6814d822..35af5cf620a 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -232,5 +232,22 @@
.col-sm-10
= f.text_field :recaptcha_private_key, class: 'form-control'
+ %fieldset
+ %legend Error Reporting and Logging
+ %p
+ These settings require a restart to take effect.
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ .checkbox
+ = f.label :sentry_enabled do
+ = f.check_box :sentry_enabled
+ Enable Sentry
+ %span.help-block#sentry_help_block Sentry is an error reporting and logging tool
+
+ .form-group
+ = f.label :sentry_dsn, 'Sentry DSN', class: 'control-label col-sm-2'
+ .col-sm-10
+ = f.text_field :sentry_dsn, class: 'form-control'
+
.form-actions
= f.submit 'Save', class: 'btn btn-primary'