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