From 2c022fd924570f77d96d45445e934ed06a85d8b3 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 15 Nov 2025 05:15:50 +0000 Subject: [PATCH] add ${__field.name:wrap} in the idrac dashboard to fix wrapping issue[ci skip] --- .../monitoring/dashboards/idrac.json | 1523 +++++++++-------- 1 file changed, 771 insertions(+), 752 deletions(-) diff --git a/modules/kubernetes/monitoring/dashboards/idrac.json b/modules/kubernetes/monitoring/dashboards/idrac.json index 361ad032..869fe504 100644 --- a/modules/kubernetes/monitoring/dashboards/idrac.json +++ b/modules/kubernetes/monitoring/dashboards/idrac.json @@ -533,14 +533,16 @@ "mode": "palette-classic" }, "custom": { - "axisBorderShow": false, + "axisBorderShow": true, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", + "axisSoftMax": 200, + "axisSoftMin": 100, "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -554,17 +556,188 @@ "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { - "mode": "line+area" + "mode": "line" } }, - "decimals": 0, + "displayName": "${__field.name:wrap}", + "fieldMinMax": true, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "orange", + "value": 1600 + }, + { + "color": "red", + "value": 1974 + } + ] + }, + "unit": "watt" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "System Watts" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(91, 151, 235)", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 147, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "max", + "min" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "hoverProximity": 10, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "7.3.5", + "targets": [ + { + "alias": "System Watts", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "r730_idrac_redfish_chassis_power_average_consumed_watts", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "interval": "", + "legendFormat": "", + "measurement": "idrac-hosts", + "orderByTime": "ASC", + "policy": "default", + "range": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "system-watts" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "system-name", + "operator": "=~", + "value": "/^$idrac_host$/" + } + ] + } + ], + "title": "System Watts", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": true, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "decimals": 1, + "displayName": "${__field.name:wrap}", + "fieldMinMax": true, "links": [], "mappings": [], "thresholds": { @@ -621,9 +794,9 @@ }, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 1 + "w": 12, + "x": 0, + "y": 3 }, "id": 35, "options": { @@ -635,10 +808,11 @@ ], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { - "mode": "multi", + "hoverProximity": 10, + "mode": "single", "sort": "none" } }, @@ -717,16 +891,14 @@ "mode": "palette-classic" }, "custom": { - "axisBorderShow": false, + "axisBorderShow": true, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "axisSoftMax": 150, - "axisSoftMin": 100, "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -740,7 +912,194 @@ "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "decimals": 1, + "displayName": "${__field.name:wrap}", + "fieldMinMax": true, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "orange", + "value": 42 + }, + { + "color": "red", + "value": 47 + } + ] + }, + "unit": "celsius" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Exhaust Temp" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(90, 161, 80)", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Inlet Temp" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(91, 151, 235)", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 52, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "hoverProximity": 10, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "7.3.5", + "targets": [ + { + "alias": "Inlet Temp", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "r730_idrac_redfish_chassis_temperature_celsius{sensor=\"System Board Inlet Temp\"}", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "interval": "", + "legendFormat": "", + "measurement": "idrac-hosts", + "orderByTime": "ASC", + "policy": "default", + "range": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "inlet-temp" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + " / 10" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "system-name", + "operator": "=~", + "value": "/^$idrac_host$/" + } + ] + } + ], + "title": "Air Temp", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": true, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "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", @@ -750,6 +1109,7 @@ "mode": "line+area" } }, + "fieldMinMax": true, "links": [], "mappings": [], "thresholds": { @@ -769,7 +1129,7 @@ } ] }, - "unit": "watt" + "unit": "volt" }, "overrides": [ { @@ -786,16 +1146,40 @@ } } ] + }, + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "r730_idrac_redfish_chassis_power_voltage_volts{chassis_id=\"System.Embedded.1\", instance=\"192.168.1.4\", job=\"redfish-idrac\", power_voltage=\"PS2 Voltage 2\", power_voltage_id=\"iDRAC.Embedded.1#PS2Voltage\", resource=\"power_voltage\"}" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] } ] }, "gridPos": { "h": 7, - "w": 8, - "x": 16, - "y": 1 + "w": 12, + "x": 12, + "y": 10 }, - "id": 147, + "id": 652, "options": { "legend": { "calcs": [ @@ -805,10 +1189,11 @@ ], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { - "mode": "multi", + "hoverProximity": 10, + "mode": "single", "sort": "none" } }, @@ -821,7 +1206,7 @@ "uid": "PBFA97CFB590B2093" }, "editorMode": "code", - "expr": "r730_idrac_redfish_chassis_power_average_consumed_watts", + "expr": "r730_idrac_redfish_chassis_power_voltage_volts{power_voltage=~\"PS2 Voltage.*\"}", "groupBy": [ { "params": [ @@ -867,7 +1252,7 @@ ] } ], - "title": "System Watts", + "title": "Input Voltage", "type": "timeseries" }, { @@ -881,10 +1266,10 @@ "mode": "palette-classic" }, "custom": { - "axisBorderShow": false, + "axisBorderShow": true, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "RPM", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", @@ -902,7 +1287,356 @@ "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "decimals": 1, + "displayName": "${__field.name:wrap}", + "fieldMinMax": true, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + } + ] + }, + "unit": "celsius" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Exhaust Temp" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(90, 161, 80)", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Inlet Temp" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(91, 151, 235)", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 17 + }, + "id": 651, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "hoverProximity": 10, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "7.3.5", + "targets": [ + { + "alias": "Inlet Temp", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "r730_idrac_redfish_chassis_temperature_celsius{sensor=\"System Board Exhaust Temp\"}", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "interval": "", + "legendFormat": "", + "measurement": "idrac-hosts", + "orderByTime": "ASC", + "policy": "default", + "range": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "inlet-temp" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + " / 10" + ], + "type": "math" + } + ] + ], + "tags": [ + { + "key": "system-name", + "operator": "=~", + "value": "/^$idrac_host$/" + } + ] + } + ], + "title": "System Board Exhaust Temp", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": true, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 240, + "axisSoftMin": 220, + "barAlignment": 0, + "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": "line+area" + } + }, + "displayName": "${__field.name:wrap}", + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent", + "value": null + }, + { + "color": "orange", + "value": 1600 + }, + { + "color": "red", + "value": 1974 + } + ] + }, + "unit": "volt" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "System Watts" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(91, 151, 235)", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 17 + }, + "id": 653, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "max", + "min" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "hoverProximity": 10, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "7.3.5", + "targets": [ + { + "alias": "System Watts", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "r730_idrac_redfish_chassis_power_voltage_volts{power_voltage=~\"PS1 Voltage.*\"}", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "interval": "", + "legendFormat": "", + "measurement": "idrac-hosts", + "orderByTime": "ASC", + "policy": "default", + "range": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "system-watts" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "system-name", + "operator": "=~", + "value": "/^$idrac_host$/" + } + ] + } + ], + "title": "Input Voltage (UPS power supply)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "green", + "mode": "fixed" + }, + "custom": { + "axisBorderShow": true, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "RPM", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", @@ -913,6 +1647,8 @@ } }, "decimals": 0, + "displayName": "${__field.name:wrap}", + "fieldMinMax": true, "links": [], "mappings": [], "thresholds": { @@ -937,10 +1673,10 @@ "overrides": [] }, "gridPos": { - "h": 8, - "w": 8, + "h": 7, + "w": 12, "x": 0, - "y": 3 + "y": 24 }, "id": 70, "options": { @@ -948,10 +1684,11 @@ "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": true + "showLegend": false }, "tooltip": { - "mode": "multi", + "hoverProximity": 10, + "mode": "single", "sort": "none" } }, @@ -1247,724 +1984,6 @@ ], "title": "Average Fan Speed", "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "decimals": 0, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "orange", - "value": 42 - }, - { - "color": "red", - "value": 47 - } - ] - }, - "unit": "celsius" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Exhaust Temp" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(90, 161, 80)", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Inlet Temp" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(91, 151, 235)", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 8 - }, - "id": 52, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "alias": "Inlet Temp", - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "expr": "r730_idrac_redfish_chassis_temperature_celsius{sensor=\"System Board Inlet Temp\"}", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "interval": "", - "legendFormat": "", - "measurement": "idrac-hosts", - "orderByTime": "ASC", - "policy": "default", - "range": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "inlet-temp" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - " / 10" - ], - "type": "math" - } - ] - ], - "tags": [ - { - "key": "system-name", - "operator": "=~", - "value": "/^$idrac_host$/" - } - ] - } - ], - "title": "Air Temp", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "decimals": 0, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "orange", - "value": 42 - }, - { - "color": "red", - "value": 47 - } - ] - }, - "unit": "celsius" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Exhaust Temp" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(90, 161, 80)", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Inlet Temp" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(91, 151, 235)", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 8 - }, - "id": 651, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "alias": "Inlet Temp", - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "expr": "r730_idrac_redfish_chassis_temperature_celsius{sensor=\"System Board Exhaust Temp\"}", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "interval": "", - "legendFormat": "", - "measurement": "idrac-hosts", - "orderByTime": "ASC", - "policy": "default", - "range": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "inlet-temp" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - " / 10" - ], - "type": "math" - } - ] - ], - "tags": [ - { - "key": "system-name", - "operator": "=~", - "value": "/^$idrac_host$/" - } - ] - } - ], - "title": "System Board Exhaust Temp", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "orange", - "value": 1600 - }, - { - "color": "red", - "value": 1974 - } - ] - }, - "unit": "volt" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "System Watts" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(91, 151, 235)", - "mode": "fixed" - } - } - ] - }, - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "r730_idrac_redfish_chassis_power_voltage_volts{chassis_id=\"System.Embedded.1\", instance=\"192.168.1.4\", job=\"redfish-idrac\", power_voltage=\"PS2 Voltage 2\", power_voltage_id=\"iDRAC.Embedded.1#PS2Voltage\", resource=\"power_voltage\"}" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 11 - }, - "id": 652, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max", - "min" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "alias": "System Watts", - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "expr": "r730_idrac_redfish_chassis_power_voltage_volts{power_voltage=~\"PS2 Voltage.*\"}", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "interval": "", - "legendFormat": "", - "measurement": "idrac-hosts", - "orderByTime": "ASC", - "policy": "default", - "range": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "system-watts" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "system-name", - "operator": "=~", - "value": "/^$idrac_host$/" - } - ] - } - ], - "title": "Input Voltage", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMax": 240, - "axisSoftMin": 220, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "line+area" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "transparent", - "value": null - }, - { - "color": "orange", - "value": 1600 - }, - { - "color": "red", - "value": 1974 - } - ] - }, - "unit": "volt" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "System Watts" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "rgb(91, 151, 235)", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 17 - }, - "id": 653, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "max", - "min" - ], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "7.3.5", - "targets": [ - { - "alias": "System Watts", - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "editorMode": "code", - "expr": "r730_idrac_redfish_chassis_power_voltage_volts{power_voltage=~\"PS1 Voltage.*\"}", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "interval": "", - "legendFormat": "", - "measurement": "idrac-hosts", - "orderByTime": "ASC", - "policy": "default", - "range": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "system-watts" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "system-name", - "operator": "=~", - "value": "/^$idrac_host$/" - } - ] - } - ], - "title": "Input Voltage (UPS power supply)", - "type": "timeseries" } ], "refresh": "1m", @@ -1978,7 +1997,7 @@ "list": [] }, "time": { - "from": "now-7d", + "from": "now-3h", "to": "now" }, "timepicker": { @@ -1999,6 +2018,6 @@ "timezone": "", "title": "iDRAC - Host Stats", "uid": "O19gr0jZk", - "version": 9, + "version": 24, "weekStart": "" }