summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html
blob: 4ae7e8a31b33d37306dbd9b7ca66b4183db55904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<cd-prometheus-tabs></cd-prometheus-tabs>

<cd-alert-panel *ngIf="!isPrometheusConfigured"
                type="info"
                i18n>To see all configured Prometheus alerts, please
  provide the URL to the API of Prometheus as described in
  the <cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>

<cd-table *ngIf="isPrometheusConfigured"
          [data]="prometheusAlertService.rules"
          [columns]="columns"
          [selectionType]="'single'"
          [hasDetails]="true"
          (setExpandedRow)="setExpandedRow($event)"
          (updateSelection)="updateSelection($event)">
  <cd-table-key-value cdTableDetail
                      *ngIf="expandedRow"
                      [data]="expandedRow"
                      [renderObjects]="true"
                      [hideKeys]="hideKeys">
  </cd-table-key-value>
</cd-table>