]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / osd / osd-details / osd-details.component.html
1 <tabset *ngIf="selection"
2 id="tabset-osd-details">
3 <tab heading="Devices"
4 i18n-heading>
5 <cd-device-list *ngIf="osd.loaded && osd.id !== null"
6 [osdId]="osd.id"></cd-device-list>
7 </tab>
8
9 <tab heading="Attributes (OSD map)"
10 i18n-heading>
11 <cd-table-key-value *ngIf="osd.loaded"
12 [data]="osd.details.osd_map">
13 </cd-table-key-value>
14 </tab>
15
16 <tab heading="Metadata"
17 i18n-heading>
18 <cd-table-key-value *ngIf="osd.loaded && osd.details.osd_metadata; else noMetaData"
19 (fetchData)="refresh()"
20 [data]="osd.details.osd_metadata">
21 </cd-table-key-value>
22 <ng-template #noMetaData>
23 <cd-alert-panel type="warning"
24 i18n>Metadata not available</cd-alert-panel>
25 </ng-template>
26 </tab>
27
28 <tab heading="Device health"
29 i18n-heading>
30 <cd-smart-list [osdId]="osd.id"></cd-smart-list>
31 </tab>
32
33 <tab heading="Performance counter"
34 i18n-heading>
35 <cd-table-performance-counter *ngIf="osd.loaded"
36 serviceType="osd"
37 [serviceId]="osd.id">
38 </cd-table-performance-counter>
39 </tab>
40
41 <tab heading="Histogram"
42 i18n-heading>
43 <cd-alert-panel *ngIf="osd.loaded && osd.histogram_failed"
44 type="warning"
45 i18n>Histogram not available: {{ osd.histogram_failed }}</cd-alert-panel>
46
47 <div class="row"
48 *ngIf="osd.loaded && osd.details.histogram">
49 <div class="col-md-6">
50 <h4 i18n>Writes</h4>
51 <cd-osd-performance-histogram [histogram]="osd.details.histogram.osd.op_w_latency_in_bytes_histogram">
52 </cd-osd-performance-histogram>
53 </div>
54 <div class="col-md-6">
55 <h4 i18n>Reads</h4>
56 <cd-osd-performance-histogram [histogram]="osd.details.histogram.osd.op_r_latency_out_bytes_histogram">
57 </cd-osd-performance-histogram>
58 </div>
59 </div>
60 </tab>
61
62 <tab i18n-heading
63 *ngIf="grafanaPermission.read"
64 heading="Performance Details">
65 <cd-grafana [grafanaPath]="'osd-device-details?var-osd=osd.' + osd['id']"
66 uid="CrAHE0iZz"
67 grafanaStyle="GrafanaStyles.two">
68 </cd-grafana>
69 </tab>
70
71 </tabset>