From bccc2090b4f78fd29cfdbdac47ee5e35c3c8c333 Mon Sep 17 00:00:00 2001 From: mamoutou-diarra Date: Wed, 22 Jul 2026 08:58:55 +0000 Subject: [PATCH 1/4] add cpu and ram usage info for mix testnet dashboard --- .../public-internal-mix-testnet.yaml | 709 ++++++++++++------ 1 file changed, 480 insertions(+), 229 deletions(-) diff --git a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml index b480c17..a524dd8 100644 --- a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml +++ b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml @@ -28,7 +28,7 @@ data: "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 511, + "id": 0, "links": [], "panels": [ { @@ -189,7 +189,9 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", + "exemplar": false, "expr": "sum(mix_messages_forwarded_total{namespace=~\"$namespace\", instance=~\"$pod\"})", + "instant": false, "legendFormat": "{{instance}}", "range": true, "refId": "A" @@ -543,7 +545,7 @@ data: "type": "timeseries" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, @@ -551,250 +553,251 @@ data: "y": 17 }, "id": 46, - "panels": [], - "title": "Mix Error", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 2, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" }, - "showPoints": "always", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 14, + "x": 0, + "y": 32 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 14, - "x": 0, - "y": 18 - }, - "id": 10, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "editorMode": "code", + "expr": "sum by (error) (increase(mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"}[$__rate_interval]))\n", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Error Increase Over Time", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.3.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "VictoriaMetrics" }, - "editorMode": "code", - "expr": "sum by (error) (increase(mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"}[$__rate_interval]))\n", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Increase Over Time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "red", - "value": 80 - } - ] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 10, - "x": 14, - "y": 18 - }, - "id": 53, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "gridPos": { + "h": 5, + "w": 10, + "x": 14, + "y": 32 + }, + "id": 53, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" + }, + "editorMode": "code", + "expr": "sum by (error) (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } ], - "fields": "", - "values": false + "title": "Error Total By Category", + "type": "stat" }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.3.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "VictoriaMetrics" }, - "editorMode": "code", - "expr": "sum by (error) (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Error Total By Category", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "fieldMinMax": false, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "fieldMinMax": false, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] + "gridPos": { + "h": 3, + "w": 10, + "x": 14, + "y": 51 + }, + "id": 54, + "options": { + "displayMode": "gradient", + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 10, - "x": 14, - "y": 23 - }, - "id": 54, - "options": { - "displayMode": "gradient", - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": false - }, - "maxVizHeight": 300, - "minVizHeight": 16, - "minVizWidth": 8, - "namePlacement": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" + }, + "editorMode": "code", + "expr": "sum (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "sizing": "auto", - "valueMode": "color" - }, - "pluginVersion": "12.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "editorMode": "code", - "expr": "sum (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", - "legendFormat": "__auto", - "range": true, - "refId": "A" + "title": "Error Total ALL", + "type": "bargauge" } ], - "title": "Error Total ALL", - "type": "bargauge" + "title": "Mix Error", + "type": "row" }, { "collapsed": true, @@ -802,7 +805,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 26 + "y": 18 }, "id": 45, "panels": [ @@ -838,7 +841,7 @@ data: "h": 4, "w": 24, "x": 0, - "y": 27 + "y": 71 }, "id": 52, "options": { @@ -987,7 +990,7 @@ data: "h": 6, "w": 24, "x": 0, - "y": 31 + "y": 75 }, "id": 9, "options": { @@ -1069,7 +1072,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 19 }, "id": 49, "panels": [], @@ -1142,7 +1145,7 @@ data: "h": 6, "w": 12, "x": 0, - "y": 28 + "y": 20 }, "id": 22, "options": { @@ -1241,7 +1244,7 @@ data: "h": 6, "w": 12, "x": 12, - "y": 28 + "y": 20 }, "id": 21, "options": { @@ -1273,6 +1276,254 @@ data: ], "title": "Data Rate RX", "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 57, + "panels": [], + "title": "Resource Usage", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P4169E866C3094E38" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Bytes", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 25, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 27 + }, + "id": 58, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\",pod=~\"$pod\",image!=\"\",container!=\"\"}) by(pod)", + "interval": "", + "legendFormat": "{{ container }}", + "range": true, + "refId": "A" + } + ], + "title": "Memory Usage by Pod", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "P4169E866C3094E38" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "CPU Cores", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 25, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 4, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "limit" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#F2495C", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 27 + }, + "id": 59, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "builder", + "exemplar": true, + "expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$namespace\",pod=~\"$pod\",image!=\"\",container!=\"\"}[$__rate_interval])) by(pod)", + "interval": "", + "legendFormat": "{{ pod }}", + "range": true, + "refId": "A" + } + ], + "title": "CPU Usage by Pod", + "type": "timeseries" } ], "preload": false, @@ -1322,12 +1573,12 @@ data: ] }, "time": { - "from": "now-1h", + "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "browser", - "title": "Internal - MIX testnet 0.2", + "title": "Internal - MIX testnet 0.2 ", "uid": "akgtzjg29062026", - "version": 1 + "version": 5 } \ No newline at end of file From 8116ee38fa69fc6b8f41c7dae52075df178fc428 Mon Sep 17 00:00:00 2001 From: mamoutou-diarra Date: Wed, 22 Jul 2026 15:53:46 +0000 Subject: [PATCH 2/4] add messages count over time and fix old panels --- .../public-internal-mix-testnet.yaml | 516 +++++++++++------- 1 file changed, 311 insertions(+), 205 deletions(-) diff --git a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml index a524dd8..f98e656 100644 --- a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml +++ b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml @@ -112,7 +112,7 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", - "expr": "sum(mix_messages_recvd_total{namespace=~\"$namespace\", instance=~\"$pod\"})", + "expr": "sum(increase(mix_messages_recvd_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", "legendFormat": "{{instance}}", "range": true, "refId": "A" @@ -190,7 +190,7 @@ data: }, "editorMode": "code", "exemplar": false, - "expr": "sum(mix_messages_forwarded_total{namespace=~\"$namespace\", instance=~\"$pod\"})", + "expr": "sum(increase(mix_messages_forwarded_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", "instant": false, "legendFormat": "{{instance}}", "range": true, @@ -268,7 +268,7 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", - "expr": "sum by (type)(mix_messages_recvd_total{namespace=~\"$namespace\", instance=~\"$pod\"})", + "expr": "sum by (type)(increase(mix_messages_recvd_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", "legendFormat": "{{instance}}", "range": true, "refId": "A" @@ -345,7 +345,7 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", - "expr": "sum by (type)(mix_messages_forwarded_total{namespace=~\"$namespace\", instance=~\"$pod\"})", + "expr": "sum by (type)(increase(mix_messages_forwarded_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", "legendFormat": "{{instance}}", "range": true, "refId": "A" @@ -544,13 +544,113 @@ data: "title": "Mix Forwarded Message Rate", "type": "timeseries" }, + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" + }, + "description": "Include all messages types", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "msg", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 60, + "options": { + "legend": { + "calcs": [ + "sum", + "mean", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "editorMode": "code", + "expr": "sum by (instance) (increase(mix_messages_forwarded_total{namespace=~\"$namespace\",instance=~\"$pod\"\n}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Mix Forwarded Message (over time)", + "type": "timeseries" + }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 17 + "y": 25 }, "id": 46, "panels": [ @@ -620,13 +720,16 @@ data: "h": 8, "w": 14, "x": 0, - "y": 32 + "y": 26 }, "id": 10, "options": { "legend": { - "calcs": [], - "displayMode": "list", + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", "placement": "bottom", "showLegend": true }, @@ -685,7 +788,7 @@ data: "h": 5, "w": 10, "x": 14, - "y": 32 + "y": 26 }, "id": 53, "options": { @@ -713,7 +816,9 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", - "expr": "sum by (error) (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", + "exemplar": false, + "expr": "sum by (error)(increase(mix_messages_error_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", + "instant": false, "legendFormat": "__auto", "range": true, "refId": "A" @@ -751,7 +856,7 @@ data: "h": 3, "w": 10, "x": 14, - "y": 51 + "y": 41 }, "id": 54, "options": { @@ -786,7 +891,7 @@ data: "uid": "VictoriaMetrics" }, "editorMode": "code", - "expr": "sum (mix_messages_error_total{namespace=~\"$namespace\",instance=~\"$pod\"})", + "expr": "sum (increase(mix_messages_error_total{namespace=~\"$namespace\", instance=~\"$pod\"}[$__range]))", "legendFormat": "__auto", "range": true, "refId": "A" @@ -805,7 +910,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 18 + "y": 26 }, "id": 45, "panels": [ @@ -841,7 +946,7 @@ data: "h": 4, "w": 24, "x": 0, - "y": 71 + "y": 27 }, "id": 52, "options": { @@ -990,7 +1095,7 @@ data: "h": 6, "w": 24, "x": 0, - "y": 75 + "y": 31 }, "id": 9, "options": { @@ -1067,215 +1172,216 @@ data: "type": "row" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 19 + "y": 27 }, "id": 49, - "panels": [], - "title": "Data Rate", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 2, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 60 + }, + "id": 22, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 20 - }, - "id": 22, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "editorMode": "code", + "expr": "rate(sum by (pod)(container_network_transmit_bytes_total{\n namespace=~\"$namespace\",\n pod=~\"$pod\"\n})[$__rate_interval])*8\n", + "legendFormat": "{{pod}} ", + "range": true, + "refId": "A" + } + ], + "title": "Data Rate TX", + "type": "timeseries" }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.3.0", - "targets": [ { "datasource": { "type": "prometheus", "uid": "VictoriaMetrics" }, - "editorMode": "code", - "expr": "rate(sum by (pod)(container_network_transmit_bytes_total{\n namespace=~\"$namespace\",\n pod=~\"$pod\"\n})[$__rate_interval])*8\n", - "legendFormat": "{{pod}} ", - "range": true, - "refId": "A" - } - ], - "title": "Data Rate TX", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 2, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" }, - "showPoints": "auto", - "showValues": false, - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 60 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "VictoriaMetrics" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 20 - }, - "id": 21, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.3.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "VictoriaMetrics" - }, - "editorMode": "code", - "expr": "rate(sum by (pod)(container_network_receive_bytes_total{\n namespace=~\"$namespace\",\n pod=~\"$pod\"\n})[$__rate_interval])*8\n", - "legendFormat": "{{pod}} ", - "range": true, - "refId": "A" + "editorMode": "code", + "expr": "rate(sum by (pod)(container_network_receive_bytes_total{\n namespace=~\"$namespace\",\n pod=~\"$pod\"\n})[$__rate_interval])*8\n", + "legendFormat": "{{pod}} ", + "range": true, + "refId": "A" + } + ], + "title": "Data Rate RX", + "type": "timeseries" } ], - "title": "Data Rate RX", - "type": "timeseries" + "title": "Data Rate", + "type": "row" }, { "collapsed": false, @@ -1283,7 +1389,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 26 + "y": 28 }, "id": 57, "panels": [], @@ -1360,7 +1466,7 @@ data: "h": 8, "w": 12, "x": 0, - "y": 27 + "y": 29 }, "id": 58, "options": { @@ -1486,7 +1592,7 @@ data: "h": 8, "w": 12, "x": 12, - "y": 27 + "y": 29 }, "id": 59, "options": { @@ -1573,12 +1679,12 @@ data: ] }, "time": { - "from": "now-24h", + "from": "now-2d", "to": "now" }, "timepicker": {}, "timezone": "browser", - "title": "Internal - MIX testnet 0.2 ", + "title": "Internal - MIX testnet 0.2", "uid": "akgtzjg29062026", - "version": 5 + "version": 2 } \ No newline at end of file From f961751b1ba62c1c2cb76f077949a9bc3e3e0d7d Mon Sep 17 00:00:00 2001 From: mamoutou-diarra Date: Sun, 26 Jul 2026 15:03:06 +0000 Subject: [PATCH 3/4] set memory workingset legend to {{pod}} --- fleet/grafana-dashboards/public-internal-mix-testnet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml index f98e656..bed3920 100644 --- a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml +++ b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml @@ -1497,7 +1497,7 @@ data: "exemplar": true, "expr": "sum(container_memory_working_set_bytes{namespace=\"$namespace\",pod=~\"$pod\",image!=\"\",container!=\"\"}) by(pod)", "interval": "", - "legendFormat": "{{ container }}", + "legendFormat": "{{ pod }}", "range": true, "refId": "A" } From e942af1a2e26316e146b641fa36a70e2503372f5 Mon Sep 17 00:00:00 2001 From: mamoutou-diarra Date: Sun, 2 Aug 2026 08:36:24 +0000 Subject: [PATCH 4/4] change datasoure uid --- fleet/grafana-dashboards/public-internal-mix-testnet.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml index bed3920..76cb14d 100644 --- a/fleet/grafana-dashboards/public-internal-mix-testnet.yaml +++ b/fleet/grafana-dashboards/public-internal-mix-testnet.yaml @@ -1399,7 +1399,7 @@ data: { "datasource": { "type": "prometheus", - "uid": "P4169E866C3094E38" + "uid": "VictoriaMetrics" }, "fieldConfig": { "defaults": { @@ -1508,7 +1508,7 @@ data: { "datasource": { "type": "prometheus", - "uid": "P4169E866C3094E38" + "uid": "VictoriaMetrics" }, "fieldConfig": { "defaults": {