]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / prometheus / active-alert-list / active-alert-list.component.html
index e9ad6760a897731aacdf8470466aa0e1e127bc0f..278bc4ddc460cc58e8157187bd0689b83f86b1da 100644 (file)
@@ -1,4 +1,13 @@
-<cd-table [data]="prometheusAlertService.alerts"
+<cd-prometheus-tabs></cd-prometheus-tabs>
+
+<cd-alert-panel *ngIf="!isAlertmanagerConfigured"
+                type="info"
+                i18n>To see all active Prometheus alerts, please provide
+  the URL to the API of Prometheus' Alertmanager as described
+  in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
+
+<cd-table *ngIf="isAlertmanagerConfigured"
+          [data]="prometheusAlertService.alerts"
           [columns]="columns"
           identifier="fingerprint"
           [forceIdentifier]="true"