diff options
author | Maneschi Romain <rmaneschi@gmail.com> | 2019-07-03 19:09:51 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-07-03 19:09:51 +0300 |
commit | def94f5043abe57f453094fa570407e5b806c48a (patch) | |
tree | a96016ceab428c70f55da9fd173b224259388ed0 /app/views/admin/application_settings/metrics_and_profiling.html.haml | |
parent | 6359a1fabdca65af1c1a514fda44a32bbfe5c4ec (diff) |
Add Grafana to Admin > Monitoring menu when enabled
Diffstat (limited to 'app/views/admin/application_settings/metrics_and_profiling.html.haml')
-rw-r--r-- | app/views/admin/application_settings/metrics_and_profiling.html.haml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/metrics_and_profiling.html.haml b/app/views/admin/application_settings/metrics_and_profiling.html.haml index 01d61beaf53..55a48da8342 100644 --- a/app/views/admin/application_settings/metrics_and_profiling.html.haml +++ b/app/views/admin/application_settings/metrics_and_profiling.html.haml @@ -24,6 +24,17 @@ .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.btn-default.js-settings-toggle{ type: 'button' } + = expanded_by_default? ? _('Collapse') : _('Expand') + %p + = _('Enable and configure Grafana.') + .settings-content + = render 'grafana' + %section.settings.qa-performance-bar-settings.as-performance-bar.no-animate#js-performance-bar-settings{ class: ('expanded' if expanded_by_default?) } .settings-header %h4 |