Re: Storage class usage stats

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

 



Is there any PR ongoing to add such counters to bucket stats? rados-level is not an option if those counters are needd to do, eg.  rating/billing.

________________________________________
From: Casey Bodley <cbodley@xxxxxxxxxx>
Sent: Wednesday, September 9, 2020 7:50:12 PM
To: Tobias Urdin
Cc: ceph-users@xxxxxxx
Subject:  Re: Storage class usage stats

That's right, radosgw doesn't do accounting per storage class. All you
have to go on is the rados-level pool stats for those storage classes.

On Mon, Sep 7, 2020 at 7:05 AM Tobias Urdin <tobias.urdin@xxxxxxxxxx> wrote:
>
> Hello,
>
> Anybody have any feedback or ways they have resolved this issue?
>
> Best regards
> ________________________________
> From: Tobias Urdin <tobias.urdin@xxxxxxxxxx>
> Sent: Wednesday, August 26, 2020 3:01:49 PM
> To: ceph-users@xxxxxxx
> Subject:  Storage class usage stats
>
> Hello,
>
> I've been trying to understand if there is any way to get usage information based on storage classes for buckets.
>
> Since there is no information available from the "radosgw-admin bucket stats" commands nor any other endpoint I
> tried to browse the source code but couldn't find any references where the storage class would be exposed in such a way.
>
> It also seems that RadosGW today is not saving any counters on amount of objects stored in storage classes when it's
> collecting usage stats, which means there is no such metadata saved for a bucket.
>
>
> I was hoping it was atleast saved but not exposed because then it would have been a easier fix than adding support to count number of objects in storage classes based on operations which would involve a lot of places and mean writing to the bucket metadata on each op :(
>
>
> Is my assumptions correct that there is no way to retrieve such information, meaning there is no way to measure such usage?
>
> If the answer is yes, I assume the only way to get something that could be measured would be to instead have multiple placement
> targets since that is exposed from in bucket info. The bad things would be though that you lose a lot of functionality related to lifecycle
> and moving a single object to another storage class.
>
> Best regards
> Tobias
> _______________________________________________
> 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
>
_______________________________________________
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