[RGW] Enable per user/bucket performance counters

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

 



Hi,


I come to you with a quite simple question.

I am running a REEF cluster in 18.2.2, deployed in k3s via rook 1.14.8.

I want to enable per user and per bucket performance counters on my RGW.


According to this doc
https://docs.ceph.com/en/latest/radosgw/metrics/#user-bucket-counter-caches
I need to run ceph config set client.rgw rgw_{user,bucket}_counters_cache
true.


But when I run the commands in the ceph toolbox, I end up with the
following errors:

bash-4.4$ ceph config set client.rgw rgw_user_counters_cache true

Error EINVAL: unrecognized config option 'rgw_user_counters_cache'

bash-4.4$ ceph config set client.rgw rgw_bucket_counters_cache true

Error EINVAL: unrecognized config option 'rgw_bucket_counters_cache'

This doc
https://www.ibm.com/docs/en/storage-ceph/7?topic=counters-viewing-performance-users-bucket
mentions a different command regarding the client.rgw.

So I did the following:

bash-4.4$ ceph auth list | grep rgw

client.bootstrap-rgw

     caps: [mon] allow profile bootstrap-rgw

client.rgw.ceph.s3.a

bash-4.4$ ceph config set client.rgw.ceph.s3.a rgw_user_counters_cache true


Error EINVAL: unrecognized config option 'rgw_user_counters_cache'

bash-4.4$ ceph config set client.rgw.ceph.s3.a rgw_bucket_counters_cache
true

Error EINVAL: unrecognized config option 'rgw_bucket_counters_cache'


When I run all this commands with --force, the keys are created. I
restarted my RGWs pods but the keys do not seem to be taken into account as
I do not have any ceph_rgw_op* metric.


Did anyone successfully managed to enable this ?

What am I missing ?


Thank your for your help !
_______________________________________________
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