1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
- breadcrumb_title _("Metrics and profiling")
- page_title _("Metrics and profiling")
- add_page_specific_style 'page_bundles/settings'
- @force_desktop_expanded_sidebar = true
%div{ data: { event_tracking_load: 'true', event_tracking: 'view_admin_application_settings_metrics_and_profiling_pageload' } }
= render ::Layouts::SettingsBlockComponent.new(_('Metrics - Prometheus'),
id: 'js-prometheus-settings',
testid: 'prometheus-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Monitor GitLab with Prometheus.')
- c.with_body do
= render 'prometheus'
= render ::Layouts::SettingsBlockComponent.new(_('Metrics - Grafana'),
id: 'js-grafana-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Link to your Grafana instance.')
= link_to _('Learn more.'), help_page_path('administration/monitoring/performance/grafana_configuration.md'), target: '_blank', rel: 'noopener noreferrer'
- c.with_body do
= render 'grafana'
= render ::Layouts::SettingsBlockComponent.new(_('Profiling - Performance bar'),
id: 'js-performance-bar-settings',
testid: 'performance-bar-settings-content',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Enable access to the performance bar for non-administrators in a given group.')
= link_to _('Learn more.'), help_page_path('administration/monitoring/performance/performance_bar.md', anchor: 'enable-the-performance-bar-for-non-administrators'), target: '_blank', rel: 'noopener noreferrer'
- c.with_body do
= render 'performance_bar'
= render ::Layouts::SettingsBlockComponent.new(_('Usage statistics'),
id: 'js-usage-settings',
testid: 'usage-statistics-settings-content',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Enable or disable version check and Service Ping.')
- c.with_body do
= render 'usage'
= render ::Layouts::SettingsBlockComponent.new(_('Sentry'),
id: 'js-sentry-settings',
expanded: expanded_by_default?) do |c|
- c.with_description do
= _('Configure Sentry integration for error tracking')
- c.with_body do
= render 'sentry'
|