diff --git a/grafana/dashboards/powerflex/sdc_io_metrics.json b/grafana/dashboards/powerflex/sdc_io_metrics.json index 8d0e7dd..988e322 100644 --- a/grafana/dashboards/powerflex/sdc_io_metrics.json +++ b/grafana/dashboards/powerflex/sdc_io_metrics.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -13,10 +16,9 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 6, - "iteration": 1601048958864, + "id": 176, "links": [], "panels": [ { @@ -27,11 +29,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -58,6 +113,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -69,12 +136,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_iops_per_second{PlotWithMean=~ \"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "format": "time_series", "instant": false, @@ -85,9 +160,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Read IOPS by Node", "tooltip": { "shared": true, @@ -96,33 +169,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -132,11 +196,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -163,6 +280,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -174,12 +303,22 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", "expr": "powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", + "range": true, "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average WriteIOP", @@ -187,9 +326,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Write IOPS by Node", "tooltip": { "shared": true, @@ -198,33 +335,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -234,12 +362,65 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "description": "", "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -266,6 +447,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -277,12 +470,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average ReadLatency", @@ -290,9 +491,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Read Latency by Node(ms)", "tooltip": { "shared": true, @@ -301,33 +500,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -337,11 +527,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -368,6 +611,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -379,12 +634,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average WriteLatency", @@ -392,9 +655,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Write Latency by Node (ms)", "tooltip": { "shared": true, @@ -403,33 +664,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -439,11 +691,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -470,6 +775,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -481,12 +798,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average Read BW", @@ -494,9 +819,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Read Bandwidth by Node (MB/s)", "tooltip": { "shared": true, @@ -505,33 +828,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -541,11 +855,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -572,6 +939,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -583,12 +962,22 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", "expr": "powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{Name}}", + "range": true, "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average Write BW", @@ -596,9 +985,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "PowerFlex Write Bandwidth by Node(MB/s)", "tooltip": { "shared": true, @@ -607,46 +994,53 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], "refresh": "10s", - "schemaVersion": 26, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { - "allValue": null, "current": { - "selected": true, + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, "text": "No", "value": "No" }, @@ -803,16 +1197,19 @@ "type": "interval" }, { - "allValue": null, "current": { "selected": true, - "tags": [], - "text": "All", + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, Name)", "hide": 0, "includeAll": true, @@ -826,22 +1223,24 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { - "allValue": null, "current": { "selected": true, - "tags": [], - "text": "All", + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, IP)", "hide": 0, "includeAll": true, @@ -855,7 +1254,6 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -882,5 +1280,6 @@ "timezone": "", "title": "PowerFlex Storage System I/O Metrics by Node", "uid": "LYzMlnMGk", - "version": 1 + "version": 7, + "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/powerflex/storage_consumption.json b/grafana/dashboards/powerflex/storage_consumption.json index 1ca99e4..0d6f009 100644 --- a/grafana/dashboards/powerflex/storage_consumption.json +++ b/grafana/dashboards/powerflex/storage_consumption.json @@ -3,7 +3,7 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -16,7 +16,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 1, + "id": 177, "links": [ { "asDropdown": true, @@ -30,10 +30,15 @@ ], "panels": [ { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "custom": { + "align": "auto", "cellOptions": { "type": "auto" }, @@ -114,10 +119,13 @@ }, "showHeader": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_storage_pool_total_logical_capacity_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"}\r", "format": "table", "instant": true, @@ -126,7 +134,10 @@ "refId": "A" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_storage_pool_logical_capacity_available_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"}\r", "format": "table", "instant": true, @@ -135,7 +146,10 @@ "refId": "B" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerflex_storage_pool_logical_provisioned_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"}", "format": "table", "instant": true, @@ -170,7 +184,11 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -238,11 +256,14 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { "alias": "$tag_source", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_logical_capacity_in_use_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"}*100 / powerflex_storage_pool_total_logical_capacity_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "format": "time_series", "groupBy": [ @@ -316,7 +337,11 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "decimals": 2, @@ -377,11 +402,14 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { "alias": "Total Capacity", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_total_logical_capacity_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "groupBy": [ { @@ -413,7 +441,10 @@ }, { "alias": "Free Capacity", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_logical_capacity_available_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "groupBy": [ { @@ -446,7 +477,10 @@ }, { "alias": "Provisioned", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_logical_provisioned_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "groupBy": [ { @@ -483,7 +517,11 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -571,7 +609,10 @@ "targets": [ { "alias": "Used Capacity", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_logical_capacity_in_use_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "groupBy": [ { @@ -617,7 +658,10 @@ }, { "alias": "Free Capacity", - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "avg by (StoragePool) (powerflex_storage_pool_logical_capacity_available_gigabytes{Driver=~\"$Driver\",StorageClass=~\"$StorageClass\",StoragePool=~\"$StoragePool\",StorageSystemID=~\"$StorageSystemID\"})", "groupBy": [ { @@ -668,21 +712,46 @@ "type": "piechart" } ], - "preload": false, "refresh": "5m", - "schemaVersion": 40, + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "text": "All", + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StorageClass)", + "hide": 0, "includeAll": true, "multi": true, "name": "StorageClass", @@ -690,17 +759,26 @@ "query": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StorageClass)", "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { - "text": "All", + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StoragePool)", + "hide": 0, "includeAll": true, "multi": true, "name": "StoragePool", @@ -708,15 +786,22 @@ "query": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StoragePool)", "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { + "selected": false, "text": "All", "value": "$__all" }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, Driver)", + "hide": 0, "includeAll": true, "multi": true, "name": "Driver", @@ -724,15 +809,22 @@ "query": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, Driver)", "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { + "selected": false, "text": "All", "value": "$__all" }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StorageSystemID)", + "hide": 0, "includeAll": true, "multi": true, "name": "StorageSystemID", @@ -740,6 +832,8 @@ "query": "label_values(powerflex_storage_pool_total_logical_capacity_gigabytes, StorageSystemID)", "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" } ] @@ -764,6 +858,6 @@ "timezone": "browser", "title": "PowerFlex Storage Pool and Storage Class Capacity", "uid": "nr_QGP0iz", - "version": 1, + "version": 5, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/powerflex/volume_io_metrics.json b/grafana/dashboards/powerflex/volume_io_metrics.json index 9d5be4b..988e322 100644 --- a/grafana/dashboards/powerflex/volume_io_metrics.json +++ b/grafana/dashboards/powerflex/volume_io_metrics.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -13,9 +16,9 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "iteration": 1602003216887, + "id": 176, "links": [], "panels": [ { @@ -26,11 +29,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -57,6 +113,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -68,13 +136,21 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_read_iops_per_second{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_read_iops_per_second{PlotWithMean=~ \"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_iops_per_second{PlotWithMean=~ \"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", "refId": "A" }, { - "expr": "sum(powerflex_volume_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "format": "time_series", "instant": false, "interval": "", @@ -84,10 +160,8 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Read IOPS", + "title": "PowerFlex Read IOPS by Node", "tooltip": { "shared": true, "sort": 2, @@ -95,33 +169,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -131,11 +196,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -162,6 +280,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -173,23 +303,31 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "expr": "powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", + "range": true, "refId": "A" }, { - "expr": "sum(powerflex_volume_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_iops_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average WriteIOP", "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Write IOPS", + "title": "PowerFlex Write IOPS by Node", "tooltip": { "shared": true, "sort": 2, @@ -197,33 +335,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -233,12 +362,65 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "description": "", "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -265,6 +447,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -276,23 +470,29 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", "refId": "A" }, { - "expr": "sum(powerflex_volume_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average ReadLatency", "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Read Latency (ms)", + "title": "PowerFlex Read Latency by Node(ms)", "tooltip": { "shared": true, "sort": 2, @@ -300,33 +500,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -336,11 +527,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -367,6 +611,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -378,23 +634,29 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", "refId": "A" }, { - "expr": "sum(powerflex_volume_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_latency_milliseconds{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", "legendFormat": "Average WriteLatency", "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Write Latency (ms)", + "title": "PowerFlex Write Latency by Node (ms)", "tooltip": { "shared": true, "sort": 2, @@ -402,47 +664,91 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "aliasColors": { - "Average ReadBW": "dark-red" + "Average Read BW": "dark-red" }, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -469,6 +775,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -480,23 +798,29 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", "refId": "A" }, { - "expr": "sum(powerflex_volume_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_read_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", - "legendFormat": "Average ReadBW", + "legendFormat": "Average Read BW", "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Read Bandwidth (MB/s)", + "title": "PowerFlex Read Bandwidth by Node (MB/s)", "tooltip": { "shared": true, "sort": 2, @@ -504,47 +828,91 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "aliasColors": { - "Average WriteBW": "dark-red" + "Average Write BW": "dark-red" }, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -571,6 +939,18 @@ "lines": true, "linewidth": 1, "nullPointMode": "null", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, "percentage": false, "pluginVersion": "11.5.2", "pointradius": 2, @@ -582,23 +962,31 @@ "steppedLine": false, "targets": [ { - "expr": "powerflex_volume_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"} and topk($TopX, avg_over_time(powerflex_volume_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", PersistentVolumeClaimName=~\"$PersistentVolumeClaimName\",Namespace=~\"$Namespace\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}[$TimeFrame]))", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "expr": "powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"} and topk($TopX, avg_over_time(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}[$TimeFrame]))", "interval": "", - "legendFormat": "{{VolumeName}}", + "legendFormat": "{{Name}}", + "range": true, "refId": "A" }, { - "expr": "sum(powerflex_volume_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\", MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"}) / count(powerflex_volume_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\",VolumeID=~\"$VolumeID\",VolumeName=~\"$VolumeName\", PersistentVolumeName=~\"$PVName\", MappedNodeIDs=~\"(.*__)($MappedNodeIDs)(__.*)\",MappedNodeIPs=~\"(.*__)($MappedNodeIPs)(__.*)\"})", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "expr": "sum(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"}) / count(powerflex_export_node_write_bw_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", Name=~\"$Node_Name\", IP =~\"($Node_IP)\"})", "interval": "", - "legendFormat": "Average WriteBW", + "legendFormat": "Average Write BW", "refId": "B" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, - "title": "Volume Write Bandwidth (MB/s)", + "title": "PowerFlex Write Bandwidth by Node(MB/s)", "tooltip": { "shared": true, "sort": 2, @@ -606,48 +994,55 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], - "refresh": "5s", - "schemaVersion": 26, - "style": "dark", + "refresh": "10s", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { - "allValue": null, "current": { - "selected": true, - "text": "Yes", - "value": "Yes" + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "No", + "value": "No" }, "hide": 0, "includeAll": false, @@ -656,12 +1051,12 @@ "name": "ShowMean", "options": [ { - "selected": true, + "selected": false, "text": "Yes", "value": "Yes" }, { - "selected": false, + "selected": true, "text": "No", "value": "No" } @@ -671,189 +1066,6 @@ "skipUrlSync": false, "type": "custom" }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_volume_read_bw_megabytes_per_second,VolumeID)", - "hide": 0, - "includeAll": true, - "label": "Volume ID", - "multi": true, - "name": "VolumeID", - "options": [], - "query": "label_values(powerflex_volume_read_bw_megabytes_per_second,VolumeID)", - "refresh": 2, - "refresh_on_load": false, - "regex": "", - "skipUrlSync": false, - "sort": 2, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_volume_read_bw_megabytes_per_second,VolumeName)", - "hide": 0, - "includeAll": true, - "label": "Volume Name", - "multi": true, - "name": "VolumeName", - "options": [], - "query": "label_values(powerflex_volume_read_bw_megabytes_per_second,VolumeName)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_volume_read_bw_megabytes_per_second,PersistentVolumeName)", - "hide": 0, - "includeAll": true, - "label": "PV Name", - "multi": true, - "name": "PVName", - "options": [], - "query": "label_values(powerflex_volume_read_bw_megabytes_per_second,PersistentVolumeName)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_volume_read_bw_megabytes_per_second,PersistentVolumeClaimName)", - "hide": 0, - "includeAll": true, - "label": "PVC Name", - "multi": true, - "name": "PersistentVolumeClaimName", - "options": [], - "query": "label_values(powerflex_volume_read_bw_megabytes_per_second,PersistentVolumeClaimName)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_volume_read_bw_megabytes_per_second,Namespace)", - "hide": 0, - "includeAll": true, - "label": "Namespace", - "multi": true, - "name": "Namespace", - "options": [], - "query": "label_values(powerflex_volume_read_bw_megabytes_per_second,Namespace)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": false, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, ID)", - "hide": 0, - "includeAll": true, - "label": "Node IDs", - "multi": true, - "name": "MappedNodeIDs", - "options": [], - "query": "label_values(powerflex_export_node_read_bw_megabytes_per_second, ID)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "allValue": null, - "current": { - "selected": true, - "text": "All", - "value": ["$__all"] - }, - "datasource": "Prometheus", - "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, IP)", - "hide": 0, - "includeAll": true, - "label": "Node IPs", - "multi": true, - "name": "MappedNodeIPs", - "options": [], - "query": "label_values(powerflex_export_node_read_bw_megabytes_per_second, IP)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - }, { "auto": false, "auto_count": 30, @@ -983,6 +1195,68 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, Name)", + "hide": 0, + "includeAll": true, + "label": "Node Name", + "multi": true, + "name": "Node_Name", + "options": [], + "query": "label_values(powerflex_export_node_read_bw_megabytes_per_second, Name)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "definition": "label_values(powerflex_export_node_read_bw_megabytes_per_second, IP)", + "hide": 0, + "includeAll": true, + "label": "Node IP", + "multi": true, + "name": "Node_IP", + "options": [], + "query": "label_values(powerflex_export_node_read_bw_megabytes_per_second, IP)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false } ] }, @@ -1004,7 +1278,8 @@ ] }, "timezone": "", - "title": "PowerFlex Volume IO Metrics", - "uid": "LYzMlnMGl", - "version": 12 -} + "title": "PowerFlex Storage System I/O Metrics by Node", + "uid": "LYzMlnMGk", + "version": 7, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/dashboards/powerscale/cluster_capacity.json b/grafana/dashboards/powerscale/cluster_capacity.json index b852ab3..91a5873 100644 --- a/grafana/dashboards/powerscale/cluster_capacity.json +++ b/grafana/dashboards/powerscale/cluster_capacity.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 7, + "id": 179, "links": [], "panels": [ { @@ -41,7 +41,11 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -141,10 +145,13 @@ }, "showHeader": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"} - powerscale_cluster_remaining_capacity_terabytes{ClusterName=~\"$ClusterName\"}", @@ -154,7 +161,10 @@ "refId": "Cluster Used Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"}", @@ -165,7 +175,10 @@ "refId": "Cluster Total Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"} * powerscale_directory_total_hard_quota_percentage{ClusterName=~\"$ClusterName\"}", @@ -176,7 +189,10 @@ "refId": "Cluster Quota Used Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"}", @@ -211,7 +227,11 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -277,10 +297,13 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_cluster_used_capacity_percentage{ClusterName=~\"$ClusterName\"})", @@ -305,7 +328,11 @@ "type": "bargauge" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -371,10 +398,13 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_directory_total_hard_quota_percentage{ClusterName=~\"$ClusterName\"})", @@ -413,7 +443,11 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -470,10 +504,13 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"} - powerscale_cluster_remaining_capacity_terabytes{ClusterName=~\"$ClusterName\"})", @@ -484,7 +521,10 @@ "refId": "Cluster Used Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"})", @@ -499,7 +539,11 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -555,7 +599,10 @@ "pluginVersion": "11.5.2", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"} - powerscale_cluster_remaining_capacity_terabytes{ClusterName=~\"$ClusterName\"})", @@ -565,7 +612,10 @@ "refId": "Custer Used Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_cluster_total_capacity_terabytes{ClusterName=~\"$ClusterName\"})", @@ -581,7 +631,11 @@ "type": "piechart" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -638,10 +692,13 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"} * powerscale_directory_total_hard_quota_percentage{ClusterName=~\"$ClusterName\"})", @@ -652,7 +709,10 @@ "refId": "Cluster Used Quota Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"})", @@ -667,7 +727,11 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -723,7 +787,10 @@ "pluginVersion": "11.5.2", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"} * powerscale_directory_total_hard_quota_percentage{ClusterName=~\"$ClusterName\"})", @@ -733,7 +800,10 @@ "refId": "Custer Quota Used Capacity" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_directory_total_hard_quota_gigabytes{ClusterName=~\"$ClusterName\"})", @@ -749,21 +819,46 @@ "type": "piechart" } ], - "preload": false, "refresh": "", - "schemaVersion": 40, + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "text": "All", + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "ddb7383e-85ca-4f73-be74-1e53e4092ecb" + }, "definition": "label_values(powerscale_cluster_total_capacity_terabytes, ClusterName)", + "hide": 0, "includeAll": true, "label": "Cluster Name", "multi": true, @@ -775,6 +870,8 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" } ] @@ -787,6 +884,6 @@ "timezone": "", "title": "PowerScale Cluster Capacity", "uid": "KIl-h6g4k", - "version": 1, + "version": 3, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/powerscale/cluster_io_metrics.json b/grafana/dashboards/powerscale/cluster_io_metrics.json index a5caaa0..e09c16d 100644 --- a/grafana/dashboards/powerscale/cluster_io_metrics.json +++ b/grafana/dashboards/powerscale/cluster_io_metrics.json @@ -3,7 +3,10 @@ "list": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -13,10 +16,9 @@ ] }, "editable": true, - "gnetId": null, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 10, - "iteration": 1657783880133, + "id": 180, "links": [], "panels": [ { @@ -26,11 +28,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -60,7 +115,17 @@ "linewidth": 1, "nullPointMode": "null", "options": { - "alertThreshold": true + "alertThreshold": true, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "percentage": false, "pluginVersion": "11.5.2", @@ -73,6 +138,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerscale_cluster_cpu_use_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"} and topk($TopX, avg_over_time(powerscale_cluster_cpu_use_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"}[$TimeFrame]))", "hide": false, "interval": "", @@ -80,6 +149,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerscale_cluster_cpu_use_rate{PlotWithMean=~\"($ShowMean)|No\", ClusterName=~\"$ClusterName\"}) / count(powerscale_cluster_cpu_use_rate{PlotWithMean=~\"($ShowMean)|No\",ClusterName=~\"$ClusterName\"})", "format": "time_series", "instant": false, @@ -90,9 +163,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CPU Usage (%)", "tooltip": { "shared": true, @@ -101,33 +172,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -137,12 +199,65 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "description": "", "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -170,7 +285,17 @@ "linewidth": 1, "nullPointMode": "null", "options": { - "alertThreshold": true + "alertThreshold": true, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "percentage": false, "pluginVersion": "11.5.2", @@ -183,12 +308,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerscale_cluster_disk_read_operation_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"} and topk($TopX, avg_over_time(powerscale_cluster_disk_read_operation_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{ClusterName}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerscale_cluster_disk_read_operation_rate{PlotWithMean=~\"($ShowMean)|No\", ClusterName=~\"$ClusterName\"}) / count(powerscale_cluster_disk_read_operation_rate{PlotWithMean=~\"($ShowMean)|No\",ClusterName=~\"$ClusterName\"})", "interval": "", "legendFormat": "Average Read Operation Rate", @@ -196,9 +329,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Disk Read Operation Rate", "tooltip": { "shared": true, @@ -207,33 +338,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -243,11 +365,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -275,7 +450,17 @@ "linewidth": 1, "nullPointMode": "null", "options": { - "alertThreshold": true + "alertThreshold": true, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "percentage": false, "pluginVersion": "11.5.2", @@ -288,12 +473,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerscale_cluster_disk_write_operation_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"} and topk($TopX, avg_over_time(powerscale_cluster_disk_write_operation_rate{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{ClusterName}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerscale_cluster_disk_write_operation_rate{PlotWithMean=~\"($ShowMean)|No\", ClusterName=~\"$ClusterName\"}) / count(powerscale_cluster_disk_write_operation_rate{PlotWithMean=~\"($ShowMean)|No\",ClusterName=~\"$ClusterName\"})", "interval": "", "legendFormat": "Average Write Operation Rate", @@ -301,9 +494,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Disk Write Operation Rate", "tooltip": { "shared": true, @@ -312,33 +503,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -348,11 +530,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -380,7 +615,17 @@ "linewidth": 1, "nullPointMode": "null", "options": { - "alertThreshold": true + "alertThreshold": true, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "percentage": false, "pluginVersion": "11.5.2", @@ -393,12 +638,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerscale_cluster_disk_throughput_read_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"} and topk($TopX, avg_over_time(powerscale_cluster_disk_throughput_read_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{ClusterName}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerscale_cluster_disk_throughput_read_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", ClusterName=~\"$ClusterName\"}) / count(powerscale_cluster_disk_throughput_read_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\",ClusterName=~\"$ClusterName\"})", "interval": "", "legendFormat": "Average Read Throughput Rate", @@ -406,9 +659,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Disk Read Throughput (MB/s)", "tooltip": { "shared": true, @@ -417,33 +668,24 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -453,11 +695,64 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { - "custom": {}, - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } }, "overrides": [] }, @@ -485,7 +780,17 @@ "linewidth": 1, "nullPointMode": "null", "options": { - "alertThreshold": true + "alertThreshold": true, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, "percentage": false, "pluginVersion": "11.5.2", @@ -498,12 +803,20 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "powerscale_cluster_disk_throughput_write_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"} and topk($TopX, avg_over_time(powerscale_cluster_disk_throughput_write_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)\", ClusterName=~\"$ClusterName\"}[$TimeFrame]))", "interval": "", "legendFormat": "{{ClusterName}}", "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "expr": "sum(powerscale_cluster_disk_throughput_write_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\", ClusterName=~\"$ClusterName\"}) / count(powerscale_cluster_disk_throughput_write_rate_megabytes_per_second{PlotWithMean=~\"($ShowMean)|No\",ClusterName=~\"$ClusterName\"})", "interval": "", "legendFormat": "Average Write Throughput Rate", @@ -511,9 +824,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Disk Write Throughput (MB/s)", "tooltip": { "shared": true, @@ -522,46 +833,54 @@ }, "type": "timeseries", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } } ], "refresh": "5s", - "schemaVersion": 26, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ { - "allValue": null, "current": { - "selected": true, + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, "text": "Yes", "value": "Yes" }, @@ -588,7 +907,6 @@ "type": "custom" }, { - "allValue": null, "current": { "selected": true, "text": [ @@ -598,7 +916,10 @@ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_cluster_disk_read_operation_rate,ClusterName)", "hide": 0, "includeAll": true, @@ -613,7 +934,6 @@ "skipUrlSync": false, "sort": 2, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -765,5 +1085,6 @@ "timezone": "", "title": "PowerScale Cluster IO Metrics", "uid": "PowerScaleCluster_qwqze", - "version": 1 -} + "version": 3, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/dashboards/powerscale/volume_capacity.json b/grafana/dashboards/powerscale/volume_capacity.json index 57543d3..ffc37ec 100644 --- a/grafana/dashboards/powerscale/volume_capacity.json +++ b/grafana/dashboards/powerscale/volume_capacity.json @@ -24,7 +24,7 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 6, + "id": 181, "links": [], "panels": [ { @@ -41,7 +41,11 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -90,12 +94,21 @@ ], "show": false }, - "showHeader": true + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Hard Quota Remaining" + } + ] }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_volume_hard_quota_remaining_gigabytes{ClusterName=~\"$ClusterName\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}", @@ -105,7 +118,10 @@ "refId": "PowerScale Volume Hard Quota Remaining" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_volume_quota_subscribed_gigabytes{ClusterName=~\"$ClusterName\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}", @@ -166,7 +182,11 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -232,10 +252,13 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by (ClusterName) (powerscale_volume_quota_subscribed_gigabytes{ClusterName=~\"$ClusterName\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}*100 / (powerscale_volume_hard_quota_remaining_gigabytes{ClusterName=~\"$ClusterName\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"} + powerscale_volume_quota_subscribed_gigabytes{ClusterName=~\"$ClusterName\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}))", @@ -273,7 +296,11 @@ "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -330,10 +357,13 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.5.2", + "pluginVersion": "11.2.0", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by(VolumeID) (powerscale_volume_quota_subscribed_gigabytes{ClusterName=~\"$ClusterName\",PersistentVolumeName=~\"$PVName\",VolumeID=~\"$VolumeID\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"})", @@ -343,7 +373,10 @@ "refId": "Quota Remaining" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "avg by(VolumeID) (powerscale_volume_hard_quota_remaining_gigabytes{ClusterName=~\"$ClusterName\",PersistentVolumeName=~\"$PVName\",VolumeID=~\"$VolumeID\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"})", @@ -358,7 +391,11 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "name": "${datasource}", + "type": "prometheus", + "uid": "${datasource}" + }, "fieldConfig": { "defaults": { "color": { @@ -412,7 +449,10 @@ "pluginVersion": "11.5.2", "targets": [ { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_volume_quota_subscribed_gigabytes{ClusterName=~\"$ClusterName\",PersistentVolumeName=~\"$PVName\",VolumeID=~\"$VolumeID\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}", @@ -422,7 +462,10 @@ "refId": "Quota Subscribed" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "editorMode": "code", "exemplar": false, "expr": "powerscale_volume_hard_quota_remaining_gigabytes{ClusterName=~\"$ClusterName\",PersistentVolumeName=~\"$PVName\",VolumeID=~\"$VolumeID\", PersistentVolumeClaim=~\"$PVCName\",Namespace=~\"$Namespace\"}", @@ -437,21 +480,46 @@ "type": "piechart" } ], - "preload": false, "refresh": "", - "schemaVersion": 40, + "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "text": "All", + "selected": false, + "text": "OCP-HUB Observatorium", + "value": "bexk1twlwmd4wc" + }, + "hide": 0, + "includeAll": false, + "label": "Datasource", + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_volume_quota_subscribed_gigabytes,PersistentVolumeName)", + "hide": 0, "includeAll": true, "label": "PV Name", "multi": true, @@ -463,17 +531,26 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { - "text": "All", + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_volume_quota_subscribed_gigabytes,PersistentVolumeClaim)", + "hide": 0, "includeAll": true, "label": "PVC Name", "multi": true, @@ -485,17 +562,26 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { - "text": "All", + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_volume_quota_subscribed_gigabytes,Namespace)", + "hide": 0, "includeAll": true, "label": "Namespace", "multi": true, @@ -507,17 +593,26 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { - "text": "All", + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_volume_quota_subscribed_gigabytes,VolumeID)", + "hide": 0, "includeAll": true, "label": "Volume ID", "multi": true, @@ -529,17 +624,26 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { "current": { - "text": "All", + "selected": true, + "text": [ + "All" + ], "value": [ "$__all" ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, "definition": "label_values(powerscale_volume_quota_subscribed_gigabytes,ClusterName)", + "hide": 0, "includeAll": true, "label": "Cluster Name", "multi": true, @@ -551,6 +655,8 @@ }, "refresh": 1, "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" } ] @@ -563,6 +669,6 @@ "timezone": "", "title": "PowerScale Volume Capacity", "uid": "wpDLqf37z34", - "version": 1, + "version": 4, "weekStart": "" } \ No newline at end of file