]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | <cd-prometheus-tabs></cd-prometheus-tabs> |
2 | ||
3 | <cd-alert-panel *ngIf="!isAlertmanagerConfigured" | |
4 | type="info" | |
5 | i18n>To enable Silences, please provide the URL to | |
6 | the API of the Prometheus' Alertmanager as described in the | |
7 | <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel> | |
8 | ||
9 | <cd-table *ngIf="isAlertmanagerConfigured" | |
10 | [data]="silences" | |
11fdf7f2 | 11 | [columns]="columns" |
11fdf7f2 TL |
12 | [forceIdentifier]="true" |
13 | [customCss]="customCss" | |
494da23a | 14 | [sorts]="sorts" |
11fdf7f2 | 15 | selectionType="single" |
e306af50 TL |
16 | [hasDetails]="true" |
17 | (setExpandedRow)="setExpandedRow($event)" | |
494da23a | 18 | (fetchData)="refresh()" |
11fdf7f2 | 19 | (updateSelection)="updateSelection($event)"> |
494da23a TL |
20 | <cd-table-actions class="table-actions" |
21 | [permission]="permission" | |
22 | [selection]="selection" | |
23 | [tableActions]="tableActions"> | |
24 | </cd-table-actions> | |
e306af50 TL |
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> | |
11fdf7f2 | 34 | </cd-table> |