-
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Additional context
2、quota set
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Please use madmin package https://github.com/minio/minio/blob/master/pkg/madmin/quota-commands.go |
Beta Was this translation helpful? Give feedback.
-
@nitisht Thanks for you explain. But I need work it in Java and c++(aws-sdk-s3) ... |
Beta Was this translation helpful? Give feedback.
-
OMG, the titail is mistake |
Beta Was this translation helpful? Give feedback.
-
OKey,Show myself:
Hail the great victory: |
Beta Was this translation helpful? Give feedback.
-
Another way : measure curl --location --request GET 'http://*****/minio/prometheus/metrics' return: bucket_usage_size{bucket="xxx"} 815990 |
Beta Was this translation helpful? Give feedback.
Another way : measure
curl --location --request GET 'http://*****/minio/prometheus/metrics'
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ3NjQyNzc2OTIsImlzcyI6InByb21ldGhldXMiLCJzdWIiOiJtaW5pb2FkbWluIn0.jLivGZSo9h8nhDrTtrYaoXUw5uWShDzBsY4Mk3iMI0WCHmaZq0hsxpN4UpD0Yc9zXRKhP2KkHfBPoSiYQ7wRMg'
return: bucket_usage_size{bucket="xxx"} 815990