From 6d4c1156d669468acd940a4cfacba1fafffa4745 Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Wed, 13 Dec 2023 23:35:47 +0530 Subject: [PATCH] Changed the expression to render the value (#18627) The metrics `minio_bucket_replication_received_bytes` and `minio_bucket_replication_sent_bytes` are additive in nature and rendering the value as is looks fine. Also added sort order for few graphs for better reading of tool tips as keeping ones with highest value at top helps. Signed-off-by: Shubhendu Ram Tripathi --- .../prometheus/grafana/minio-bucket.json | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/metrics/prometheus/grafana/minio-bucket.json b/docs/metrics/prometheus/grafana/minio-bucket.json index ffca368c1..b614b15ce 100644 --- a/docs/metrics/prometheus/grafana/minio-bucket.json +++ b/docs/metrics/prometheus/grafana/minio-bucket.json @@ -364,7 +364,7 @@ "title": "S3 API Request 4xx Error Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -456,7 +456,7 @@ "title": "Inflight Requests Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -548,7 +548,7 @@ "title": "Total Requests Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -640,7 +640,7 @@ "title": "Total Data Sent Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -732,7 +732,7 @@ "title": "Usage Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -824,7 +824,7 @@ "title": "Objects Increase Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -916,7 +916,7 @@ "title": "Versions Increase Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1008,7 +1008,7 @@ "title": "Delete Markers Increase Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1189,7 +1189,7 @@ "title": "Total Data Received Rate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1269,7 +1269,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum by (bucket) (rate(minio_bucket_replication_received_bytes{job=\"$scrape_jobs\"}[$__rate_interval]))", + "expr": "sum by (bucket) (minio_bucket_replication_received_bytes{job=\"$scrape_jobs\"})", "interval": "1m", "intervalFactor": 2, "legendFormat": "Data Received [{{bucket}}]", @@ -1278,10 +1278,10 @@ ], "thresholds": [], "timeRegions": [], - "title": "Replication Data Received Rate ", + "title": "Replication Data Received", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1361,7 +1361,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum by (bucket) (rate(minio_bucket_replication_sent_bytes{job=\"$scrape_jobs\"}[$__rate_interval]))", + "expr": "sum by (bucket) (minio_bucket_replication_sent_bytes{job=\"$scrape_jobs\"})", "interval": "1m", "intervalFactor": 2, "legendFormat": "Replication Data Sent [{{bucket}}]", @@ -1370,10 +1370,10 @@ ], "thresholds": [], "timeRegions": [], - "title": "Replication Data Sent Rate ", + "title": "Replication Data Sent", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1557,7 +1557,7 @@ "title": "Replication Failed Objects", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1649,7 +1649,7 @@ "title": "Replicated In Objects", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1741,7 +1741,7 @@ "title": "Replicated Out Objects", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1833,7 +1833,7 @@ "title": "Last Hour Failed Size", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1925,7 +1925,7 @@ "title": "Last Hour Failed Objects", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2017,7 +2017,7 @@ "title": "Last Minute Failed Size", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2109,7 +2109,7 @@ "title": "Last Minute Failed Objects", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -2272,4 +2272,4 @@ "uid": "TgmJnqnnk2", "version": 3, "weekStart": "" -} \ No newline at end of file +}