blob: 278bc4ddc460cc58e8157187bd0689b83f86b1da (
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
34
35
36
37
38
39
40
41
|
<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"
[customCss]="customCss"
selectionType="single"
[hasDetails]="true"
(setExpandedRow)="setExpandedRow($event)"
(updateSelection)="updateSelection($event)">
<cd-table-actions class="table-actions"
[permission]="permission"
[selection]="selection"
[tableActions]="tableActions">
</cd-table-actions>
<cd-table-key-value cdTableDetail
*ngIf="expandedRow"
[renderObjects]="true"
[hideEmpty]="true"
[appendParentKey]="false"
[data]="expandedRow"
[customCss]="customCss"
[autoReload]="false">
</cd-table-key-value>
</cd-table>
<ng-template #externalLinkTpl
let-row="row"
let-value="value">
<a [href]="value"
target="_blank"><i [ngClass]="[icons.lineChart]"></i> Source</a>
</ng-template>
|