*ngIf="healthData.client_perf">
<cd-health-pie *ngIf="isClientReadWriteChartShowable()"
[data]="healthData"
- [isBytesData]="false"
- chartType="pie"
- [displayLegend]="true"
(prepareFn)="prepareReadWriteRatio($event[0], $event[1])">
</cd-health-pie>
<span *ngIf="!isClientReadWriteChartShowable()">
class="row info-group"
*ngIf="healthData.pools
|| healthData.df
- || healthData.df?.stats?.total_objects != null
|| healthData.pg_info">
<div class="cd-container-flex">
contentClass="content-chart"
*ngIf="healthData.df">
<cd-health-pie [data]="healthData"
- [isBytesData]="true"
- [displayLegend]="true"
+ [config]="rawCapacityChartConfig"
+ [showLabelAsTooltip]="true"
(prepareFn)="prepareRawUsage($event[0], $event[1])">
</cd-health-pie>
</cd-info-card>
i18n-cardTitle
class="cd-col-5"
cardClass="card-medium"
- contentClass="content-medium content-highlight"
- *ngIf="healthData.df?.stats?.total_objects != null">
- {{ healthData.df?.stats?.total_objects }}
+ contentClass="content-chart"
+ *ngIf="healthData.pg_info?.object_stats?.num_objects != null">
+ <cd-health-pie [data]="healthData"
+ [config]="objectsChartConfig"
+ (prepareFn)="prepareObjects($event[0], $event[1])">
+ </cd-health-pie>
</cd-info-card>
<cd-info-card cardTitle="PGs per OSD"
#pgStatusTarget="bs-popover"
placement="bottom">
<cd-health-pie [data]="healthData"
- chartType="pie"
- [displayLegend]="true"
+ [config]="pgStatusChartConfig"
(prepareFn)="preparePgStatus($event[0], $event[1])">
</cd-health-pie>
</div>