54 lines
2.2 KiB
Text
54 lines
2.2 KiB
Text
- 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')
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable and configure Prometheus metrics.')
|
|
.settings-content
|
|
= render 'prometheus'
|
|
|
|
%section.settings.as-grafana.no-animate#js-grafana-settings{ class: ('expanded' if expanded_by_default?) }
|
|
.settings-header
|
|
%h4
|
|
= _('Metrics - Grafana')
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable and configure Grafana.')
|
|
.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
|
|
= _('Profiling - Performance bar')
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable access to the Performance Bar for a given group.')
|
|
= link_to sprite_icon('question-o'), help_page_path('administration/monitoring/performance/performance_bar')
|
|
.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?) }
|
|
.settings-header#usage-statistics
|
|
%h4
|
|
= _('Usage statistics')
|
|
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
%p
|
|
= _('Enable or disable version check and usage ping.')
|
|
.settings-content
|
|
= render 'usage'
|
|
|
|
= render_if_exists 'admin/application_settings/seat_link_setting', expanded: expanded_by_default?
|
|
|
|
= render_if_exists 'admin/application_settings/pseudonymizer_settings', expanded: expanded_by_default?
|