summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html
blob: c1d33d8e0d243543429364674dfac62cf97ee055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="row">
  <div class="col-sm-6">
    <legend i18n>Ranks</legend>
    <cd-table [data]="data.ranks"
              [columns]="columns.ranks"
              [toolHeader]="false">
    </cd-table>

    <legend i18n>Standbys</legend>
    <cd-table-key-value [data]="standbys">
    </cd-table-key-value>
  </div>

  <div class="col-sm-6">
    <legend i18n>Pools</legend>
    <cd-table [data]="data.pools"
              [columns]="columns.pools"
              [toolHeader]="false">
    </cd-table>
  </div>
</div>

<legend i18n>MDS performance counters</legend>
<div class="row"
     *ngFor="let mdsCounter of objectValues(data.mdsCounters); trackBy: trackByFn">
  <div class="col-md-12">
    <cd-cephfs-chart [mdsCounter]="mdsCounter"></cd-cephfs-chart>
  </div>
</div>

<!-- templates -->
<ng-template #poolUsageTpl
             let-row="row">
  <cd-usage-bar [total]="row.size"
                [used]="row.used"></cd-usage-bar>
</ng-template>

<ng-template #activityTmpl
             let-row="row"
             let-value="value">
  {{ row.state === 'standby-replay' ? 'Evts' : 'Reqs' }}: {{ value | dimless }} /s
</ng-template>