From 06fd872013005c05f190a16c2c3f5a2eeec7c8a3 Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Fri, 22 Nov 2024 11:59:07 +0530 Subject: [PATCH] mgr/dashboard: Display bucket's number of shards on the ceph dashboard In the buckets table add a new column to show the number of shards in the bucket Fixes: https://tracker.ceph.com/issues/69016 Signed-off-by: Aashish Sharma --- .../ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts index 9cb8b52ee0e..7f63e584a5d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts @@ -97,6 +97,11 @@ export class RgwBucketListComponent extends ListWithDetails implements OnInit { prop: 'object_usage', cellTemplate: this.bucketObjectTpl, flexGrow: 0.8 + }, + { + name: $localize`Number of Shards`, + prop: 'num_shards', + flexGrow: 0.8 } ]; const getBucketUri = () => -- 2.39.5