debian-mirror-gitlab/app/views/admin/application_settings/_sentry.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
1.1 KiB
Text
Raw Normal View History

2022-06-21 17:19:12 +05:30
= gitlab_ui_form_for @application_setting, url: metrics_and_profiling_admin_application_settings_path(anchor: 'js-sentry-settings'), html: { class: 'fieldset-form', id: 'sentry-settings' } do |f|
2022-10-11 01:57:18 +05:30
= form_errors(@application_setting)
2021-12-11 22:18:48 +05:30
%span.text-muted
= _('Changing any setting here requires an application restart')
%fieldset
.form-group
2022-06-21 17:19:12 +05:30
= f.gitlab_ui_checkbox_component :sentry_enabled, _('Enable Sentry error tracking')
2021-12-11 22:18:48 +05:30
.form-group
= f.label :sentry_dsn, _('DSN'), class: 'label-light'
= f.text_field :sentry_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/1'
.form-group
= f.label :sentry_clientside_dsn, _('Clientside DSN'), class: 'label-light'
= f.text_field :sentry_clientside_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/2'
.form-group
= f.label :sentry_environment, _('Environment'), class: 'label-light'
= f.text_field :sentry_environment, class: 'form-control gl-form-input', placeholder: Rails.env
2022-11-25 23:54:43 +05:30
= f.submit _('Save changes'), pajamas_button: true