2018-03-17 18:26:18 +05:30
|
|
|
|
%h4
|
|
|
|
|
= s_('PrometheusService|Auto configuration')
|
|
|
|
|
|
|
|
|
|
- if service.manual_configuration?
|
2018-11-08 19:23:39 +05:30
|
|
|
|
.info-well
|
2018-03-17 18:26:18 +05:30
|
|
|
|
= s_('PrometheusService|To enable the installation of Prometheus on your clusters, deactivate the manual configuration below')
|
|
|
|
|
- else
|
|
|
|
|
.container-fluid
|
|
|
|
|
.row
|
2018-12-13 13:39:08 +05:30
|
|
|
|
- if service.prometheus_available?
|
2018-03-17 18:26:18 +05:30
|
|
|
|
.col-sm-2
|
|
|
|
|
.svg-container
|
|
|
|
|
= image_tag 'illustrations/monitoring/getting_started.svg'
|
|
|
|
|
.col-sm-10
|
|
|
|
|
%p.text-success.prepend-top-default
|
|
|
|
|
= s_('PrometheusService|Prometheus is being automatically managed on your clusters')
|
|
|
|
|
= link_to s_('PrometheusService|Manage clusters'), project_clusters_path(project), class: 'btn'
|
|
|
|
|
- else
|
|
|
|
|
.col-sm-2
|
|
|
|
|
= image_tag 'illustrations/monitoring/loading.svg'
|
|
|
|
|
.col-sm-10
|
|
|
|
|
%p.prepend-top-default
|
|
|
|
|
= s_('PrometheusService|Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments')
|
|
|
|
|
= link_to s_('PrometheusService|Install Prometheus on clusters'), project_clusters_path(project), class: 'btn btn-success'
|
|
|
|
|
|
|
|
|
|
%hr
|