mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
Corrected the count of buckets and objects graphs (#17883)
In distributed setup with a load balancer, randmoly any server would report the metrics `minio_cluster_bucket_total` and `minio_cluster_usage_object_total` and while graphing it, we should take max of reported values. Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
parent
fa2a8d7209
commit
c3c8441a1d
@ -1071,7 +1071,7 @@
|
|||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"exemplar": true,
|
"exemplar": true,
|
||||||
"expr": "minio_cluster_bucket_total{job=\"$scrape_jobs\"}",
|
"expr": "max(minio_cluster_bucket_total{job=\"$scrape_jobs\"})",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"interval": "1m",
|
"interval": "1m",
|
||||||
@ -1505,7 +1505,7 @@
|
|||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"exemplar": true,
|
"exemplar": true,
|
||||||
"expr": "minio_cluster_usage_object_total{job=\"$scrape_jobs\"}",
|
"expr": "max(minio_cluster_usage_object_total{job=\"$scrape_jobs\"})",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"interval": "1m",
|
"interval": "1m",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user