Fixes: https://tracker.ceph.com/issues/48295
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit
d66e684b9ec83cca8a58b0a7b8661c568eb0cf6d)
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.scss
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts
src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss
Discarded all changes except the relevant code part. The rest was sucessfully backported by
b2360b1a6101b5cc61c236047ce7c757fd02c93d.
)} ${this.i18n(`/s`)}`
);
ratioData.push(this.healthData.client_perf.read_op_per_sec);
- ratioLabels.push(this.healthData.client_perf.write_op_per_sec);
+ ratioLabels.push(
+ `${this.i18n(`Writes`)}: ${this.dimless.transform(
+ this.healthData.client_perf.write_op_per_sec
+ )} ${this.i18n(`/s`)}`
+ );
ratioData.push(this.calcPercentage(this.healthData.client_perf.write_op_per_sec, total));
chart.labels = ratioLabels;