mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
d4dcf1d722
Metrics used to have its own code to calculate offline disks. StorageInfo() was avoided because it is an expensive operation by sending calls to all nodes. To make metrics & server info share the same code, a new argument `local` is added to StorageInfo() so it will only query local disks when needed. Metrics now calls StorageInfo() as server info handler does but with the local flag set to false. Co-authored-by: Praveen raj Mani <praveen@minio.io> Co-authored-by: Harshavardhana <harsha@minio.io> |
||
---|---|---|
.. | ||
gateway-s3_test.go | ||
gateway-s3-metadata_test.go | ||
gateway-s3-metadata.go | ||
gateway-s3-sse.go | ||
gateway-s3-utils.go | ||
gateway-s3.go |