metrics_and_profiling.html.haml 2.43 KB
Newer Older
Martin Wortschack's avatar
Martin Wortschack committed
1 2
- breadcrumb_title _("Metrics and profiling")
- page_title _("Metrics and profiling")
3 4
- @content_class = "limit-container-width" unless fluid_layout

5
%section.settings.as-influx.no-animate#js-influx-settings{ class: ('expanded' if expanded_by_default?) }
6 7 8 9
  .settings-header
    %h4
      = _('Metrics - Influx')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
10
      = expanded_by_default? ? _('Collapse') : _('Expand')
11 12 13 14 15
    %p
      = _('Enable and configure InfluxDB metrics.')
  .settings-content
    = render 'influx'

16
%section.settings.as-prometheus.no-animate#js-prometheus-settings{ class: ('expanded' if expanded_by_default?) }
17 18 19 20
  .settings-header
    %h4
      = _('Metrics - Prometheus')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
21
      = expanded_by_default? ? _('Collapse') : _('Expand')
22 23 24 25 26
    %p
      = _('Enable and configure Prometheus metrics.')
  .settings-content
    = render 'prometheus'

27 28 29 30 31 32 33 34 35 36 37
%section.settings.as-grafana.no-animate#js-grafana-settings{ class: ('expanded' if expanded_by_default?) }
  .settings-header
    %h4
      = _('Metrics - Grafana')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
      = expanded_by_default? ? _('Collapse') : _('Expand')
    %p
      = _('Enable and configure Grafana.')
  .settings-content
    = render 'grafana'

38
%section.settings.qa-performance-bar-settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded_by_default?) }
39 40 41 42
  .settings-header
    %h4
      = _('Profiling - Performance bar')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
43
      = expanded_by_default? ? _('Collapse') : _('Expand')
44
    %p
45
      = _('Enable access to the Performance Bar for a given group.')
46 47 48 49
      = link_to icon('question-circle'), help_page_path('administration/monitoring/performance/performance_bar')
  .settings-content
    = render 'performance_bar'

50
.js-self-monitoring-settings{ data: self_monitoring_project_data }
51

52
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?) }
53 54 55 56
  .settings-header#usage-statistics
    %h4
      = _('Usage statistics')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
57
      = expanded_by_default? ? _('Collapse') : _('Expand')
58 59 60 61 62
    %p
      = _('Enable or disable version check and usage ping.')
  .settings-content
    = render 'usage'

63
= render_if_exists 'admin/application_settings/pseudonymizer_settings', expanded: expanded_by_default?