summaryrefslogtreecommitdiff
path: root/app/views/projects/services/prometheus/_help.html.haml
blob: c38b7283c95187d68e625e0639b5237e70c7e463 (plain)
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
%h4
  Auto configuration

- unless @service.manual_configuration?
  .container-fluid
    .row
      - if @service.prometheus_installed?
        .col-sm-2
          .svg-container
            = image_tag 'illustrations/monitoring/getting_started.svg'
        .col-sm-10
          %p.text-success.prepend-top-default
            Prometheus is being automatically managed on your clusters
          = link_to '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
            Automatically deploy and configure Prometheus on your clusters to monitor your project’s environments
          = link_to 'Install Prometheus on clusters', project_clusters_path(@project), class: 'btn btn-success'
- else
  .well
    To enable the installation of Prometheus on your clusters, deactivate the manual configuration below

%hr

%h4.append-bottom-default
  Manual configuration

- unless @service.editable?
  .well
    To enable manual configuration, uninstall Prometheus from your clusters