2019-02-20 11:56:19 -05:00
= form_for @application_setting, url: reporting_admin_application_settings_path(anchor: 'js-logging-settings'), html: { class: 'fieldset-form' } do |f|
2018-03-30 04:26:04 -04:00
= form_errors(@application_setting)
2019-04-07 15:21:52 -04:00
%p
%strong
NOTE:
These settings will be removed from the UI in a GitLab 12.0 release and made available within gitlab.yml.
In addition, you will be able to define a Sentry Environment to differentiate between multiple deployments. For example, development, staging, and production.
2018-03-30 04:26:04 -04:00
%fieldset
2018-06-13 03:40:55 -04:00
.form-group
.form-check
= f.check_box :sentry_enabled, class: 'form-check-input'
= f.label :sentry_enabled, class: 'form-check-label' do
Enable Sentry
.form-text.text-muted
%p This setting requires a restart to take effect.
Sentry is an error reporting and logging tool which is currently not shipped with GitLab, get it here:
%a{ href: 'https://getsentry.com', target: '_blank', rel: 'noopener noreferrer' } https://getsentry.com
2018-03-30 04:26:04 -04:00
2018-06-13 03:40:55 -04:00
.form-group
2018-07-19 18:11:31 -04:00
= f.label :sentry_dsn, 'Sentry DSN', class: 'label-bold'
2018-06-13 03:40:55 -04:00
= f.text_field :sentry_dsn, class: 'form-control'
2018-03-30 04:26:04 -04:00
2018-06-13 03:40:55 -04:00
.form-group
.form-check
= f.check_box :clientside_sentry_enabled, class: 'form-check-input'
= f.label :clientside_sentry_enabled, class: 'form-check-label' do
Enable Clientside Sentry
.form-text.text-muted
Sentry can also be used for reporting and logging clientside exceptions.
%a{ href: 'https://sentry.io/for/javascript/', target: '_blank', rel: 'noopener noreferrer' } https://sentry.io/for/javascript/
2018-03-30 04:26:04 -04:00
2018-06-13 03:40:55 -04:00
.form-group
2018-07-19 18:11:31 -04:00
= f.label :clientside_sentry_dsn, 'Clientside Sentry DSN', class: 'label-bold'
2018-06-13 03:40:55 -04:00
= f.text_field :clientside_sentry_dsn, class: 'form-control'
2018-03-30 04:26:04 -04:00
= f.submit 'Save changes', class: "btn btn-success"