diff --git a/jsonnetfile.json b/jsonnetfile.json index ad5fe5bcde374c76bae252210ee2b77196a23005..679398043f158ea3a9c3d989274c9d1b18cf9b30 100644 --- a/jsonnetfile.json +++ b/jsonnetfile.json @@ -1,7 +1,6 @@ { "dependencies": [ { - "name": "kube-prometheus", "source": { "local": { "directory": "jsonnet/kube-prometheus" @@ -9,5 +8,6 @@ }, "version": "" } - ] + ], + "legacyImports": true } diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json index 093c62a52943dcb168cece494bbbbfbf544b3eac..bbc1640086da93b8af01f906832904e726454736 100644 --- a/jsonnetfile.lock.json +++ b/jsonnetfile.lock.json @@ -1,40 +1,36 @@ { "dependencies": [ { - "name": "etcd-mixin", "source": { "git": { - "remote": "https://github.com/coreos/etcd", - "subdir": "Documentation/etcd-mixin" + "remote": "https://github.com/brancz/kubernetes-grafana", + "subdir": "grafana" } }, - "version": "5770a6d286fe48682e29b54ce0df37e7d24b3280", - "sum": "Ko3qhNfC2vN/houLh6C0Ryacjv70gl0DVPGU/PQ4OD0=" + "version": "539a90dbf63c812ad0194d8078dd776868a11c81", + "sum": "b8faWX1qqLGyN67sA36oRqYZ5HX+tHBRMPtrWRqIysE=" }, { - "name": "grafana", "source": { "git": { - "remote": "https://github.com/brancz/kubernetes-grafana", - "subdir": "grafana" + "remote": "https://github.com/coreos/etcd", + "subdir": "Documentation/etcd-mixin" } }, - "version": "539a90dbf63c812ad0194d8078dd776868a11c81", - "sum": "b8faWX1qqLGyN67sA36oRqYZ5HX+tHBRMPtrWRqIysE=" + "version": "798c073b894a41a5296ef0266923fa54f61c36ae", + "sum": "Ko3qhNfC2vN/houLh6C0Ryacjv70gl0DVPGU/PQ4OD0=" }, { - "name": "grafana-builder", "source": { "git": { - "remote": "https://github.com/grafana/jsonnet-libs", - "subdir": "grafana-builder" + "remote": "https://github.com/coreos/prometheus-operator", + "subdir": "jsonnet/prometheus-operator" } }, - "version": "676ff4b4fe9135f85a5d6e30523d64d2d3713087", - "sum": "ELsYwK+kGdzX1mee2Yy+/b2mdO4Y503BOCDkFzwmGbE=" + "version": "8d44e0990230144177f97cf62ae4f43b1c4e3168", + "sum": "5U7/8MD3pF9O0YDTtUhg4vctkUBRVFxZxWUyhtNiBM8=" }, { - "name": "grafonnet", "source": { "git": { "remote": "https://github.com/grafana/grafonnet-lib", @@ -45,90 +41,85 @@ "sum": "14YBZUP/cl8qi9u86xiuUS4eXQrEAam+4GSg6i9n9Ys=" }, { - "name": "ksonnet", "source": { "git": { - "remote": "https://github.com/ksonnet/ksonnet-lib", - "subdir": "" + "remote": "https://github.com/grafana/jsonnet-libs", + "subdir": "grafana-builder" } }, - "version": "0d2f82676817bbf9e4acf6495b2090205f323b9f", - "sum": "h28BXZ7+vczxYJ2sCt8JuR9+yznRtU/iA6DCpQUrtEg=" + "version": "e92000a708ded5bde1dd332a8e7457d0b39b7928", + "sum": "slxrtftVDiTlQK22ertdfrg4Epnq97gdrLI63ftUfaE=" }, { - "name": "kube-prometheus", "source": { - "local": { - "directory": "jsonnet/kube-prometheus" + "git": { + "remote": "https://github.com/ksonnet/ksonnet-lib", + "subdir": "" } }, - "version": "" + "version": "0d2f82676817bbf9e4acf6495b2090205f323b9f", + "sum": "h28BXZ7+vczxYJ2sCt8JuR9+yznRtU/iA6DCpQUrtEg=", + "name": "ksonnet" }, { - "name": "kubernetes-mixin", "source": { "git": { "remote": "https://github.com/kubernetes-monitoring/kubernetes-mixin", "subdir": "" } }, - "version": "68f82d2a428d91df57e9af43739981a6a8ede897", - "sum": "J/tuXi0Z8GRHo63pM17YFIyk4QgkFuMcQ20mAxi1flM=" + "version": "003c3e8db3aee2699b9e31fe8fd0cb906354a48f", + "sum": "rMy/F8MHwyKuyud73q9vY8PrX6BEODTU9ela03iv9UY=" }, { - "name": "node-mixin", "source": { "git": { - "remote": "https://github.com/prometheus/node_exporter", - "subdir": "docs/node-mixin" + "remote": "https://github.com/kubernetes-monitoring/kubernetes-mixin", + "subdir": "lib/promgrafonnet" } }, - "version": "2cae917bb7e0b6379221e8a24da012b16e63d661", - "sum": "7vEamDTP9AApeiF4Zu9ZyXzDIs3rYHzwf9k7g8X+wsg=" + "version": "003c3e8db3aee2699b9e31fe8fd0cb906354a48f", + "sum": "VhgBM39yv0f4bKv8VfGg4FXkg573evGDRalip9ypKbc=" }, { - "name": "prometheus", "source": { "git": { - "remote": "https://github.com/prometheus/prometheus", - "subdir": "documentation/prometheus-mixin" + "remote": "https://github.com/metalmatze/slo-libsonnet", + "subdir": "slo-libsonnet" } }, - "version": "31700a05df64c2b4e32bb0ecd8baa25279144778", - "sum": "/cohvDTaIiLElG66tKeQsi4v1M9mlGDKjOBSWivL9TU=" + "version": "437c402c5f3ad86c3c16db8471f1649284fef0ee", + "sum": "2Zcyku1f558VrUpMaJnI78fahDksPLcS1idmxxwcQ7Q=" }, { - "name": "prometheus-operator", "source": { "git": { - "remote": "https://github.com/coreos/prometheus-operator", - "subdir": "jsonnet/prometheus-operator" + "remote": "https://github.com/prometheus/node_exporter", + "subdir": "docs/node-mixin" } }, - "version": "8d44e0990230144177f97cf62ae4f43b1c4e3168", - "sum": "5U7/8MD3pF9O0YDTtUhg4vctkUBRVFxZxWUyhtNiBM8=" + "version": "04ad4b351058bc89e83702d149f2961efa989bf4", + "sum": "7vEamDTP9AApeiF4Zu9ZyXzDIs3rYHzwf9k7g8X+wsg=" }, { - "name": "promgrafonnet", "source": { "git": { - "remote": "https://github.com/kubernetes-monitoring/kubernetes-mixin", - "subdir": "lib/promgrafonnet" + "remote": "https://github.com/prometheus/prometheus", + "subdir": "documentation/prometheus-mixin" } }, - "version": "a7ee9d1abe1b1a3670a02ede1135cadb660b9d0c", - "sum": "VhgBM39yv0f4bKv8VfGg4FXkg573evGDRalip9ypKbc=" + "version": "ddd49b743c1c03527064d38f4830258b4a6ccb27", + "sum": "u1YS9CVuBTcw2vks0PZbLb1gtlI/7bVGDVBZsjWFLTw=", + "name": "prometheus" }, { - "name": "slo-libsonnet", "source": { - "git": { - "remote": "https://github.com/metalmatze/slo-libsonnet", - "subdir": "slo-libsonnet" + "local": { + "directory": "jsonnet/kube-prometheus" } }, - "version": "437c402c5f3ad86c3c16db8471f1649284fef0ee", - "sum": "2Zcyku1f558VrUpMaJnI78fahDksPLcS1idmxxwcQ7Q=" + "version": "" } - ] + ], + "legacyImports": false } diff --git a/manifests/grafana-dashboardDefinitions.yaml b/manifests/grafana-dashboardDefinitions.yaml index 66474aa9f96ae2273af9954a76be853d004d35f4..a6aee8bb13c4ef077f408f55ec3d8d0acc33499d 100644 --- a/manifests/grafana-dashboardDefinitions.yaml +++ b/manifests/grafana-dashboardDefinitions.yaml @@ -1371,16 +1371,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -1388,45 +1383,100 @@ items: "y": 1 }, "id": 3, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", "format": "time_series", - "instant": null, "intervalFactor": 1, "legendFormat": "{{namespace}}", - "refId": "A" + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -1434,30 +1484,90 @@ items: "y": 1 }, "id": 4, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", "format": "time_series", - "instant": null, "intervalFactor": 1, "legendFormat": "{{namespace}}", - "refId": "A" + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "columns": [ @@ -1801,16 +1911,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -1818,45 +1923,100 @@ items: "y": 11 }, "id": 7, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", "format": "time_series", - "instant": null, "intervalFactor": 1, "legendFormat": "{{namespace}}", - "refId": "A" + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Average Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -1864,32 +2024,92 @@ items: "y": 11 }, "id": 8, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", - "targets": [ - { - "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", - "format": "time_series", - "instant": null, - "intervalFactor": 1, - "legendFormat": "{{namespace}}", - "refId": "A" - } + "lines": false, + "linewidth": 1, + "links": [ + ], - "title": "Average Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" - } - ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Rate of Bytes Transmitted", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], "repeat": null, "repeatIteration": null, "repeatRowId": null, @@ -6484,8 +6704,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -8321,8 +8541,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -9303,8 +9523,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -10854,8 +11074,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -12860,8 +13080,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -15001,8 +15221,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -19121,16 +19341,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -19138,45 +19353,100 @@ items: "y": 1 }, "id": 3, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{workload}}", - "refId": "A" + "legendFormat": "{{ workload }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -19184,30 +19454,90 @@ items: "y": 1 }, "id": 4, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{workload}}", - "refId": "A" + "legendFormat": "{{ workload }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "columns": [ @@ -19551,16 +19881,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -19568,45 +19893,100 @@ items: "y": 20 }, "id": 7, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", - "targets": [ + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, + "targets": [ { "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{workload}}", - "refId": "A" + "legendFormat": "{{ workload }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Average Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -19614,30 +19994,90 @@ items: "y": 20 }, "id": 8, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{workload}}", - "refId": "A" + "legendFormat": "{{ workload }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Average Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] } ], "repeat": null, @@ -21409,8 +21849,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -22357,8 +22797,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -28524,8 +28964,8 @@ items: "list": [ { "current": { - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "label": null, @@ -31838,16 +32278,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -31855,45 +32290,100 @@ items: "y": 1 }, "id": 3, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" + "legendFormat": "{{ pod }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -31901,30 +32391,90 @@ items: "y": 1 }, "id": 4, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" + "legendFormat": "{{ pod }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Current Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "collapse": true, @@ -31941,16 +32491,11 @@ items: "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -31958,45 +32503,100 @@ items: "y": 11 }, "id": 6, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" + "legendFormat": "{{ pod }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Average Rate of Bytes Received", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] }, { "aliasColors": { }, - "breakpoint": "50%", - "cacheTimeout": null, - "combine": { - "label": "Others", - "threshold": 0 - }, + "bars": true, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", - "description": "", - "fontSize": "80%", - "format": "Bps", + "fill": 2, "gridPos": { "h": 9, "w": 12, @@ -32004,30 +32604,90 @@ items: "y": 11 }, "id": 7, - "interval": null, "legend": { - "percentage": true, - "percentageDecimals": null, + "alignAsTable": true, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": true, "show": true, + "sort": "current", + "sortDesc": true, + "total": false, "values": true }, - "legendType": "Right side", - "maxDataPoints": 3, - "nullPointMode": "connected", - "pieType": "donut", + "lines": false, + "linewidth": 1, + "links": [ + + ], + "minSpan": 24, + "nullPointMode": "null", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + + ], + "spaceLength": 10, + "span": 24, + "stack": false, + "steppedLine": false, "targets": [ { "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", "format": "time_series", - "instant": null, "intervalFactor": 1, - "legendFormat": "{{pod}}", - "refId": "A" + "legendFormat": "{{ pod }}", + "refId": "A", + "step": 10 } ], + "thresholds": [ + + ], + "timeFrom": null, + "timeShift": null, "title": "Average Rate of Bytes Transmitted", - "type": "grafana-piechart-panel", - "valueName": "current" + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": false, + "values": [ + "current" + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] } ], "repeat": null,