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

57 lines
2.3 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
%h4
= _('Metrics - Prometheus')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Enable and configure Prometheus metrics.')
.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
%h4
= _('Metrics - Grafana')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2019-09-30 21:07:59 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Enable and configure Grafana.')
.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
%h4
= _('Profiling - Performance bar')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
2019-09-04 21:01:54 +05:30
= _('Enable access to the Performance Bar for a given group.')
2020-11-24 15:15:51 +05:30
= link_to sprite_icon('question-o'), help_page_path('administration/monitoring/performance/performance_bar')
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 }
2018-12-05 23:21:45 +05:30
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header#usage-statistics
%h4
= _('Usage statistics')
2021-02-22 17:27:13 +05:30
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
2018-12-05 23:21:45 +05:30
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Enable or disable version check and usage ping.')
.settings-content
= render 'usage'
2020-04-08 14:13:33 +05:30
= render_if_exists 'admin/application_settings/seat_link_setting', expanded: expanded_by_default?
2018-12-05 23:21:45 +05:30
= render_if_exists 'admin/application_settings/pseudonymizer_settings', expanded: expanded_by_default?