From 9d7660b409d52e58aaff8a7383af5798deff0158 Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Fri, 22 Dec 2023 21:44:32 +0530 Subject: [PATCH] Graph cluster wide where applicable (#18705) Graph the maximum value reported across nodes at cluster level for applicable scenarios. Signed-off-by: Shubhendu Ram Tripathi --- .../prometheus/grafana/minio-dashboard.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/metrics/prometheus/grafana/minio-dashboard.json b/docs/metrics/prometheus/grafana/minio-dashboard.json index 8c6f49914..db6e03637 100644 --- a/docs/metrics/prometheus/grafana/minio-dashboard.json +++ b/docs/metrics/prometheus/grafana/minio-dashboard.json @@ -508,7 +508,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "minio_cluster_usage_total_bytes{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_usage_total_bytes{job=\"$scrape_jobs\"})", "interval": "", "legendFormat": "Usage", "range": true, @@ -575,7 +575,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "minio_cluster_objects_size_distribution{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_objects_size_distribution{job=\"$scrape_jobs\"})", "format": "time_series", "instant": false, "interval": "", @@ -901,7 +901,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_cluster_nodes_online_total{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_nodes_online_total{job=\"$scrape_jobs\"})", "format": "table", "hide": false, "instant": true, @@ -984,7 +984,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_cluster_drive_online_total{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_drive_online_total{job=\"$scrape_jobs\"})", "format": "table", "hide": false, "instant": true, @@ -1335,7 +1335,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_cluster_nodes_offline_total{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_nodes_offline_total{job=\"$scrape_jobs\"})", "format": "table", "hide": false, "instant": true, @@ -1418,7 +1418,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_cluster_drive_offline_total{job=\"$scrape_jobs\"}", + "expr": "max(minio_cluster_drive_offline_total{job=\"$scrape_jobs\"})", "format": "table", "hide": false, "instant": true, @@ -1574,12 +1574,12 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_heal_time_last_activity_nano_seconds{job=\"$scrape_jobs\"}", + "expr": "max(minio_heal_time_last_activity_nano_seconds{job=\"$scrape_jobs\"})", "format": "time_series", "instant": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{server}}", + "legendFormat": "", "metric": "process_start_time_seconds", "refId": "A", "step": 60 @@ -1645,12 +1645,12 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "minio_usage_last_activity_nano_seconds{job=\"$scrape_jobs\"}", + "expr": "max(minio_usage_last_activity_nano_seconds{job=\"$scrape_jobs\"})", "format": "time_series", "instant": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{server}}", + "legendFormat": "", "metric": "process_start_time_seconds", "refId": "A", "step": 60 @@ -4771,4 +4771,4 @@ "uid": "TgmJnqnnk", "version": 1, "weekStart": "" -} \ No newline at end of file +}