Skip to content

Commit

Permalink
remove container network utilization panel
Browse files Browse the repository at this point in the history
  • Loading branch information
muzammil360 authored Mar 12, 2024
1 parent 1214ac7 commit ca0da0c
Showing 1 changed file with 23 additions and 211 deletions.
234 changes: 23 additions & 211 deletions monitoring/dashboards/kubernetes/kubernetes-monitoring-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)"
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
Expand Down Expand Up @@ -460,7 +461,8 @@
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)"
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
Expand Down Expand Up @@ -545,7 +547,8 @@
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)"
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
Expand Down Expand Up @@ -630,7 +633,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -709,7 +713,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -788,7 +793,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -867,7 +873,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -946,7 +953,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -1025,7 +1033,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
Expand Down Expand Up @@ -1821,203 +1830,6 @@
"x": 0,
"y": 52
},
"id": 44,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"decimals": 2,
"editable": true,
"error": false,
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 65
},
"hiddenSeries": false,
"id": 30,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (container, pod)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> pod: {{ pod }} | {{ container }}",
"metric": "network",
"refId": "B",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (container, pod)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- pod: {{ pod }} | {{ container }}",
"metric": "network",
"refId": "D",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "A",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "C",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "E",
"step": 10
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "F",
"step": 10
}
],
"thresholds": [],
"timeRegions": [],
"title": "Containers network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
],
"yaxis": {
"align": false
}
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "e8b0578a-b992-495d-b51d-ea527c0c118b"
},
"refId": "A"
}
],
"title": "Containers network I/O",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "e8b0578a-b992-495d-b51d-ea527c0c118b"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 53
},
"id": 36,
"panels": [
{
Expand Down Expand Up @@ -2144,7 +1956,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 54
"y": 53
},
"id": 40,
"panels": [
Expand Down Expand Up @@ -2270,7 +2082,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 55
"y": 54
},
"id": 38,
"panels": [
Expand Down Expand Up @@ -2399,7 +2211,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 56
"y": 55
},
"id": 42,
"panels": [
Expand Down Expand Up @@ -2525,7 +2337,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 57
"y": 56
},
"id": 45,
"panels": [
Expand Down Expand Up @@ -2747,7 +2559,7 @@
},
"timezone": "browser",
"title": "Kubernetes Monitoring Dashboard",
"uid": "msqzbWjWkr-00",
"uid": "msqzbWjWkr-01",
"version": 1,
"weekStart": ""
}

0 comments on commit ca0da0c

Please sign in to comment.