File: metrics_and_profiling.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (51 lines) | stat: -rw-r--r-- 2,166 bytes parent folder | download
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'