diff --git a/dashboards/k8s-views-namespaces.json b/dashboards/k8s-views-namespaces.json index c89e031..8c29c0b 100644 --- a/dashboards/k8s-views-namespaces.json +++ b/dashboards/k8s-views-namespaces.json @@ -143,7 +143,7 @@ "sizing": "auto", "text": {} }, - "pluginVersion": "11.2.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -218,7 +218,7 @@ "sizing": "auto", "text": {} }, - "pluginVersion": "11.2.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -484,7 +484,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -586,7 +586,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.2.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -1850,6 +1850,109 @@ "title": "Replicas unavailable by deployment", "type": "timeseries" }, + { + "datasource": { + "default": false, + "type": "prometheus", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "bars", + "fillOpacity": 25, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 64 + }, + "id": 82, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "last" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "expr": "count(rate(container_cpu_usage_seconds_total{namespace=~\"$namespace\", image!=\"\", pod=~\"${created_by}.*\", cluster=\"$cluster\"}[$__rate_interval])) by (image)", + "interval": "", + "legendFormat": "{{ image }}", + "range": true, + "refId": "A" + } + ], + "title": "Container Image Used", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -1860,7 +1963,7 @@ "h": 1, "w": 24, "x": 0, - "y": 64 + "y": 72 }, "id": 42, "panels": [], @@ -1933,7 +2036,7 @@ "h": 8, "w": 12, "x": 0, - "y": 65 + "y": 73 }, "id": 65, "options": { @@ -2031,7 +2134,7 @@ "h": 8, "w": 12, "x": 12, - "y": 65 + "y": 73 }, "id": 66, "options": { @@ -2141,7 +2244,7 @@ "h": 8, "w": 12, "x": 0, - "y": 73 + "y": 81 }, "id": 27, "options": { @@ -2179,7 +2282,7 @@ "h": 1, "w": 24, "x": 0, - "y": 81 + "y": 89 }, "id": 76, "panels": [], @@ -2252,7 +2355,7 @@ "h": 8, "w": 12, "x": 0, - "y": 82 + "y": 90 }, "id": 78, "options": { @@ -2365,7 +2468,7 @@ "h": 8, "w": 12, "x": 12, - "y": 82 + "y": 90 }, "id": 79, "options": { @@ -2478,7 +2581,7 @@ "h": 8, "w": 12, "x": 0, - "y": 90 + "y": 98 }, "id": 80, "options": { @@ -2591,7 +2694,7 @@ "h": 8, "w": 12, "x": 12, - "y": 90 + "y": 98 }, "id": 81, "options": { @@ -2789,6 +2892,6 @@ "timezone": "", "title": "Kubernetes / Views / Namespaces", "uid": "k8s_views_ns", - "version": 38, + "version": 39, "weekStart": "" }