66 lines
3.4 KiB
Text
66 lines
3.4 KiB
Text
- add_page_specific_style 'page_bundles/admin/application_settings_metrics_and_profiling'
|
|
|
|
- breadcrumb_title _("Metrics and profiling")
|
|
- page_title _("Metrics and profiling")
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
|
|
|
%section.settings.as-prometheus.no-animate#js-prometheus-settings{ class: ('expanded' if expanded_by_default?) }
|
|
.settings-header
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
|
|
= _('Metrics - Prometheus')
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Monitor GitLab with Prometheus.')
|
|
.settings-content
|
|
= render 'prometheus'
|
|
|
|
%section.settings.as-grafana.no-animate#js-grafana-settings{ class: ('expanded' if expanded_by_default?) }
|
|
.settings-header
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
|
|
= _('Metrics - Grafana')
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Link to your Grafana instance.')
|
|
= link_to s_('Learn more.'), help_page_path('administration/monitoring/performance/grafana_configuration.md'), target: '_blank', rel: 'noopener noreferrer'
|
|
|
|
.settings-content
|
|
= render 'grafana'
|
|
|
|
%section.settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'performance_bar_settings_content' } }
|
|
.settings-header
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
|
|
= _('Profiling - Performance bar')
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable access to the performance bar for non-administrators in a given group.')
|
|
= link_to s_('Learn more.'), help_page_path('administration/monitoring/performance/performance_bar.md', anchor: 'enable-the-performance-bar-for-non-administrators'), target: '_blank', rel: 'noopener noreferrer'
|
|
.settings-content
|
|
= render 'performance_bar'
|
|
|
|
.js-self-monitoring-settings{ data: self_monitoring_project_data }
|
|
|
|
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'usage_statistics_settings_content' } }
|
|
.settings-header#usage-statistics
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
|
|
= _('Usage statistics')
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable or disable version check and Service Ping.')
|
|
.settings-content
|
|
= render 'usage'
|
|
|
|
- if Feature.enabled?(:configure_sentry_in_application_settings)
|
|
%section.settings.as-sentry.no-animate#js-sentry-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'sentry_settings_content' } }
|
|
.settings-header
|
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
|
|
= _('Sentry')
|
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Configure Sentry integration for error tracking')
|
|
.settings-content
|
|
= render 'sentry'
|