Skip to content

Commit

Permalink
add cache stats capacity and used
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Nov 3, 2024
1 parent fae43f1 commit 9ade6ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion info-commands.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2015-2022 MinIO, Inc.
// Copyright (c) 2015-2024 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
Expand Down Expand Up @@ -450,6 +450,8 @@ type DiskMetrics struct {

// CacheStats drive cache stats
type CacheStats struct {
Capacity int64 `json:"capacity"`
Used int64 `json:"used"`
Hits int64 `json:"hits"`
Misses int64 `json:"misses"`
DelHits int64 `json:"delHits"`
Expand Down

0 comments on commit 9ade6ee

Please sign in to comment.