From: Aashish Sharma Date: Fri, 22 Nov 2024 06:29:07 +0000 (+0530) Subject: mgr/dashboard: Display bucket's number of shards on the ceph dashboard X-Git-Tag: v20.0.0~538^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=06fd872013005c05f190a16c2c3f5a2eeec7c8a3;p=ceph.git 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 --- 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 = () =>