mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Add prometheus endpoint to support total Used storageInfo (#5988)
Since we deprecated Total/Free we don't need to update prometheus with those metrics. This PR also adds support for caching implementation.
This commit is contained in:
committed by
kannappanr
parent
dd0db526d9
commit
5282639f3c
@@ -1786,10 +1786,6 @@ func TestWebObjectLayerFaultyDisks(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Failed %v", err)
|
||||
}
|
||||
// if Total size is 0 it indicates faulty disk.
|
||||
if storageInfoReply.StorageInfo.Total != 0 {
|
||||
t.Fatalf("Should get zero Total size since disks are faulty ")
|
||||
}
|
||||
|
||||
// Test authorization of Web.Download
|
||||
req, err = http.NewRequest("GET", "/minio/download/bucket/object?token="+authorization, nil)
|
||||
|
||||
Reference in New Issue
Block a user