Project

General

Profile

Actions

Feature #49451

open

Show amount of buckets per user

Added by Marcelo Mariano about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When executing a command like radosgw-admin user info --uid user it will be very useful to see the number of buckets that this user has. I say because sometimes some users have tried to create more than 1000 buckets, and we would like to monitor users who are close to that limit to warn them.

Actions #1

Updated by hoan nv almost 3 years ago

Marcelo Mariano wrote:

When executing a command like radosgw-admin user info --uid user it will be very useful to see the number of buckets that this user has. I say because sometimes some users have tried to create more than 1000 buckets, and we would like to monitor users who are close to that limit to warn them.

You can use bash or api to statistics bucket per user ,then put this data to timeseries (eg influxdb) database and setup alert (use grafana) for this metrics.

Actions

Also available in: Atom PDF