# All files / src/app/ceph/cephfs/cephfs-detail cephfs-detail.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    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
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    655x

     <tabset *ngIf="selectedItem">
      <tab i18n-heading
           heading="Details">
        <div class="row">
          <div class="col-sm-6">
            <legend i18n>Ranks</legend>

            <cd-table [data]="ranks.data"
                      [columns]="ranks.columns"
                      (fetchData)="refresh()"
                      [toolHeader]="false">
            </cd-table>

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

          <div class="col-sm-6">
            <legend i18n>Pools</legend>

            <cd-table [data]="pools.data"
                      [columns]="pools.columns"
                      [toolHeader]="false">
            </cd-table>
          </div>
        </div>

        <div class="row"
             *ngFor="let mdsCounter of objectValues(mdsCounters); trackBy: trackByFn">
          <div class="cold-md-12">
            <cd-cephfs-chart [mdsCounter]="mdsCounter"></cd-cephfs-chart>
          </div>
        </div>
      </tab>
      <tab i18n-heading
           heading="Clients: {{ clientCount }}"
           (select)="clientsSelect=true"
           (deselect)="clientsSelect=false">
        <cd-cephfs-clients [id]="id"
                           *ngIf="clientsSelect">
        </cd-cephfs-clients>
      </tab>
      <tab i18n-heading
           *ngIf="grafanaPermission.read"
           heading="Performance Details">
        <cd-grafana [grafanaPath]="'mds-performance?var-mds_servers=mds.' + grafanaId"
                    uid="rRfFzWtik"
                    grafanaStyle="one">
        </cd-grafana>
      </tab>
    </tabset>

    <!-- templates -->
    <ng-template #poolUsageTpl
                 let-row="row">
      <cd-usage-bar [totalBytes]="row.size"
                    [usedBytes]="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>