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-influx.no-animate#js-influx-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Influx')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Enable and configure InfluxDB metrics.')
|
|
|
|
.settings-content
|
|
|
|
= render 'influx'
|
|
|
|
|
|
|
|
%section.settings.as-prometheus.no-animate#js-prometheus-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Metrics - Prometheus')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= 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')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
|
|
|
= _('Enable and configure Grafana.')
|
|
|
|
.settings-content
|
|
|
|
= render 'grafana'
|
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
%section.settings.qa-performance-bar-settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded_by_default?) }
|
2018-12-05 23:21:45 +05:30
|
|
|
.settings-header
|
|
|
|
%h4
|
|
|
|
= _('Profiling - Performance bar')
|
|
|
|
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
|
|
|
|
= expanded_by_default? ? _('Collapse') : _('Expand')
|
|
|
|
%p
|
2019-09-04 21:01:54 +05:30
|
|
|
= _('Enable access to the Performance Bar for a given group.')
|
2018-12-05 23:21:45 +05:30
|
|
|
= link_to icon('question-circle'), help_page_path('administration/monitoring/performance/performance_bar')
|
|
|
|
.settings-content
|
|
|
|
= render 'performance_bar'
|
|
|
|
|
|
|
|
%section.settings.as-usage.no-animate#js-usage-settings{ class: ('expanded' if expanded_by_default?) }
|
|
|
|
.settings-header#usage-statistics
|
|
|
|
%h4
|
|
|
|
= _('Usage statistics')
|
|
|
|
%button.btn.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/pseudonymizer_settings', expanded: expanded_by_default?
|