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

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

67 lines
3.4 KiB
Text
Raw Normal View History

2021-03-11 19:13:27 +05:30
- add_page_specific_style 'page_bundles/admin/application_settings_metrics_and_profiling'
2018-12-05 23:21:45 +05:30
- 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
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-12-05 23:21:45 +05:30
= _('Metrics - Prometheus')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2022-10-11 01:57:18 +05:30
= _('Monitor GitLab with Prometheus.')
2018-12-05 23:21:45 +05:30
.settings-content
= render 'prometheus'
2019-09-30 21:07:59 +05:30
%section.settings.as-grafana.no-animate#js-grafana-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2019-09-30 21:07:59 +05:30
= _('Metrics - Grafana')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2019-09-30 21:07:59 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-10-27 15:23:28 +05:30
= _('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-09-30 21:07:59 +05:30
.settings-content
= render 'grafana'
2020-10-24 23:57:45 +05:30
%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-12-05 23:21:45 +05:30
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-12-05 23:21:45 +05:30
= _('Profiling - Performance bar')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-10-27 15:23:28 +05:30
= _('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-12-05 23:21:45 +05:30
.settings-content
= render 'performance_bar'
2020-03-13 15:44:24 +05:30
.js-self-monitoring-settings{ data: self_monitoring_project_data }
2021-12-11 22:18:48 +05:30
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'usage_statistics_settings_content' } }
2018-12-05 23:21:45 +05:30
.settings-header#usage-statistics
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2018-12-05 23:21:45 +05:30
= _('Usage statistics')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2021-11-18 22:05:49 +05:30
= _('Enable or disable version check and Service Ping.')
2018-12-05 23:21:45 +05:30
.settings-content
= render 'usage'
2022-07-16 23:28:13 +05:30
- if Feature.enabled?(:configure_sentry_in_application_settings)
2021-12-11 22:18:48 +05:30
%section.settings.as-sentry.no-animate#js-sentry-settings{ class: ('expanded' if expanded_by_default?), data: { qa_selector: 'sentry_settings_content' } }
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2021-12-11 22:18:48 +05:30
= _('Sentry')
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
2021-12-11 22:18:48 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Configure Sentry integration for error tracking')
.settings-content
= render 'sentry'