1
0
mirror of https://github.com/minio/minio.git synced 2025-03-23 05:54:14 -04:00
minio/cmd
Anis Elleuch d4dcf1d722
metrics: Use StorageInfo() instead to have consistent info ()
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>
2020-02-20 09:21:33 +05:30
..
2020-01-31 08:29:22 +05:30
2019-12-12 10:01:15 -08:00
2020-01-13 13:09:10 -08:00
2020-01-31 08:29:22 +05:30
2020-01-31 08:29:22 +05:30
2020-01-02 20:18:32 +05:30
2019-09-10 04:42:29 +05:30