diff --git a/tests/performance/virtualization-dashboard.yaml b/tests/performance/virtualization-dashboard.yaml index d1f69f1d5..96c01f5ad 100644 --- a/tests/performance/virtualization-dashboard.yaml +++ b/tests/performance/virtualization-dashboard.yaml @@ -187,7 +187,7 @@ spec: "uid": "${ds_prometheus}" }, "editorMode": "code", - "expr": "sum by (phase) ((kube_pod_status_phase{} * on (pod) group_left(label_vm_kubevirt_internal_virtualization_deckhouse_io_name) kube_pod_labels{label_vm_kubevirt_internal_virtualization_deckhouse_io_name!=\"\"}))", + "expr": "sum by (phase) ((kube_pod_status_phase{namespace=~\"$namespace\"} * on (pod) group_left(label_vm_kubevirt_internal_virtualization_deckhouse_io_name) kube_pod_labels{label_vm_kubevirt_internal_virtualization_deckhouse_io_name!=\"\"}))", "hide": false, "instant": false, "legendFormat": "{{phase}}", @@ -442,7 +442,7 @@ spec: "uid": "${ds_prometheus}" }, "editorMode": "code", - "expr": "sum by (phase) ((kube_pod_status_phase{} * on (pod) group_left(label_vm_kubevirt_internal_virtualization_deckhouse_io_name) kube_pod_labels{label_vm_kubevirt_internal_virtualization_deckhouse_io_name!=\"\"})==1)", + "expr": "sum by (phase) ((kube_pod_status_phase{namespace=~\"$namespace\"} * on (pod) group_left(label_vm_kubevirt_internal_virtualization_deckhouse_io_name) kube_pod_labels{label_vm_kubevirt_internal_virtualization_deckhouse_io_name!=\"\"})==1)", "hide": false, "instant": false, "legendFormat": "__auto", @@ -540,7 +540,7 @@ spec: "uid": "${ds_prometheus}" }, "editorMode": "code", - "expr": "sum by (label_kubevirt_internal_virtualization_deckhouse_io_node_name) ((kube_pod_status_phase{} * on (pod) group_left(label_kubevirt_internal_virtualization_deckhouse_io_node_name) kube_pod_labels{label_kubevirt_internal_virtualization_deckhouse_io_node_name!=\"\"})==1)", + "expr": "sum by (label_kubevirt_internal_virtualization_deckhouse_io_node_name) ((kube_pod_status_phase{namespace=~\"$namespace\"} * on (pod) group_left(label_kubevirt_internal_virtualization_deckhouse_io_node_name) kube_pod_labels{label_kubevirt_internal_virtualization_deckhouse_io_node_name!=\"\"})==1)", "hide": false, "instant": false, "legendFormat": "__auto", @@ -873,7 +873,8 @@ spec: "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "light-red", @@ -1116,7 +1117,8 @@ spec: "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1242,7 +1244,8 @@ spec: "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1342,7 +1345,7 @@ spec: "type": "table" }, { - "collapsed": true, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -1350,629 +1353,632 @@ spec: "y": 42 }, "id": 42, - "panels": [ + "panels": [], + "title": "VirtualDIsks", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${ds_prometheus}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMin": 0, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 43 + }, + "id": 46, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.5.13", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${ds_prometheus}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "axisSoftMin": 0, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "editorMode": "code", + "exemplar": false, + "expr": "count(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\"}==1) by (phase)", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ phase }}", + "range": true, + "refId": "F" + } + ], + "title": "Count VirtualDISK Phases", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "left", + "axisSoftMax": 7, + "axisSoftMin": -1, + "axisWidth": 125, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [ + { + "options": { + "0": { + "color": "red", + "index": 1, + "text": "Unknown" }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" + "1": { + "color": "red", + "index": 2, + "text": "PVCLost" }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "2": { + "color": "red", + "index": 3, + "text": "Failed" }, - "showPoints": "always", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" + "3": { + "color": "red", + "index": 4, + "text": "Pending" }, - "thresholdsStyle": { - "mode": "off" + "4": { + "color": "red", + "index": 5, + "text": "WaitForUserUpload" + }, + "5": { + "color": "red", + "index": 6, + "text": "Provisioning" + }, + "6": { + "color": "red", + "index": 7, + "text": "Ready" + }, + "7": { + "color": "red", + "index": 8, + "text": "-" + }, + "-1": { + "color": "red", + "index": 0, + "text": "-" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 11 - }, - "id": 46, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.5.13", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${ds_prometheus}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "count(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\"}==1) by (phase)", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ phase }}", - "range": true, - "refId": "F" + "type": "value" } ], - "title": "Count VirtualDISK Phases", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "left", - "axisSoftMax": 7, - "axisSoftMin": -1, - "axisWidth": 125, - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 3, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } + { + "color": "light-red", + "value": -1 }, - "mappings": [ - { - "options": { - "0": { - "color": "red", - "index": 1, - "text": "Unknown" - }, - "1": { - "color": "red", - "index": 2, - "text": "PVCLost" - }, - "2": { - "color": "red", - "index": 3, - "text": "Failed" - }, - "3": { - "color": "red", - "index": 4, - "text": "Pending" - }, - "4": { - "color": "red", - "index": 5, - "text": "WaitForUserUpload" - }, - "5": { - "color": "red", - "index": 6, - "text": "Provisioning" - }, - "6": { - "color": "red", - "index": 7, - "text": "Ready" - }, - "7": { - "color": "red", - "index": 8, - "text": "-" - }, - "-1": { - "color": "red", - "index": 0, - "text": "-" - } - }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "light-red", - "value": -1 - }, - { - "color": "light-yellow", - "value": 2.5 - }, - { - "color": "light-green", - "value": 4.5 - } - ] + { + "color": "light-yellow", + "value": 2.5 + }, + { + "color": "light-green", + "value": 4.5 + } + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "test-complete" + ], + "prefix": "All except:", + "readOnly": true } }, - "overrides": [ + "properties": [ { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "test-complete" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } } ] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 50, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.5.13", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Unknown\"} > 0) - 1 + 0", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"PVCLost\"} > 0) - 1 + 1", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Failed\"} > 0) - 1 + 2", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Pending\"} > 0) - 1 + 3", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"WaitForUserUpload\"} > 0) - 1 + 4", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Provisioning\"} > 0) - 1 + 5", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "P0D6E4079E36703EB" - }, - "editorMode": "code", - "exemplar": false, - "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Ready\"} > 0) -1 + 6", - "format": "time_series", - "hide": false, - "instant": false, - "legendFormat": "{{ name }}", - "range": true, - "refId": "E" - } - ], - "title": "VirtualDISK Phases TimeLine", - "type": "timeseries" + } + ] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 0, + "y": 53 + }, + "id": 50, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.5.13", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Unknown\"} > 0) - 1 + 0", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "F" }, { "datasource": { "type": "prometheus", - "uid": "${ds_prometheus}" + "uid": "P0D6E4079E36703EB" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "left", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Time" - }, - "properties": [ - { - "id": "custom.width", - "value": 377 - } - ] - } - ] + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"PVCLost\"} > 0) - 1 + 1", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" }, - "gridPos": { - "h": 11, - "w": 6, - "x": 12, - "y": 21 + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Failed\"} > 0) - 1 + 2", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" }, - "id": 47, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Pending\"} > 0) - 1 + 3", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"WaitForUserUpload\"} > 0) - 1 + 4", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "G" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Provisioning\"} > 0) - 1 + 5", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P0D6E4079E36703EB" + }, + "editorMode": "code", + "exemplar": false, + "expr": "(d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\",phase=\"Ready\"} > 0) -1 + 6", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{ name }}", + "range": true, + "refId": "E" + } + ], + "title": "VirtualDISK Phases TimeLine", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${ds_prometheus}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "cellOptions": { + "type": "auto" }, - "showHeader": true, - "sortBy": [ + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "desc": false, - "displayName": "Name" + "color": "green", + "value": null } ] - }, - "pluginVersion": "10.4.5", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${ds_prometheus}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\",namespace=~\"$namespace\"}==1", - "format": "table", - "hide": false, - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" - } - ], - "title": "VirtualDISK ALL Phases", - "transformations": [ - { - "id": "merge", - "options": {} - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "exported_namespace", - "name", - "phase" - ] - } - } + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": {}, - "renameByName": { - "exported_namespace": "Namespace", - "name": "Name", - "phase": "Phase" - } + "properties": [ + { + "id": "custom.width", + "value": 377 } - } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 6, + "x": 12, + "y": 53 + }, + "id": 47, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" ], - "type": "table" + "show": false }, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "Name" + } + ] + }, + "pluginVersion": "10.4.5", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${ds_prometheus}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "left", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } + "editorMode": "code", + "exemplar": false, + "expr": "d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\",namespace=~\"$namespace\"}==1", + "format": "table", + "hide": false, + "instant": true, + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "VirtualDISK ALL Phases", + "transformations": [ + { + "id": "merge", + "options": {} + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "exported_namespace", + "name", + "phase" + ] + } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "exported_namespace": "Namespace", + "name": "Name", + "phase": "Phase" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${ds_prometheus}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "cellOptions": { + "type": "auto" }, - "overrides": [ + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "matcher": { - "id": "byName", - "options": "Time" - }, - "properties": [ - { - "id": "custom.width", - "value": 377 - } - ] + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 } ] - }, - "gridPos": { - "h": 11, - "w": 6, - "x": 18, - "y": 21 - }, - "id": 48, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" }, - "showHeader": true, - "sortBy": [ + "properties": [ { - "desc": false, - "displayName": "Namespace" + "id": "custom.width", + "value": 377 } ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 6, + "x": 18, + "y": 53 + }, + "id": 48, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "Namespace" + } + ] + }, + "pluginVersion": "10.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${ds_prometheus}" }, - "pluginVersion": "10.4.5", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${ds_prometheus}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\", phase!=\"Ready\"} > 0", - "format": "table", - "instant": true, - "legendFormat": "__auto", - "range": false, - "refId": "A" + "editorMode": "code", + "exemplar": false, + "expr": "d8_virtualization_virtualdisk_status_phase{prometheus!=\"deckhouse\", namespace=~\"$namespace\", phase!=\"Ready\"} > 0", + "format": "table", + "instant": true, + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "VirtualDISK NotReady Phases", + "transformations": [ + { + "id": "merge", + "options": {} + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "exported_namespace", + "name", + "phase" + ] } - ], - "title": "VirtualDISK NotReady Phases", - "transformations": [ - { - "id": "merge", - "options": {} - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "exported_namespace", - "name", - "phase" - ] - } - } - }, - { - "id": "organize", - "options": { - "excludeByName": {}, - "indexByName": {}, - "renameByName": { - "exported_namespace": "Namespace", - "name": "Name", - "phase": "Phase" - } - } + } + }, + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": {}, + "renameByName": { + "exported_namespace": "Namespace", + "name": "Name", + "phase": "Phase" } - ], - "type": "table" + } } ], - "title": "VirtualDIsks", - "type": "row" + "type": "table" }, { "collapsed": true, @@ -1980,7 +1986,7 @@ spec: "h": 1, "w": 24, "x": 0, - "y": 43 + "y": 64 }, "id": 54, "panels": [ @@ -2036,8 +2042,7 @@ spec: "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2168,8 +2173,7 @@ spec: "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "light-red", @@ -2292,8 +2296,7 @@ spec: "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2423,8 +2426,7 @@ spec: "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2524,14 +2526,14 @@ spec: "type": "row" } ], - "refresh": "", + "refresh": "1m", "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { - "selected": true, + "selected": false, "text": "main", "value": "P0D6E4079E36703EB" }, @@ -2552,10 +2554,10 @@ spec: "current": { "selected": true, "text": [ - "All" + "perf" ], "value": [ - "$__all" + "perf" ] }, "datasource": { @@ -2581,7 +2583,7 @@ spec: }, { "current": { - "selected": true, + "selected": false, "text": [ "All" ],