Hi Istvan, Hope this is still relevant... but you may want to have a look at this example: https://github.com/ceph/ceph/blob/master/examples/lua/prometheus_adapter.lua https://github.com/ceph/ceph/blob/master/examples/lua/prometheus_adapter.md where we log RGW object sizes to Prometheus. would be easy to change it so it is per bucket and not per operation type. Yuval On Fri, Apr 23, 2021 at 4:53 AM Szabo, Istvan (Agoda) < Istvan.Szabo@xxxxxxxxx> wrote: > Objects inside RGW buckets like in couch base software they have their own > metrics and has this information. > > Istvan Szabo > Senior Infrastructure Engineer > --------------------------------------------------- > Agoda Services Co., Ltd. > e: istvan.szabo@xxxxxxxxx<mailto:istvan.szabo@xxxxxxxxx> > --------------------------------------------------- > > On 2021. Apr 22., at 14:00, Wido den Hollander <wido@xxxxxxxx> wrote: > > > > On 21/04/2021 11:46, Szabo, Istvan (Agoda) wrote: > Hi, > Is there any clusterwise metric regarding object sizes? > I'd like to collect some information about the users what is the object > sizes in their buckets. > > Are you talking about RADOS objects or objects inside RGW buckets? > > I think you are talking about RGW, but I just wanted to check. > > Afaik this information is not available for both RADOS and RGW. > > Do keep in mind that small objects are much more expensive then large > objects. The metadata overhead becomes costly and can even become > problematic if you have millions of tiny (few kb) objects. > > Wido > > ________________________________ > This message is confidential and is for the sole use of the intended > recipient(s). It may also be privileged or otherwise protected by copyright > or other legal rules. If you have received it by mistake please let us know > by reply email and delete it from your system. It is prohibited to copy > this message or disclose its content to anyone. Any confidentiality or > privilege is not waived or lost by any mistaken delivery or unauthorized > disclosure of the message. All messages sent to and from Agoda may be > monitored to ensure compliance with company policies, to protect the > company's interests and to remove potential malware. Electronic messages > may be intercepted, amended, lost or deleted, or contain viruses. > _______________________________________________ > 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