diff --git a/dashboards/k8s-views-pods.json b/dashboards/k8s-views-pods.json index 00ae114..5ff0180 100644 --- a/dashboards/k8s-views-pods.json +++ b/dashboards/k8s-views-pods.json @@ -145,7 +145,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -205,7 +205,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -265,7 +265,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -325,7 +325,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -420,7 +420,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -483,7 +483,7 @@ }, "textMode": "name" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -550,7 +550,7 @@ }, "textMode": "value" }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -651,7 +651,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -721,7 +721,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -795,7 +795,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -864,7 +864,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -982,7 +982,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.5.2", + "pluginVersion": "10.1.0", "targets": [ { "datasource": { @@ -1188,6 +1188,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -1311,6 +1312,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" @@ -1436,6 +1438,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -1557,6 +1560,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" @@ -1662,6 +1666,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" @@ -1744,6 +1749,249 @@ "title": "CPU Throttled seconds by container", "type": "timeseries" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 38 + }, + "id": 62, + "panels": [], + "title": "Kubernetes", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "blue", + "mode": "thresholds" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Percent", + "axisPlacement": "auto", + "barAlignment": 0, + "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", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "yellow", + "value": 20 + }, + { + "color": "green", + "value": 30 + }, + { + "color": "#EAB839", + "value": 70 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 39 + }, + "id": 60, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(container_oom_events_total{namespace=\"${namespace}\", pod=\"${pod}\", container!=\"\"}[$__rate_interval])) by (container)", + "interval": "", + "legendFormat": "{{ container }}", + "range": true, + "refId": "A" + } + ], + "title": "OOM Events by container", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "blue", + "mode": "thresholds" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Percent", + "axisPlacement": "auto", + "barAlignment": 0, + "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", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "yellow", + "value": 20 + }, + { + "color": "green", + "value": 30 + }, + { + "color": "#EAB839", + "value": 70 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 39 + }, + "id": 61, + "options": { + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "8.3.3", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=~\"${namespace}\", pod=\"${pod}\", container!=\"\"}[$__rate_interval])) by (container)", + "interval": "", + "legendFormat": "{{ container }}", + "range": true, + "refId": "A" + } + ], + "title": "Container Restarts by container", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -1754,7 +2002,7 @@ "h": 1, "w": 24, "x": 0, - "y": 38 + "y": 47 }, "id": 45, "panels": [], @@ -1794,6 +2042,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -1832,7 +2081,7 @@ "h": 8, "w": 12, "x": 0, - "y": 39 + "y": 48 }, "id": 31, "options": { @@ -1899,6 +2148,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -1937,7 +2187,7 @@ "h": 8, "w": 12, "x": 12, - "y": 39 + "y": 48 }, "id": 34, "options": { @@ -2004,6 +2254,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -2042,7 +2293,7 @@ "h": 8, "w": 12, "x": 0, - "y": 47 + "y": 56 }, "id": 36, "options": { @@ -2109,6 +2360,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 2, "pointSize": 5, @@ -2147,7 +2399,7 @@ "h": 8, "w": 12, "x": 12, - "y": 47 + "y": 56 }, "id": 37, "options": { @@ -2333,6 +2585,6 @@ "timezone": "", "title": "Kubernetes / Views / Pods", "uid": "k8s_views_pods", - "version": 20, + "version": 21, "weekStart": "" }