]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
e5573cf478296c344e8645d697f2c75927471f35
[ceph.git] /
1 <cd-prometheus-tabs></cd-prometheus-tabs>
2
3 <cd-alert-panel *ngIf="!isPrometheusConfigured"
4                 type="info"
5                 i18n>To see all configured Prometheus alerts, please
6   provide the URL to the API of Prometheus as described in
7   the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
8
9 <cd-table *ngIf="isPrometheusConfigured"
10           [data]="prometheusAlertService.rules"
11           [columns]="columns"
12           [selectionType]="'single'"
13           [hasDetails]="true"
14           (setExpandedRow)="setExpandedRow($event)"
15           (updateSelection)="updateSelection($event)">
16   <ng-container *ngIf="expandedRow">
17     <cd-table-key-value *cdTableDetail
18                         [data]="expandedRow"
19                         [renderObjects]="true"
20                         [hideKeys]="hideKeys">
21     </cd-table-key-value>
22   </ng-container>
23 </cd-table>