NO-ISSUE: fix network transfer widget in grafana dashboard
@@ -34,7 +34,7 @@ data:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "iteration": 1661505238617,
+ "iteration": 1663777225999,
"links": [],
"liveNow": false,
"panels": [
@@ -286,7 +286,7 @@ data:
"type": "prometheus",
"uid": "gH4yqWBnz"
},
- "expr": "sum (container_network_receive_bytes_total{namespace=\"$namespace\",pod=~\"assisted-service-.*\"})",
+ "expr": "sum (rate(container_network_receive_bytes_total{namespace=\"$namespace\",pod=~\"assisted-service-.*\"}[$__interval]))",
"interval": "",
"legendFormat": "",
"refId": "A"
@@ -297,6 +297,7 @@ data:
},
{
"datasource": {
+ "type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
@@ -352,7 +353,11 @@ data:
"pluginVersion": "9.0.3",
"targets": [
{
- "expr": "sum (container_network_transmit_bytes_total{namespace=\"$namespace\",pod=~\"assisted-service-.*\"})",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "gH4yqWBnz"
+ },
+ "expr": "sum(rate(container_network_transmit_bytes_total{namespace=\"$namespace\",pod=~\"assisted-service-.*\"}[$__interval]))",
"interval": "",
"legendFormat": "",
"refId": "A"
@@ -1147,6 +1152,6 @@ data:
"timezone": "",
"title": "Assisted Service Resource Dashboard",
"uid": "assisted-service-resource-dashboard",
- "version": 452,
+ "version": 454,
"weekStart": ""
}
