Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw/sfs: Implement missing functionality of get-user-info AdminOps API to get at least stats about number of objects #724

Open
votdev opened this issue Sep 26, 2023 · 1 comment
Assignees
Labels
area/rgw-sfs RGW & SFS related kind/enhancement Change that positively impacts existing code triage/next-candidate This could be moved to the next milestone

Comments

@votdev
Copy link
Contributor

votdev commented Sep 26, 2023

It would be great to implement the missing functionality of the get-user-info Admin Ops API endpoint in that way that the already existing stats object contains at least the number of objects (see num_objects) of the user in all buckets. This way we could add a dashboard widget in the UI. I think the number of objects in all buckets should be trivial to fetch from the internal database.

Right now the response data looks like that:

{
    "tenant": "",
    "user_id": "testid",
    "display_name": "M. Tester",
    ...
    "stats": {
        "size": 0,
        "size_actual": 0,
        "size_utilized": 0,
        "size_kb": 0,
        "size_kb_actual": 0,
        "size_kb_utilized": 0,
        "num_objects": 0       <========= Should be more trivial to populate than the other props
    }
}
@votdev votdev added kind/enhancement Change that positively impacts existing code area/rgw-sfs RGW & SFS related labels Sep 26, 2023
@github-actions github-actions bot added the triage/waiting Waiting for triage label Sep 26, 2023
@votdev votdev changed the title rgw/sfs: Enhance get-user-info AdminOps API to get at least stats about number of objects rgw/sfs: Implement missing functionality of get-user-info AdminOps API to get at least stats about number of objects Sep 26, 2023
@jecluis
Copy link
Contributor

jecluis commented Oct 19, 2023

I suspect this is a duplicate of #82, only with a different endpoint?

@jecluis jecluis added triage/next-candidate This could be moved to the next milestone and removed triage/waiting Waiting for triage labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rgw-sfs RGW & SFS related kind/enhancement Change that positively impacts existing code triage/next-candidate This could be moved to the next milestone
Projects
Status: Backlog
Development

No branches or pull requests

3 participants