Re: Bucket usage per storage classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A bucket may contain objects spread across multiple storage classes, and AIUI the head object is always in the default storage class, so I'm not sure *exactly* what you're after here.

> On Apr 4, 2024, at 17:09, Ondřej Kukla <ondrej@xxxxxxx> wrote:
> 
> Hello, 
> 
> I’m playing around with Storage classes in rgw and I’m looking for ways to see per bucket statistics for the diferent storage classes (for billing purposes etc.).
> 
> I though that I would add another object to the bucket usage response like for multiparts - rgw.multimeta, but it’s counted under the rgw.mainIs.
> 
> Is there some option to get this info?
> 
> Ondrej
> 
> 
> Bucket usage I’m referring to
> 
> "usage": {
>        "rgw.main": {
>            "size": 1333179575,
>            "size_actual": 1333190656,
>            "size_utilized": 1333179575,
>            "size_kb": 1301934,
>            "size_kb_actual": 1301944,
>            "size_kb_utilized": 1301934,
>            "num_objects": 4
>        },
>        "rgw.multimeta": {
>            "size": 0,
>            "size_actual": 0,
>            "size_utilized": 0,
>            "size_kb": 0,
>            "size_kb_actual": 0,
>            "size_kb_utilized": 0,
>            "num_objects": 0
>        }
> }
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux