From 1f074810fe38a6b67b7bb81c33dd072e85cda8f5 Mon Sep 17 00:00:00 2001 From: Sreeja Chintalapati Date: Thu, 27 Feb 2025 11:10:59 +0530 Subject: [PATCH] HDDS-12168. Created new Grafana panel to display cluster growth rate --- .../dashboards/Ozone - Overall Metrics.json | 101 +++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/dist/src/main/compose/common/grafana/dashboards/Ozone - Overall Metrics.json b/hadoop-ozone/dist/src/main/compose/common/grafana/dashboards/Ozone - Overall Metrics.json index bb5ddfecd815..825fc0a257dd 100644 --- a/hadoop-ozone/dist/src/main/compose/common/grafana/dashboards/Ozone - Overall Metrics.json +++ b/hadoop-ozone/dist/src/main/compose/common/grafana/dashboards/Ozone - Overall Metrics.json @@ -2362,6 +2362,105 @@ ], "title": "ratis_leader_election_timeoutCount{component=\"$component\"}", "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 160 + }, + "id": 240, + "panels": [], + "title": "Cluster Health", + "type": "row" + }, + { + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 8, + "x": 0, + "y": 160 + }, + "id": 240, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "exemplar": true, + "expr": "sum(rate(scm_node_manager_total_used[1h])) * 100 / sum(scm_node_manager_total_used)", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Cluster Growth Rate", + "type": "timeseries" } ], "refresh": "", @@ -2588,4 +2687,4 @@ "uid": "7noCz-s7z", "version": 1, "weekStart": "" -} \ No newline at end of file +}