2021-01-26 13:09:30 -05:00
|
|
|
- add_page_specific_style 'page_bundles/admin/application_settings_metrics_and_profiling'
|
|
|
|
|
2018-09-18 04:42:11 -04:00
|
|
|
- breadcrumb_title _("Metrics and profiling")
|
|
|
|
- page_title _("Metrics and profiling")
|
2018-09-04 14:06:57 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
%section.settings.as-prometheus.no-animate#js-prometheus-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Prometheus')
|
2020-11-19 07:09:26 -05:00
|
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
2021-07-27 14:10:54 -04:00
|
|
|
= _('Monitor the health and performance of GitLab with Prometheus.')
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'prometheus'
|
|
|
|
|
2019-07-03 12:09:51 -04:00
|
|
|
%section.settings.as-grafana.no-animate#js-grafana-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Grafana')
|
2020-11-19 07:09:26 -05:00
|
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
2019-07-03 12:09:51 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2021-07-22 05:08:22 -04:00
|
|
|
= _('Link to your Grafana instance.')
|
|
|
|
= link_to s_('Learn more.'), help_page_path('administration/monitoring/performance/grafana_configuration.md'), target: '_blank', rel: 'noopener noreferrer'
|
|
|
|
|
2019-07-03 12:09:51 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'grafana'
|
|
|
|
|
2020-07-21 14:09:45 -04:00
|
|
|
%section.settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'performance_bar_settings_content' } }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Profiling - Performance bar')
|
2020-11-19 07:09:26 -05:00
|
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
2021-07-27 11:09:49 -04:00
|
|
|
= _('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'
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'performance_bar'
|
|
|
|
|
2020-02-14 10:09:08 -05:00
|
|
|
.js-self-monitoring-settings{ data: self_monitoring_project_data }
|
2020-01-14 16:07:45 -05:00
|
|
|
|
2021-11-15 22:13:10 -05:00
|
|
|
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'usage_statistics_settings_content' } }
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-header#usage-statistics
|
|
|
|
%h4
|
|
|
|
= _('Usage statistics')
|
2020-11-19 07:09:26 -05:00
|
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
2018-09-19 06:57:57 -04:00
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
2018-09-04 14:06:57 -04:00
|
|
|
%p
|
2021-10-04 11:12:14 -04:00
|
|
|
= _('Enable or disable version check and Service Ping.')
|
2018-09-04 14:06:57 -04:00
|
|
|
.settings-content
|
|
|
|
= render 'usage'
|
|
|
|
|
2018-09-19 06:57:57 -04:00
|
|
|
= render_if_exists 'admin/application_settings/pseudonymizer_settings', expanded: expanded_by_default?
|
2021-11-08 13:09:52 -05:00
|
|
|
|
|
|
|
- if Feature.enabled?(:configure_sentry_in_application_settings, default_enabled: :yaml)
|
|
|
|
%section.settings.as-sentry.no-animate#js-sentry-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'sentry_settings_content' } }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Sentry')
|
|
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Configure Sentry integration for error tracking')
|
|
|
|
.settings-content
|
|
|
|
= render 'sentry'
|