radosgw_usage_exporter
radosgw_usage_exporter copied to clipboard
fix(get_rgw_users): use metadata query for listing users
The /admin/user?format=json&list
only output the first 1000 users that it come across. /admin/metadata/user?format=json
will output all users.
The official Go library for Ceph still uses "metadata/user" for listing all users. (https://github.com/ceph/go-ceph/blob/master/rgw/admin/user.go#L136-L149)
This will fix issue #48