]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
364796d876190271e9c792eaf04c18217b110a1a
[ceph-ci.git] /
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 the
6   API of the Prometheus' Alertmanager as described in
7   the <a href="{{docsUrl}}"
8          target="_blank">documentation</a>.
9 </cd-alert-panel>
10
11 <cd-table *ngIf="isAlertmanagerConfigured"
12           [data]="silences"
13           [columns]="columns"
14           [forceIdentifier]="true"
15           [customCss]="customCss"
16           [sorts]="sorts"
17           selectionType="single"
18           [hasDetails]="true"
19           (setExpandedRow)="setExpandedRow($event)"
20           (fetchData)="refresh()"
21           (updateSelection)="updateSelection($event)">
22   <cd-table-actions class="table-actions"
23                     [permission]="permission"
24                     [selection]="selection"
25                     [tableActions]="tableActions">
26   </cd-table-actions>
27   <cd-table-key-value cdTableDetail
28                       *ngIf="expandedRow"
29                       [renderObjects]="true"
30                       [hideEmpty]="true"
31                       [appendParentKey]="false"
32                       [data]="expandedRow"
33                       [customCss]="customCss"
34                       [autoReload]="false">
35   </cd-table-key-value>
36 </cd-table>