]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html
278bc4ddc460cc58e8157187bd0689b83f86b1da
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / prometheus / active-alert-list / active-alert-list.component.html
1 <cd-prometheus-tabs></cd-prometheus-tabs>
2
3 <cd-alert-panel *ngIf="!isAlertmanagerConfigured"
4 type="info"
5 i18n>To see all active Prometheus alerts, please provide
6 the URL to the API of Prometheus' Alertmanager as described
7 in the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
8
9 <cd-table *ngIf="isAlertmanagerConfigured"
10 [data]="prometheusAlertService.alerts"
11 [columns]="columns"
12 identifier="fingerprint"
13 [forceIdentifier]="true"
14 [customCss]="customCss"
15 selectionType="single"
16 [hasDetails]="true"
17 (setExpandedRow)="setExpandedRow($event)"
18 (updateSelection)="updateSelection($event)">
19 <cd-table-actions class="table-actions"
20 [permission]="permission"
21 [selection]="selection"
22 [tableActions]="tableActions">
23 </cd-table-actions>
24
25 <cd-table-key-value cdTableDetail
26 *ngIf="expandedRow"
27 [renderObjects]="true"
28 [hideEmpty]="true"
29 [appendParentKey]="false"
30 [data]="expandedRow"
31 [customCss]="customCss"
32 [autoReload]="false">
33 </cd-table-key-value>
34 </cd-table>
35
36 <ng-template #externalLinkTpl
37 let-row="row"
38 let-value="value">
39 <a [href]="value"
40 target="_blank"><i [ngClass]="[icons.lineChart]"></i> Source</a>
41 </ng-template>