]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Display bucket's number of shards on the ceph dashboard
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Fri, 22 Nov 2024 06:29:07 +0000 (11:59 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Fri, 22 Nov 2024 06:29:07 +0000 (11:59 +0530)
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 <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts

index 9cb8b52ee0e2bcd22866b2fb46ff2ba86c9e86ac..7f63e584a5d5701b4ba6bb308e4cae17e90aa926 100644 (file)
@@ -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 = () =>