Skip to content

How to get disk_storage_available by Java sdk #11386

Answered by Andy6Loda
Andy6Loda asked this question in Q&A
Discussion options

You must be logged in to vote

Another way : measure

curl --location --request GET 'http://*****/minio/prometheus/metrics'
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJleHAiOjQ3NjQyNzc2OTIsImlzcyI6InByb21ldGhldXMiLCJzdWIiOiJtaW5pb2FkbWluIn0.jLivGZSo9h8nhDrTtrYaoXUw5uWShDzBsY4Mk3iMI0WCHmaZq0hsxpN4UpD0Yc9zXRKhP2KkHfBPoSiYQ7wRMg'

return: bucket_usage_size{bucket="xxx"} 815990

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by harshavardhana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11271 on February 01, 2021 04:17.