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

add bucket sharks and obj nums metrics support #217

Open
oneto1 opened this issue Jun 9, 2022 · 1 comment
Open

add bucket sharks and obj nums metrics support #217

oneto1 opened this issue Jun 9, 2022 · 1 comment

Comments

@oneto1
Copy link

oneto1 commented Jun 9, 2022

Hi , can we add some new bucket metrics ?

When num_objects and num_objects is too big , maybe it will be a performance problem about rgw .

radosgw-admin bucket stats --bucket p
{
    "bucket": "p",
    "num_shards": 64,   <<<<<<<<<
    "tenant": "", 
    ...... 
    "usage": {
        "rgw.main": {
            "size": 530835773,
            "size_actual": 18685812736,
            "size_utilized": 530835773,
            "size_kb": 518395,
            "size_kb_actual": 18247864,
            "size_kb_utilized": 518395,
            "num_objects": 4461780.  <<<<<<<<<
        },
}

Add those to help monitor ceph(rgw) better.

@baergj
Copy link
Contributor

baergj commented Jun 9, 2022

👋 This could maybe be added behind a enable/disable flag, as the cardinality of this data can get rather high.

It's on the list for now. Patches welcome, as always!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants