mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03: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:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user