summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_health.html.haml
blob: 9e7820d3136639dcde226623dd06131ae68bdacf (plain)
1
2
3
4
5
6
7
8
- add_page_specific_style 'page_bundles/prometheus'

%section.settings.no-animate.expanded.cluster-health-graphs#cluster-health
  - if @cluster&.integration_prometheus_available?
    #prometheus-graphs{ data: @cluster.health_data(clusterable) }

  - else
    %p.settings-message.text-center= s_("ClusterIntegration|In order to view the health of your cluster, you must first enable Prometheus in the Integrations tab.")