diff --git a/salt/metalk8s/addons/prometheus-operator/deployed/chart.sls b/salt/metalk8s/addons/prometheus-operator/deployed/chart.sls index f0d3338829..365a46afcb 100644 --- a/salt/metalk8s/addons/prometheus-operator/deployed/chart.sls +++ b/salt/metalk8s/addons/prometheus-operator/deployed/chart.sls @@ -1,5 +1,9 @@ #!jinja | metalk8s_kubernetes + {%- from "metalk8s/repo/macro.sls" import build_image_name with context %} +{%- set grafana = salt.metalk8s_service_configuration.get_service_conf('metalk8s-monitoring', 'metalk8s-grafana-config') %} +{%- set prometheus = salt.metalk8s_service_configuration.get_service_conf('metalk8s-monitoring', 'metalk8s-prometheus-config') %} +{%- set alertmanager = salt.metalk8s_service_configuration.get_service_conf('metalk8s-monitoring', 'metalk8s-alertmanager-config') %} {% raw %} @@ -298,8 +302,16 @@ metadata: --- apiVersion: v1 data: - provider.yaml: "apiVersion: 1\nproviders:\n- name: 'sidecarProvider'\n orgId: 1\n\ - \ folder: ''\n type: file\n disableDeletion: false\n options:\n path: /tmp/dashboards" + provider.yaml: |- + apiVersion: 1 + providers: + - name: 'sidecarProvider' + orgId: 1 + folder: '' + type: file + disableDeletion: false + options: + path: /tmp/dashboards kind: ConfigMap metadata: labels: @@ -315,35 +327,21 @@ metadata: --- apiVersion: v1 data: - grafana.ini: '[analytics] - + grafana.ini: |- + [analytics] check_for_updates = false - reporting_enabled = false - [grafana_net] - url = https://grafana.net - [log] - mode = console - [paths] - data = /var/lib/grafana/data - logs = /var/log/grafana - plugins = /var/lib/grafana/plugins - provisioning = /etc/grafana/provisioning - [server] - root_url = /grafana - - ' kind: ConfigMap metadata: labels: @@ -359,9 +357,14 @@ metadata: --- apiVersion: v1 data: - datasource.yaml: "apiVersion: 1\ndatasources:\n- name: Prometheus\n type: prometheus\n\ - \ url: http://prometheus-operator-prometheus:9090/\n access: proxy\n isDefault:\ - \ true" + datasource.yaml: |- + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + url: http://prometheus-operator-prometheus:9090/ + access: proxy + isDefault: true kind: ConfigMap metadata: labels: @@ -378,609 +381,1211 @@ metadata: --- apiVersion: v1 data: - apiserver.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n \ - \ ],\n \"annotations\": {\n \"list\": [\n\n ]\n },\n \"\ - editable\": false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\"\ - : false,\n \"id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\"\ - ,\n \"rows\": [\n {\n \"collapse\": false,\n \"\ - collapsed\": false,\n \"panels\": [\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\": false,\n\ - \ \"colorValue\": false,\n \"colors\": [\n\ - \ \"#299c46\",\n \"rgba(237, 129,\ - \ 40, 0.89)\",\n \"#d44a3a\"\n ],\n\ - \ \"datasource\": \"$datasource\",\n \"\ - format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n\ - \ \"thresholdMarkers\": true\n },\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(up{job=\\\"apiserver\\\"})\",\n \ - \ \"format\": \"time_series\",\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Up\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \"type\"\ - : \"singlestat\",\n \"valueFontSize\": \"80%\",\n \ - \ \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\",\n \ - \ \"value\": \"null\"\n }\n \ - \ ],\n \"valueName\": \"min\"\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"\ - dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \"\ - id\": 3,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": false,\n \ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 5,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(apiserver_request_total{job=\\\"apiserver\\\", instance=~\\\ - \"$instance\\\",code=~\\\"2..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"2xx\",\n \ - \ \"refId\": \"A\"\n },\n {\n\ - \ \"expr\": \"sum(rate(apiserver_request_total{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\",code=~\\\"3..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\":\ - \ \"3xx\",\n \"refId\": \"B\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(apiserver_request_total{job=\\\"apiserver\\\", instance=~\\\"$instance\\\ - \",code=~\\\"4..\\\"}[5m]))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"4xx\",\n \"refId\": \"C\"\ - \n },\n {\n \ - \ \"expr\": \"sum(rate(apiserver_request_total{job=\\\"apiserver\\\", instance=~\\\ - \"$instance\\\",code=~\\\"5..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"5xx\",\n \ - \ \"refId\": \"D\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"RPC Rate\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 5,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\"}[5m])) by (verb, le))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{verb}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Request duration\ - \ 99th quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"s\",\n \"\ - label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 5,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : false,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(workqueue_adds_total{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\"}[5m])) by (instance, name)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} {{name}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Work Queue\ - \ Add Rate\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 6,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : false,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(workqueue_depth{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\"}[5m])) by (instance, name)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} {{name}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Work Queue\ - \ Depth\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 7,\n \"legend\": {\n \"\ - alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\"}[5m])) by (instance, name, le))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} {{name}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Work Queue\ - \ Latency\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 8,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"etcd_helper_cache_entry_total{job=\\\ - \"apiserver\\\", instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"ETCD Cache Entry Total\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 9,\n \"legend\": {\n \"\ - alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 4,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(etcd_helper_cache_hit_total{job=\\\"apiserver\\\ - \",instance=~\\\"$instance\\\"}[5m])) by (intance)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} hit\",\n \ - \ \"refId\": \"A\"\n },\n \ - \ {\n \"expr\": \"sum(rate(etcd_helper_cache_miss_total{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}[5m])) by (instance)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\ - \ miss\",\n \"refId\": \"B\"\n \ - \ }\n ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"ETCD Cache Hit/Miss\ - \ Rate\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 10,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 4,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\":\ - \ \"{{instance}} get\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\":\ - \ \"{{instance}} miss\",\n \"refId\": \"B\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"ETCD Cache\ - \ Duration 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 11,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"process_resident_memory_bytes{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory\",\n \"tooltip\":\ - \ {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 12,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(process_cpu_seconds_total{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 13,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"go_goroutines{job=\\\ - \"apiserver\\\",instance=~\\\"$instance\\\"}\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Goroutines\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": true,\n \ - \ \"label\": null,\n \"multi\": false,\n \"name\"\ - : \"instance\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(apiserver_request_total{job=\\\"apiserver\\\ - \"}, instance)\",\n \"refresh\": 2,\n \"regex\"\ - : \"\",\n \"sort\": 1,\n \"tagValuesQuery\": \"\"\ - ,\n \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / API server\",\n\ - \ \"uid\": \"09ec8aa1e996d6ffcd6817bbaff4db1b\",\n \"version\": 0\n}" + apiserver.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(up{job=\"apiserver\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Up", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"2..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "2xx", + "refId": "A" + }, + { + "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"3..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "3xx", + "refId": "B" + }, + { + "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"4..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "4xx", + "refId": "C" + }, + { + "expr": "sum(rate(apiserver_request_total{job=\"apiserver\", instance=~\"$instance\",code=~\"5..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5xx", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(apiserver_request_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\"}[5m])) by (verb, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Request duration 99th quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 5, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(workqueue_adds_total{job=\"apiserver\", instance=~\"$instance\"}[5m])) by (instance, name)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Add Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 6, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(workqueue_depth{job=\"apiserver\", instance=~\"$instance\"}[5m])) by (instance, name)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Depth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 7, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"apiserver\", instance=~\"$instance\"}[5m])) by (instance, name, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Latency", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "etcd_helper_cache_entry_total{job=\"apiserver\", instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "ETCD Cache Entry Total", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(etcd_helper_cache_hit_total{job=\"apiserver\",instance=~\"$instance\"}[5m])) by (intance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} hit", + "refId": "A" + }, + { + "expr": "sum(rate(etcd_helper_cache_miss_total{job=\"apiserver\",instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} miss", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "ETCD Cache Hit/Miss Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_get_duration_seconds_bucket{job=\"apiserver\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} get", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.99,sum(rate(etcd_request_cache_add_duration_seconds_bucket{job=\"apiserver\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} miss", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "ETCD Cache Duration 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 11, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{job=\"apiserver\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 12, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(process_cpu_seconds_total{job=\"apiserver\",instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 13, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{job=\"apiserver\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Goroutines", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(apiserver_request_total{job=\"apiserver\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / API server", + "uid": "09ec8aa1e996d6ffcd6817bbaff4db1b", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -997,611 +1602,1318 @@ metadata: --- apiVersion: v1 data: - cluster-total.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n\ - \ ],\n \"annotations\": {\n \"list\": [\n {\n \ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n\ - \ \"enable\": true,\n \"hide\": true,\n \ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\": \"\ - Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"\ - graphTooltip\": 0,\n \"hideControls\": false,\n \"id\": null,\n \"links\"\ - : [\n\n ],\n \"panels\": [\n {\n \"collapse\": false,\n\ - \ \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"panels\"\ - : [\n\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Current Bandwidth\",\n \"titleSize\": \"\ - h6\",\n \"type\": \"row\"\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"breakpoint\": \"50%\",\n \"cacheTimeout\"\ - : null,\n \"combine\": {\n \"label\": \"Others\",\n\ - \ \"threshold\": 0\n },\n \"datasource\"\ - : \"$datasource\",\n \"fontSize\": \"80%\",\n \"format\"\ - : \"Bps\",\n \"gridPos\": {\n \"h\": 9,\n \ - \ \"w\": 12,\n \"x\": 0,\n \"y\": 1\n \ - \ },\n \"id\": 3,\n \"interval\": null,\n \ - \ \"legend\": {\n \"percentage\": true,\n \"\ - percentageDecimals\": null,\n \"show\": true,\n \ - \ \"values\": true\n },\n \"legendType\": \"Right side\"\ - ,\n \"maxDataPoints\": 3,\n \"nullPointMode\": \"connected\"\ - ,\n \"pieType\": \"donut\",\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\": \"{{namespace}}\"\ - ,\n \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Current Rate of Bytes Received\",\n \"type\"\ - : \"grafana-piechart-panel\",\n \"valueName\": \"current\"\n \ - \ },\n {\n \"aliasColors\": {\n\n },\n \ - \ \"breakpoint\": \"50%\",\n \"cacheTimeout\": null,\n \ - \ \"combine\": {\n \"label\": \"Others\",\n \"\ - threshold\": 0\n },\n \"datasource\": \"$datasource\",\n\ - \ \"fontSize\": \"80%\",\n \"format\": \"Bps\",\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 1\n },\n \ - \ \"id\": 4,\n \"interval\": null,\n \"legend\": {\n\ - \ \"percentage\": true,\n \"percentageDecimals\"\ - : null,\n \"show\": true,\n \"values\": true\n \ - \ },\n \"legendType\": \"Right side\",\n \"maxDataPoints\"\ - : 3,\n \"nullPointMode\": \"connected\",\n \"pieType\":\ - \ \"donut\",\n \"targets\": [\n {\n \ - \ \"expr\": \"sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\": \"{{namespace}}\"\ - ,\n \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Current Rate of Bytes Transmitted\",\n \"\ - type\": \"grafana-piechart-panel\",\n \"valueName\": \"current\"\n\ - \ },\n {\n \"columns\": [\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n },\n\ - \ {\n \"text\": \"\",\n \"\ - value\": \"\"\n }\n ],\n \"datasource\":\ - \ \"$datasource\",\n \"fill\": 1,\n \"fontSize\": \"90%\"\ - ,\n \"gridPos\": {\n \"h\": 9,\n \"w\"\ - : 24,\n \"x\": 0,\n \"y\": 10\n },\n\ - \ \"id\": 5,\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"minSpan\": 24,\n \"nullPointMode\": \"null as zero\"\ - ,\n \"renderer\": \"flot\",\n \"scroll\": true,\n \ - \ \"showHeader\": true,\n \"sort\": {\n \"col\"\ - : 0,\n \"desc\": false\n },\n \"spaceLength\"\ - : 10,\n \"span\": 24,\n \"styles\": [\n {\n\ - \ \"alias\": \"Time\",\n \"colorMode\":\ - \ null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Time\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"hidden\",\n \ - \ \"unit\": \"short\"\n },\n {\n \ - \ \"alias\": \"Current Bandwidth Received\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Current Bandwidth Transmitted\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\": \"\"\ - ,\n \"pattern\": \"Value #B\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Average Bandwidth Received\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n\ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"Bps\"\n },\n\ - \ {\n \"alias\": \"Average Bandwidth Transmitted\"\ - ,\n \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"Bps\"\n },\n\ - \ {\n \"alias\": \"Rate of Received Packets\"\ - ,\n \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #E\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"pps\"\n },\n\ - \ {\n \"alias\": \"Rate of Transmitted Packets\"\ - ,\n \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #F\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"pps\"\n },\n\ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \"\ - colors\": [\n\n ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #G\",\n \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"pps\"\ - \n },\n {\n \"alias\": \"Rate\ - \ of Transmitted Packets Dropped\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #H\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n {\n \ - \ \"alias\": \"Namespace\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": true,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods?orgId=1&refresh=30s&var-namespace=$__cell\"\ - ,\n \"pattern\": \"namespace\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n }\n ],\n \ - \ \"targets\": [\n {\n \"expr\": \"\ - sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\\\".+\\\"\ - }[$interval:$resolution])) by (namespace))\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"F\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"G\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"H\",\n \"step\": 10\n \ - \ }\n ],\n \"title\": \"Current Status\",\n \ - \ \"transform\": \"table\",\n \"type\": \"table\"\n \ - \ },\n {\n \"collapse\": true,\n \"collapsed\":\ - \ true,\n \"gridPos\": {\n \"h\": 1,\n \ - \ \"w\": 24,\n \"x\": 0,\n \"y\": 10\n \ - \ },\n \"id\": 6,\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"breakpoint\": \"50%\",\n \"cacheTimeout\": null,\n\ - \ \"combine\": {\n \"label\": \"Others\"\ - ,\n \"threshold\": 0\n },\n \ - \ \"datasource\": \"$datasource\",\n \"fontSize\"\ - : \"80%\",\n \"format\": \"Bps\",\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 11\n \ - \ },\n \"id\": 7,\n \"interval\"\ - : null,\n \"legend\": {\n \"percentage\"\ - : true,\n \"percentageDecimals\": null,\n \ - \ \"show\": true,\n \"values\": true\n \ - \ },\n \"legendType\": \"Right side\",\n \ - \ \"maxDataPoints\": 3,\n \"nullPointMode\":\ - \ \"connected\",\n \"pieType\": \"donut\",\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"instant\":\ - \ null,\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Average Rate of Bytes Received\",\n \ - \ \"type\": \"grafana-piechart-panel\",\n \"valueName\"\ - : \"current\"\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"breakpoint\": \"50%\",\n\ - \ \"cacheTimeout\": null,\n \"combine\"\ - : {\n \"label\": \"Others\",\n \"\ - threshold\": 0\n },\n \"datasource\": \"\ - $datasource\",\n \"fontSize\": \"80%\",\n \ - \ \"format\": \"Bps\",\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 11\n },\n \ - \ \"id\": 8,\n \"interval\": null,\n \ - \ \"legend\": {\n \"percentage\": true,\n\ - \ \"percentageDecimals\": null,\n \ - \ \"show\": true,\n \"values\": true\n \ - \ },\n \"legendType\": \"Right side\",\n \ - \ \"maxDataPoints\": 3,\n \"nullPointMode\": \"connected\"\ - ,\n \"pieType\": \"donut\",\n \"targets\"\ - : [\n {\n \"expr\": \"sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"instant\":\ - \ null,\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Average Rate of Bytes Transmitted\",\n \ - \ \"type\": \"grafana-piechart-panel\",\n \"valueName\"\ - : \"current\"\n }\n ],\n \"repeat\": null,\n\ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n\ - \ \"showTitle\": true,\n \"title\": \"Average Bandwidth\"\ - ,\n \"titleSize\": \"h6\",\n \"type\": \"row\"\n \ - \ },\n {\n \"collapse\": false,\n \"collapsed\":\ - \ false,\n \"gridPos\": {\n \"h\": 1,\n \ - \ \"w\": 24,\n \"x\": 0,\n \"y\": 11\n \ - \ },\n \"id\": 9,\n \"panels\": [\n\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Bandwidth History\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \"h\"\ - : 9,\n \"w\": 24,\n \"x\": 0,\n \"\ - y\": 12\n },\n \"id\": 10,\n \"legend\": {\n\ - \ \"alignAsTable\": true,\n \"avg\": true,\n \ - \ \"current\": true,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": true,\n \ - \ \"min\": true,\n \"rightSide\": true,\n \"\ - show\": true,\n \"total\": false,\n \"values\":\ - \ true\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \"minSpan\": 24,\n\ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 24,\n \"stack\"\ - : true,\n \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{namespace}}\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Receive Bandwidth\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \"label\"\ - : null,\n \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 24,\n\ - \ \"x\": 0,\n \"y\": 21\n },\n \ - \ \"id\": 11,\n \"legend\": {\n \"alignAsTable\"\ - : true,\n \"avg\": true,\n \"current\": true,\n\ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": true,\n \"min\": true,\n \ - \ \"rightSide\": true,\n \"show\": true,\n \"\ - total\": false,\n \"values\": true\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [\n\ - \n ],\n \"minSpan\": 24,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 24,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - expr\": \"sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{namespace}}\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Transmit Bandwidth\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \"label\"\ - : null,\n \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n },\n \ - \ {\n \"collapse\": true,\n \"collapsed\": true,\n \ - \ \"gridPos\": {\n \"h\": 1,\n \"w\": 24,\n\ - \ \"x\": 0,\n \"y\": 30\n },\n \ - \ \"id\": 12,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"\ - bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 24,\n \ - \ \"x\": 0,\n \"y\": 31\n },\n\ - \ \"id\": 13,\n \"legend\": {\n \ - \ \"alignAsTable\": true,\n \"avg\": true,\n\ - \ \"current\": true,\n \"hideEmpty\"\ - : true,\n \"hideZero\": true,\n \ - \ \"max\": true,\n \"min\": true,\n \ - \ \"rightSide\": true,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": true\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 24,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n\ - \ \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 24,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Received Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 24,\n \ - \ \"x\": 0,\n \"y\": 40\n \ - \ },\n \"id\": 14,\n \"legend\": {\n\ - \ \"alignAsTable\": true,\n \"avg\"\ - : true,\n \"current\": true,\n \"\ - hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": true,\n \"min\": true,\n \ - \ \"rightSide\": true,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : true\n },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 24,\n \"\ - nullPointMode\": \"connected\",\n \"paceLength\": 10,\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 24,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Transmitted Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Packets\",\n \"titleSize\": \"h6\",\n \"\ - type\": \"row\"\n },\n {\n \"collapse\": true,\n \ - \ \"collapsed\": true,\n \"gridPos\": {\n \"\ - h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 31\n },\n \"id\": 15,\n \"panels\"\ - : [\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 24,\n \ - \ \"x\": 0,\n \"y\": 50\n \ - \ },\n \"id\": 16,\n \"legend\"\ - : {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": true,\n \"min\": true,\n\ - \ \"rightSide\": true,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": true\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 24,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 24,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Received Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 24,\n \ - \ \"x\": 0,\n \"y\": 59\n \ - \ },\n \"id\": 17,\n \"legend\"\ - : {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": true,\n \"min\": true,\n\ - \ \"rightSide\": true,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": true\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 24,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 24,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \".+\\\"}[$interval:$resolution])) by (namespace))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{namespace}}\",\n \ - \ \"refId\": \"A\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Transmitted Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Errors\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"refresh\": \"30s\",\n \"rows\"\ - : [\n\n ],\n \"schemaVersion\": 18,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n },\n\ - \ \"datasource\": \"$datasource\",\n \"hide\": 0,\n\ - \ \"includeAll\": false,\n \"label\": null,\n \ - \ \"multi\": false,\n \"name\": \"resolution\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": false,\n \"text\": \"30s\",\n \ - \ \"value\": \"30s\"\n },\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n {\n \"selected\": false,\n\ - \ \"text\": \"1h\",\n \"value\"\ - : \"1h\"\n }\n ],\n \"query\"\ - : \"30s,5m,1h\",\n \"refresh\": 2,\n \"regex\":\ - \ \"\",\n \"skipUrlSync\": false,\n \"sort\": 1,\n\ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"interval\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n\ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 2,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"interval\",\n \"options\": [\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"4h\",\n \"value\": \"4h\"\n \ - \ }\n ],\n \"query\": \"4h\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"interval\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"refresh_intervals\": [\n \"5s\",\n\ - \ \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \ - \ \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Networking / Cluster\",\n \"uid\": \"\ - ff635a025bcfea7bc3dd4f508990a3e9\",\n \"version\": 0\n}" + cluster-total.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "panels": [ + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Current Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 3, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 4, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "columns": [ + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + } + ], + "datasource": "$datasource", + "fill": 1, + "fontSize": "90%", + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 5, + "lines": true, + "linewidth": 1, + "minSpan": 24, + "nullPointMode": "null as zero", + "renderer": "flot", + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": false + }, + "spaceLength": 10, + "span": 24, + "styles": [ + { + "alias": "Time", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Time", + "thresholds": [ + ], + "type": "hidden", + "unit": "short" + }, + { + "alias": "Current Bandwidth Received", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Bandwidth Transmitted", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Average Bandwidth Received", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Average Bandwidth Transmitted", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #H", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Namespace", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "d/8b7a8b326d7a6f1f04244066368c67af/kubernetes-networking-namespace-pods?orgId=1&refresh=30s&var-namespace=$__cell", + "pattern": "namespace", + "thresholds": [ + ], + "type": "number", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_transmit_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sort_desc(avg(irate(container_network_receive_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sort_desc(avg(irate(container_network_transmit_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "H", + "step": 10 + } + ], + "title": "Current Status", + "transform": "table", + "type": "table" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 6, + "panels": [ + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 11 + }, + "id": 7, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Average Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 8, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "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" + } + ], + "title": "Average Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Average Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 9, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Bandwidth History", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 12 + }, + "id": 10, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_bytes_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 11, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(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": "Transmit Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 12, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 31 + }, + "id": 13, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 40 + }, + "id": 14, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Packets", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 31 + }, + "id": 15, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 50 + }, + "id": 16, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 17, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 24, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 24, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_total{namespace=~\".+\"}[$interval:$resolution])) by (namespace))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{namespace}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Errors", + "titleSize": "h6", + "type": "row" + } + ], + "refresh": "30s", + "rows": [ + ], + "schemaVersion": 18, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "resolution", + "options": [ + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": true, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + } + ], + "query": "30s,5m,1h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Networking / Cluster", + "uid": "ff635a025bcfea7bc3dd4f508990a3e9", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -1618,524 +2930,1053 @@ metadata: --- apiVersion: v1 data: - controller-manager.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\":\ - \ [\n\n ],\n \"annotations\": {\n \"list\": [\n\n ]\n },\n\ - \ \"editable\": false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \ - \ \"hideControls\": false,\n \"id\": null,\n \"links\": [\n\n ],\n\ - \ \"refresh\": \"\",\n \"rows\": [\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"cacheTimeout\": null,\n \ - \ \"colorBackground\": false,\n \"colorValue\": false,\n\ - \ \"colors\": [\n \"#299c46\",\n \ - \ \"rgba(237, 129, 40, 0.89)\",\n \"\ - #d44a3a\"\n ],\n \"datasource\": \"$datasource\"\ - ,\n \"format\": \"none\",\n \"gauge\": {\n\ - \ \"maxValue\": 100,\n \"minValue\"\ - : 0,\n \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(up{job=\\\"kube-controller-manager\\\"})\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Up\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\": \"80%\"\ - ,\n \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\"\ - ,\n \"value\": \"null\"\n }\n\ - \ ],\n \"valueName\": \"min\"\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 3,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 10,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(workqueue_adds_total{job=\\\"kube-controller-manager\\\ - \", instance=~\\\"$instance\\\"}[5m])) by (instance, name)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} {{name}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Work Queue Add Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(workqueue_depth{job=\\\"kube-controller-manager\\\ - \", instance=~\\\"$instance\\\"}[5m])) by (instance, name)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} {{name}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Work Queue Depth\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 5,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\\\ - \"kube-controller-manager\\\", instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ name, le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{name}}\",\n \"\ - refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Work Queue Latency\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 6,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-controller-manager\\\", instance=~\\\"$instance\\\",code=~\\\"2..\\\"}[5m]))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"2xx\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(rest_client_requests_total{job=\\\"kube-controller-manager\\\", instance=~\\\ - \"$instance\\\",code=~\\\"3..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"3xx\",\n \ - \ \"refId\": \"B\"\n },\n {\n\ - \ \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-controller-manager\\\", instance=~\\\"$instance\\\",code=~\\\"4..\\\"}[5m]))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"4xx\",\n \"refId\": \"C\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(rest_client_requests_total{job=\\\"kube-controller-manager\\\", instance=~\\\ - \"$instance\\\",code=~\\\"5..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"5xx\",\n \ - \ \"refId\": \"D\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Kube API Request Rate\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 7,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 8,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(rest_client_request_latency_seconds_bucket{job=\\\"kube-controller-manager\\\ - \", instance=~\\\"$instance\\\", verb=\\\"POST\\\"}[5m])) by (verb, url, le))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{verb}} {{url}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Post Request\ - \ Latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 8,\n \"\ - legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"true\",\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": \"true\",\n \"\ - show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \"\ - lines\": true,\n \"linewidth\": 1,\n \"\ - links\": [\n\n ],\n \"nullPointMode\": \"\ - null\",\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(rest_client_request_latency_seconds_bucket{job=\\\"kube-controller-manager\\\ - \", instance=~\\\"$instance\\\", verb=\\\"GET\\\"}[5m])) by (verb, url, le))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{verb}} {{url}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Get Request\ - \ Latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 9,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"process_resident_memory_bytes{job=\\\ - \"kube-controller-manager\\\",instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory\",\n \"tooltip\":\ - \ {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 10,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(process_cpu_seconds_total{job=\\\ - \"kube-controller-manager\\\",instance=~\\\"$instance\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU usage\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 11,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 4,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"go_goroutines{job=\\\"kube-controller-manager\\\"\ - ,instance=~\\\"$instance\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"refId\"\ - : \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Goroutines\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n\ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\"\ - ,\n \"tags\": [\n \"kubernetes-mixin\"\n ],\n \"templating\":\ - \ {\n \"list\": [\n {\n \"current\": {\n \ - \ \"text\": \"Prometheus\",\n \"value\": \"\ - Prometheus\"\n },\n \"hide\": 0,\n \ - \ \"label\": null,\n \"name\": \"datasource\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"prometheus\"\ - ,\n \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"type\": \"datasource\"\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 0,\n \"includeAll\": true,\n \"label\": null,\n\ - \ \"multi\": false,\n \"name\": \"instance\",\n\ - \ \"options\": [\n\n ],\n \"query\"\ - : \"label_values(process_cpu_seconds_total{job=\\\"kube-controller-manager\\\"\ - }, instance)\",\n \"refresh\": 2,\n \"regex\": \"\ - \",\n \"sort\": 1,\n \"tagValuesQuery\": \"\",\n\ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Controller Manager\"\ - ,\n \"uid\": \"72e0e05bef5099e5f049b05fdc429ed4\",\n \"version\": 0\n}" + controller-manager.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(up{job=\"kube-controller-manager\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Up", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(workqueue_adds_total{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Add Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(workqueue_depth{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Depth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 5, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(workqueue_queue_duration_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\"}[5m])) by (instance, name, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{name}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Work Queue Latency", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 6, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"2..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "2xx", + "refId": "A" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"3..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "3xx", + "refId": "B" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"4..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "4xx", + "refId": "C" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-controller-manager\", instance=~\"$instance\",code=~\"5..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5xx", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Kube API Request Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 7, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 8, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"POST\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Post Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-controller-manager\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Get Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{job=\"kube-controller-manager\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(process_cpu_seconds_total{job=\"kube-controller-manager\",instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 11, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{job=\"kube-controller-manager\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Goroutines", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(process_cpu_seconds_total{job=\"kube-controller-manager\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Controller Manager", + "uid": "72e0e05bef5099e5f049b05fdc429ed4", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -2152,577 +3993,1100 @@ metadata: --- apiVersion: v1 data: - etcd.json: "{\n \"annotations\": {\n \"list\": []\n },\n \"description\"\ - : \"etcd sample Grafana dashboard with Prometheus\",\n \"editable\": true,\n\ - \ \"gnetId\": null,\n \"hideControls\": false,\n \"id\": 6,\n \"links\"\ - : [],\n \"refresh\": \"10s\",\n \"rows\": [\n {\n \"collapse\"\ - : false,\n \"editable\": true,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"rgba(245, 54, 54, 0.9)\",\n \"rgba(237, 129,\ - \ 40, 0.89)\",\n \"rgba(50, 172, 45, 0.97)\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"editable\": true,\n \"error\": false,\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\"\ - : 0,\n \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"id\": 28,\n \"interval\": null,\n\ - \ \"isNew\": true,\n \"links\": [],\n \ - \ \"mappingType\": 1,\n \"mappingTypes\":\ - \ [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 3,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120,\ - \ 193)\",\n \"show\": false\n },\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(etcd_server_has_leader{job=\\\"$cluster\\\"})\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"metric\": \"etcd_server_has_leader\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 20\n }\n ],\n \ - \ \"thresholds\": \"\",\n \"title\": \"Up\",\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\"\ - : \"200%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"N/A\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"avg\"\ - \n },\n {\n \"aliasColors\":\ - \ {},\n \"bars\": false,\n \"datasource\"\ - : \"$datasource\",\n \"editable\": true,\n \ - \ \"error\": false,\n \"fill\": 0,\n \ - \ \"id\": 23,\n \"isNew\": true,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": false,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\"\ - : \"connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 5,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"sum(rate(grpc_server_started_total{job=\\\ - \"$cluster\\\",grpc_type=\\\"unary\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"RPC Rate\",\n \ - \ \"metric\": \"grpc_server_started_total\",\n \ - \ \"refId\": \"A\",\n \"step\": 2\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(grpc_server_handled_total{job=\\\"$cluster\\\",grpc_type=\\\ - \"unary\\\",grpc_code!=\\\"OK\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"RPC Failed Rate\",\n \ - \ \"metric\": \"grpc_server_handled_total\",\n \ - \ \"refId\": \"B\",\n \"step\": 2\n \ - \ }\n ],\n \"thresholds\"\ - : [],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"RPC Rate\",\n \"\ - tooltip\": {\n \"msResolution\": false,\n \ - \ \"shared\": true,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ []\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : null,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {},\n \"bars\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"editable\": true,\n \"error\": false,\n \ - \ \"fill\": 0,\n \"id\": 41,\n \ - \ \"isNew\": true,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"show\": false,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \ - \ \"links\": [],\n \"nullPointMode\": \"connected\"\ - ,\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [],\n \ - \ \"span\": 4,\n \"stack\": true,\n \"\ - steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(grpc_server_started_total{job=\\\ - \"$cluster\\\",grpc_service=\\\"etcdserverpb.Watch\\\",grpc_type=\\\"bidi_stream\\\ - \"}) - sum(grpc_server_handled_total{job=\\\"$cluster\\\",grpc_service=\\\"etcdserverpb.Watch\\\ - \",grpc_type=\\\"bidi_stream\\\"})\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Watch Streams\",\n \ - \ \"metric\": \"grpc_server_handled_total\",\n \ - \ \"refId\": \"A\",\n \"step\": 4\n\ - \ },\n {\n \ - \ \"expr\": \"sum(grpc_server_started_total{job=\\\"$cluster\\\",grpc_service=\\\ - \"etcdserverpb.Lease\\\",grpc_type=\\\"bidi_stream\\\"}) - sum(grpc_server_handled_total{job=\\\ - \"$cluster\\\",grpc_service=\\\"etcdserverpb.Lease\\\",grpc_type=\\\"bidi_stream\\\ - \"})\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Lease Streams\",\n \ - \ \"metric\": \"grpc_server_handled_total\",\n \"\ - refId\": \"B\",\n \"step\": 4\n \ - \ }\n ],\n \"thresholds\": [],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Active Streams\",\n \"tooltip\"\ - : {\n \"msResolution\": false,\n \ - \ \"shared\": true,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": []\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": \"\",\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : null,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n\ - \ \"showTitle\": false,\n \"title\": \"Row\"\n },\n\ - \ {\n \"collapse\": false,\n \"editable\": true,\n\ - \ \"height\": \"250px\",\n \"panels\": [\n \ - \ {\n \"aliasColors\": {},\n \"bars\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"decimals\": null,\n \"editable\": true,\n \ - \ \"error\": false,\n \"fill\": 0,\n \ - \ \"grid\": {},\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": false,\n \ - \ \"total\": false,\n \"values\":\ - \ false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [],\n \ - \ \"nullPointMode\": \"connected\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [],\n \"span\": 4,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"etcd_mvcc_db_total_size_in_bytes{job=\\\"$cluster\\\"}\",\n \ - \ \"hide\": false,\n \"interval\"\ - : \"\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} DB Size\",\n \ - \ \"metric\": \"\",\n \"refId\": \"A\",\n \ - \ \"step\": 4\n }\n \ - \ ],\n \"thresholds\": [],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"DB Size\",\n \"tooltip\": {\n \ - \ \"msResolution\": false,\n \"shared\": true,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"cumulative\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \ - \ \"format\": \"bytes\",\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : null,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"logBase\": 1,\n \"\ - max\": null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n\ - \ },\n {\n \"aliasColors\": {},\n\ - \ \"bars\": false,\n \"datasource\": \"\ - $datasource\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 0,\n \"grid\"\ - : {},\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": false,\n \"total\":\ - \ false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 2,\n\ - \ \"links\": [],\n \"nullPointMode\": \"\ - connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 1,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": true,\n \"targets\": [\n\ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\\\"$cluster\\\"}[5m]))\ - \ by (instance, le))\",\n \"hide\": false,\n \ - \ \"intervalFactor\": 2,\n \"\ - legendFormat\": \"{{instance}} WAL fsync\",\n \"metric\"\ - : \"etcd_disk_wal_fsync_duration_seconds_bucket\",\n \ - \ \"refId\": \"A\",\n \"step\": 4\n \ - \ },\n {\n \"expr\"\ - : \"histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket{job=\\\ - \"$cluster\\\"}[5m])) by (instance, le))\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} DB fsync\"\ - ,\n \"metric\": \"etcd_disk_backend_commit_duration_seconds_bucket\"\ - ,\n \"refId\": \"B\",\n \ - \ \"step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Disk Sync\ - \ Duration\",\n \"tooltip\": {\n \"\ - msResolution\": false,\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"cumulative\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \ - \ \"format\": \"s\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n\ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {},\n\ - \ \"bars\": false,\n \"datasource\": \"\ - $datasource\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 0,\n \"id\"\ - : 29,\n \"isNew\": true,\n \"legend\": {\n\ - \ \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": false,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\"\ - : \"connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"process_resident_memory_bytes{job=\\\ - \"$cluster\\\"}\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} Resident Memory\",\n\ - \ \"metric\": \"process_resident_memory_bytes\",\n\ - \ \"refId\": \"A\",\n \"\ - step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Memory\",\n\ - \ \"tooltip\": {\n \"msResolution\"\ - : false,\n \"shared\": true,\n \"\ - sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": []\n },\n \"\ - yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n }\n \ - \ ]\n }\n ],\n \"title\": \"New row\"\n\ - \ },\n {\n \"collapse\": false,\n \"editable\"\ - : true,\n \"height\": \"250px\",\n \"panels\": [\n \ - \ {\n \"aliasColors\": {},\n \"\ - bars\": false,\n \"datasource\": \"$datasource\",\n \ - \ \"editable\": true,\n \"error\": false,\n \ - \ \"fill\": 5,\n \"id\": 22,\n \ - \ \"isNew\": true,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": false,\n \"total\":\ - \ false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 2,\n\ - \ \"links\": [],\n \"nullPointMode\": \"\ - connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 3,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"rate(etcd_network_client_grpc_received_bytes_total{job=\\\ - \"$cluster\\\"}[5m])\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{instance}} Client Traffic In\"\ - ,\n \"metric\": \"etcd_network_client_grpc_received_bytes_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Client\ - \ Traffic In\",\n \"tooltip\": {\n \"\ - msResolution\": false,\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \ - \ \"format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": null,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n }\n \ - \ ]\n },\n {\n \"aliasColors\"\ - : {},\n \"bars\": false,\n \"datasource\"\ - : \"$datasource\",\n \"editable\": true,\n \ - \ \"error\": false,\n \"fill\": 5,\n \ - \ \"id\": 21,\n \"isNew\": true,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": false,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\"\ - : \"connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 3,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"rate(etcd_network_client_grpc_sent_bytes_total{job=\\\ - \"$cluster\\\"}[5m])\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{instance}} Client Traffic Out\"\ - ,\n \"metric\": \"etcd_network_client_grpc_sent_bytes_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Client\ - \ Traffic Out\",\n \"tooltip\": {\n \ - \ \"msResolution\": false,\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \ - \ \"format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": null,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n }\n \ - \ ]\n },\n {\n \"aliasColors\"\ - : {},\n \"bars\": false,\n \"datasource\"\ - : \"$datasource\",\n \"editable\": true,\n \ - \ \"error\": false,\n \"fill\": 0,\n \ - \ \"id\": 20,\n \"isNew\": true,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": false,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\"\ - : \"connected\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n\ - \ \"span\": 3,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"sum(rate(etcd_network_peer_received_bytes_total{job=\\\ - \"$cluster\\\"}[5m])) by (instance)\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} Peer Traffic\ - \ In\",\n \"metric\": \"etcd_network_peer_received_bytes_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Peer Traffic\ - \ In\",\n \"tooltip\": {\n \"msResolution\"\ - : false,\n \"shared\": true,\n \"\ - sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": []\n },\n \"\ - yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {},\n \ - \ \"bars\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"decimals\": null,\n \"editable\":\ - \ true,\n \"error\": false,\n \"fill\":\ - \ 0,\n \"grid\": {},\n \"id\": 16,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": false,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [],\n \ - \ \"nullPointMode\": \"connected\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [],\n \"span\": 3,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(etcd_network_peer_sent_bytes_total{job=\\\"$cluster\\\ - \"}[5m])) by (instance)\",\n \"hide\": false,\n \ - \ \"interval\": \"\",\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\ - \ Peer Traffic Out\",\n \"metric\": \"etcd_network_peer_sent_bytes_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 4\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Peer Traffic\ - \ Out\",\n \"tooltip\": {\n \"msResolution\"\ - : false,\n \"shared\": true,\n \"\ - sort\": 0,\n \"value_type\": \"cumulative\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": []\n },\n \"\ - yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"title\": \"New row\"\n },\n {\n \ - \ \"collapse\": false,\n \"editable\": true,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {},\n \"bars\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - editable\": true,\n \"error\": false,\n \ - \ \"fill\": 0,\n \"id\": 40,\n \"isNew\"\ - : true,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": false,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 2,\n \"links\"\ - : [],\n \"nullPointMode\": \"connected\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\"\ - ,\n \"seriesOverrides\": [],\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(etcd_server_proposals_failed_total{job=\\\ - \"$cluster\\\"}[5m]))\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"Proposal Failure Rate\",\n \ - \ \"metric\": \"etcd_server_proposals_failed_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 2\n },\n {\n \ - \ \"expr\": \"sum(etcd_server_proposals_pending{job=\\\"$cluster\\\ - \"})\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Proposal Pending Total\",\n \ - \ \"metric\": \"etcd_server_proposals_pending\",\n \ - \ \"refId\": \"B\",\n \"step\": 2\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(etcd_server_proposals_committed_total{job=\\\"$cluster\\\ - \"}[5m]))\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Proposal Commit Rate\",\n \ - \ \"metric\": \"etcd_server_proposals_committed_total\",\n \ - \ \"refId\": \"C\",\n \"step\"\ - : 2\n },\n {\n \ - \ \"expr\": \"sum(rate(etcd_server_proposals_applied_total{job=\\\"\ - $cluster\\\"}[5m]))\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Proposal Apply Rate\",\n \ - \ \"refId\": \"D\",\n \"step\"\ - : 2\n }\n ],\n \"\ - thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Raft Proposals\",\n\ - \ \"tooltip\": {\n \"msResolution\"\ - : false,\n \"shared\": true,\n \"\ - sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": []\n },\n \"\ - yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": \"\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n }\n \ - \ ]\n },\n {\n \"aliasColors\"\ - : {},\n \"bars\": false,\n \"datasource\"\ - : \"$datasource\",\n \"decimals\": 0,\n \ - \ \"editable\": true,\n \"error\": false,\n \ - \ \"fill\": 0,\n \"id\": 19,\n \"isNew\"\ - : true,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": false,\n \ - \ \"show\": false,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \ - \ \"links\": [],\n \"nullPointMode\": \"connected\"\ - ,\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [],\n \ - \ \"span\": 6,\n \"stack\": false,\n \"\ - steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"changes(etcd_server_leader_changes_seen_total{job=\\\ - \"$cluster\\\"}[1d])\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{instance}} Total Leader Elections\ - \ Per Day\",\n \"metric\": \"etcd_server_leader_changes_seen_total\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 2\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Total Leader\ - \ Elections Per Day\",\n \"tooltip\": {\n \ - \ \"msResolution\": false,\n \"shared\": true,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n },\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n\ - \ \"show\": true\n }\n \ - \ ]\n }\n ],\n \"title\": \"\ - New row\"\n }\n ],\n \"schemaVersion\": 13,\n \"sharedCrosshair\"\ - : false,\n \"style\": \"dark\",\n \"tags\": [],\n \"templating\": {\n\ - \ \"list\": [\n {\n \"current\": {\n \ - \ \"text\": \"Prometheus\",\n \"value\": \"Prometheus\"\ - \n },\n \"hide\": 0,\n \"label\"\ - : null,\n \"name\": \"datasource\",\n \"options\"\ - : [],\n \"query\": \"prometheus\",\n \"refresh\"\ - : 1,\n \"regex\": \"\",\n \"type\": \"datasource\"\ - \n },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n \"text\": \"prod\",\n \ - \ \"value\": \"prod\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"cluster\",\n \"multi\":\ - \ false,\n \"name\": \"cluster\",\n \"options\"\ - : [],\n \"query\": \"label_values(etcd_server_has_leader, job)\"\ - ,\n \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"sort\": 2,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [],\n \"tagsQuery\": \"\",\n \"\ - type\": \"query\",\n \"useTags\": false\n }\n \ - \ ]\n },\n \"time\": {\n \"from\": \"now-15m\",\n \"to\"\ - : \"now\"\n },\n \"timepicker\": {\n \"now\": true,\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"browser\",\n \"title\": \"etcd\",\n \"version\"\ - : 215\n}" + etcd.json: |- + { + "annotations": { + "list": [] + }, + "description": "etcd sample Grafana dashboard with Prometheus", + "editable": true, + "gnetId": null, + "hideControls": false, + "id": 6, + "links": [], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "$datasource", + "editable": true, + "error": false, + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "id": 28, + "interval": null, + "isNew": true, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "targets": [ + { + "expr": "sum(etcd_server_has_leader{job=\"$cluster\"})", + "intervalFactor": 2, + "legendFormat": "", + "metric": "etcd_server_has_leader", + "refId": "A", + "step": 20 + } + ], + "thresholds": "", + "title": "Up", + "type": "singlestat", + "valueFontSize": "200%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "id": 23, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(grpc_server_started_total{job=\"$cluster\",grpc_type=\"unary\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "RPC Rate", + "metric": "grpc_server_started_total", + "refId": "A", + "step": 2 + }, + { + "expr": "sum(rate(grpc_server_handled_total{job=\"$cluster\",grpc_type=\"unary\",grpc_code!=\"OK\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "RPC Failed Rate", + "metric": "grpc_server_handled_total", + "refId": "B", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "RPC Rate", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "id": 41, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 4, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(grpc_server_started_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Watch\",grpc_type=\"bidi_stream\"})", + "intervalFactor": 2, + "legendFormat": "Watch Streams", + "metric": "grpc_server_handled_total", + "refId": "A", + "step": 4 + }, + { + "expr": "sum(grpc_server_started_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"}) - sum(grpc_server_handled_total{job=\"$cluster\",grpc_service=\"etcdserverpb.Lease\",grpc_type=\"bidi_stream\"})", + "intervalFactor": 2, + "legendFormat": "Lease Streams", + "metric": "grpc_server_handled_total", + "refId": "B", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Active Streams", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "showTitle": false, + "title": "Row" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "decimals": null, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "etcd_mvcc_db_total_size_in_bytes{job=\"$cluster\"}", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{instance}} DB Size", + "metric": "", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "DB Size", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 1, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 4, + "stack": false, + "steppedLine": true, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=\"$cluster\"}[5m])) by (instance, le))", + "hide": false, + "intervalFactor": 2, + "legendFormat": "{{instance}} WAL fsync", + "metric": "etcd_disk_wal_fsync_duration_seconds_bucket", + "refId": "A", + "step": 4 + }, + { + "expr": "histogram_quantile(0.99, sum(rate(etcd_disk_backend_commit_duration_seconds_bucket{job=\"$cluster\"}[5m])) by (instance, le))", + "intervalFactor": 2, + "legendFormat": "{{instance}} DB fsync", + "metric": "etcd_disk_backend_commit_duration_seconds_bucket", + "refId": "B", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Disk Sync Duration", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "id": 29, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{job=\"$cluster\"}", + "intervalFactor": 2, + "legendFormat": "{{instance}} Resident Memory", + "metric": "process_resident_memory_bytes", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "title": "New row" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 5, + "id": 22, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 3, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "rate(etcd_network_client_grpc_received_bytes_total{job=\"$cluster\"}[5m])", + "intervalFactor": 2, + "legendFormat": "{{instance}} Client Traffic In", + "metric": "etcd_network_client_grpc_received_bytes_total", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Client Traffic In", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 5, + "id": 21, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 3, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "rate(etcd_network_client_grpc_sent_bytes_total{job=\"$cluster\"}[5m])", + "intervalFactor": 2, + "legendFormat": "{{instance}} Client Traffic Out", + "metric": "etcd_network_client_grpc_sent_bytes_total", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Client Traffic Out", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "id": 20, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 3, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(etcd_network_peer_received_bytes_total{job=\"$cluster\"}[5m])) by (instance)", + "intervalFactor": 2, + "legendFormat": "{{instance}} Peer Traffic In", + "metric": "etcd_network_peer_received_bytes_total", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Peer Traffic In", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "decimals": null, + "editable": true, + "error": false, + "fill": 0, + "grid": {}, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 3, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(etcd_network_peer_sent_bytes_total{job=\"$cluster\"}[5m])) by (instance)", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{instance}} Peer Traffic Out", + "metric": "etcd_network_peer_sent_bytes_total", + "refId": "A", + "step": 4 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Peer Traffic Out", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "title": "New row" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "editable": true, + "error": false, + "fill": 0, + "id": 40, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(etcd_server_proposals_failed_total{job=\"$cluster\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "Proposal Failure Rate", + "metric": "etcd_server_proposals_failed_total", + "refId": "A", + "step": 2 + }, + { + "expr": "sum(etcd_server_proposals_pending{job=\"$cluster\"})", + "intervalFactor": 2, + "legendFormat": "Proposal Pending Total", + "metric": "etcd_server_proposals_pending", + "refId": "B", + "step": 2 + }, + { + "expr": "sum(rate(etcd_server_proposals_committed_total{job=\"$cluster\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "Proposal Commit Rate", + "metric": "etcd_server_proposals_committed_total", + "refId": "C", + "step": 2 + }, + { + "expr": "sum(rate(etcd_server_proposals_applied_total{job=\"$cluster\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "Proposal Apply Rate", + "refId": "D", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Raft Proposals", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": {}, + "bars": false, + "datasource": "$datasource", + "decimals": 0, + "editable": true, + "error": false, + "fill": 0, + "id": 19, + "isNew": true, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "changes(etcd_server_leader_changes_seen_total{job=\"$cluster\"}[1d])", + "intervalFactor": 2, + "legendFormat": "{{instance}} Total Leader Elections Per Day", + "metric": "etcd_server_leader_changes_seen_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Total Leader Elections Per Day", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "title": "New row" + } + ], + "schemaVersion": 13, + "sharedCrosshair": false, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [], + "query": "label_values(etcd_server_has_leader, job)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-15m", + "to": "now" + }, + "timepicker": { + "now": true, + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "browser", + "title": "etcd", + "version": 215 + } kind: ConfigMap metadata: labels: @@ -2739,555 +5103,1315 @@ metadata: --- apiVersion: v1 data: - k8s-coredns.json: "{\n \"annotations\": {\n \"list\": [\n {\n\ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana\ - \ --\",\n \"enable\": true,\n \"hide\": true,\n\ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"\ - name\": \"Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"description\": \"A dashboard for the CoreDNS\ - \ DNS server.\",\n \"editable\": true,\n \"gnetId\": 5926,\n \"graphTooltip\"\ - : 0,\n \"id\": 9,\n \"iteration\": 1539947521873,\n \"links\": [],\n\ - \ \"panels\": [\n {\n \"aliasColors\": {},\n \"\ - bars\": false,\n \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"Prometheus\",\n \"editable\": true,\n\ - \ \"error\": false,\n \"fill\": 1,\n \"grid\"\ - : {},\n \"gridPos\": {\n \"h\": 7,\n \ - \ \"w\": 8,\n \"x\": 0,\n \"y\": 0\n \ - \ },\n \"id\": 1,\n \"legend\": {\n \"avg\"\ - : false,\n \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\"\ - : [],\n \"nullPointMode\": \"connected\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"total\",\n \ - \ \"yaxis\": 2\n }\n ],\n \"spaceLength\"\ - : 10,\n \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \"expr\": \"\ - sum(rate(coredns_dns_request_count_total{instance=~\\\"$instance\\\"}[5m])) by\ - \ (proto)\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{proto}}\"\ - ,\n \"refId\": \"A\",\n \"step\": 60\n \ - \ },\n {\n \"expr\": \"sum(rate(coredns_dns_request_count_total{instance=~\\\ - \"$instance\\\"}[5m]))\",\n \"format\": \"time_series\",\n\ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"total\",\n \"refId\": \"B\",\n \"step\"\ - : 60\n }\n ],\n \"thresholds\": [],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \"\ - title\": \"Requests (total)\",\n \"tooltip\": {\n \"\ - shared\": true,\n \"sort\": 0,\n \"value_type\"\ - : \"cumulative\"\n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \"\ - min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"pps\",\n \"logBase\"\ - : 1,\n \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ],\n \ - \ \"yaxis\": {\n \"align\": false,\n \"alignLevel\"\ - : null\n }\n },\n {\n \"aliasColors\": {},\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"Prometheus\",\n \"\ - editable\": true,\n \"error\": false,\n \"fill\": 1,\n \ - \ \"grid\": {},\n \"gridPos\": {\n \"h\":\ - \ 7,\n \"w\": 8,\n \"x\": 8,\n \"\ - y\": 0\n },\n \"id\": 12,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \"values\":\ - \ false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\": \"connected\"\ - ,\n \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n {\n \"alias\": \"total\"\ - ,\n \"yaxis\": 2\n },\n {\n \ - \ \"alias\": \"other\",\n \"yaxis\": 2\n\ - \ }\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"sum(rate(coredns_dns_request_type_count_total{instance=~\\\ - \"$instance\\\"}[5m])) by (type)\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{type}}\",\n \"refId\"\ - : \"A\",\n \"step\": 60\n }\n ],\n\ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Requests (by qtype)\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \"\ - sort\": 0,\n \"value_type\": \"cumulative\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \"\ - buckets\": null,\n \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\": []\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"pps\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \"\ - show\": true\n },\n {\n \"format\"\ - : \"pps\",\n \"logBase\": 1,\n \"max\":\ - \ null,\n \"min\": 0,\n \"show\": true\n\ - \ }\n ],\n \"yaxis\": {\n \ - \ \"align\": false,\n \"alignLevel\": null\n }\n \ - \ },\n {\n \"aliasColors\": {},\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"Prometheus\",\n \"editable\": true,\n \ - \ \"error\": false,\n \"fill\": 1,\n \"grid\": {},\n \ - \ \"gridPos\": {\n \"h\": 7,\n \"w\":\ - \ 8,\n \"x\": 16,\n \"y\": 0\n },\n \ - \ \"id\": 2,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [],\n\ - \ \"nullPointMode\": \"connected\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"total\",\n \"yaxis\"\ - : 2\n }\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \"expr\": \"sum(rate(coredns_dns_request_count_total{instance=~\\\ - \"$instance\\\"}[5m])) by (zone)\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{zone}}\",\n \"refId\"\ - : \"A\",\n \"step\": 60\n },\n \ - \ {\n \"expr\": \"sum(rate(coredns_dns_request_count_total{instance=~\\\ - \"$instance\\\"}[5m]))\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"total\",\n \"refId\": \"\ - B\",\n \"step\": 60\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Requests (by zone)\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \"sort\"\ - : 0,\n \"value_type\": \"cumulative\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \"buckets\"\ - : null,\n \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\": []\n \ - \ },\n \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"logBase\": 1,\n \"max\":\ - \ null,\n \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \"format\": \"pps\"\ - ,\n \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ],\n \"yaxis\": {\n \"align\"\ - : false,\n \"alignLevel\": null\n }\n },\n \ - \ {\n \"aliasColors\": {},\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \"\ - datasource\": \"Prometheus\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 1,\n \"grid\": {},\n \ - \ \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n\ - \ \"x\": 0,\n \"y\": 7\n },\n \ - \ \"id\": 10,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [],\n\ - \ \"nullPointMode\": \"connected\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"total\",\n \"yaxis\"\ - : 2\n }\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \"expr\": \"sum(rate(coredns_dns_request_do_count_total{instance=~\\\ - \"$instance\\\"}[5m]))\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"DO\",\n \"refId\": \"A\"\ - ,\n \"step\": 40\n },\n {\n \ - \ \"expr\": \"sum(rate(coredns_dns_request_count_total{instance=~\\\ - \"$instance\\\"}[5m]))\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"total\",\n \"refId\": \"\ - B\",\n \"step\": 40\n }\n ],\n \ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Requests (DO bit)\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \"sort\"\ - : 0,\n \"value_type\": \"cumulative\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \"buckets\"\ - : null,\n \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\": []\n \ - \ },\n \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"logBase\": 1,\n \"max\":\ - \ null,\n \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \"format\": \"pps\"\ - ,\n \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ }\n ],\n \"yaxis\": {\n \"align\"\ - : false,\n \"alignLevel\": null\n }\n },\n \ - \ {\n \"aliasColors\": {},\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \"\ - datasource\": \"Prometheus\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 1,\n \"grid\": {},\n \ - \ \"gridPos\": {\n \"h\": 7,\n \"w\": 6,\n \ - \ \"x\": 12,\n \"y\": 7\n },\n \ - \ \"id\": 9,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [],\n\ - \ \"nullPointMode\": \"connected\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"tcp:90%\",\n \"yaxis\"\ - : 2\n },\n {\n \"alias\": \"\ - tcp:99%\",\n \"yaxis\": 2\n },\n \ - \ {\n \"alias\": \"tcp:50%\",\n \"yaxis\"\ - : 2\n }\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\"$instance\\\",proto=\\\ - \"udp\\\"}[5m])) by (le,proto))\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:99%\",\n \ - \ \"refId\": \"A\",\n \"step\": 60\n },\n \ - \ {\n \"expr\": \"histogram_quantile(0.90, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"udp\\\"}[5m])) by (le,proto))\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{proto}}:90%\"\ - ,\n \"refId\": \"B\",\n \"step\": 60\n \ - \ },\n {\n \"expr\": \"histogram_quantile(0.50,\ - \ sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\"$instance\\\",proto=\\\ - \"udp\\\"}[5m])) by (le,proto))\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:50%\",\n \ - \ \"refId\": \"C\",\n \"step\": 60\n }\n \ - \ ],\n \"thresholds\": [],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Requests (size, udp)\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"cumulative\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : []\n },\n \"yaxes\": [\n {\n \ - \ \"format\": \"bytes\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n {\n \ - \ \"format\": \"short\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ],\n \"yaxis\"\ - : {\n \"align\": false,\n \"alignLevel\": null\n\ - \ }\n },\n {\n \"aliasColors\": {},\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"Prometheus\",\n \"editable\"\ - : true,\n \"error\": false,\n \"fill\": 1,\n \ - \ \"grid\": {},\n \"gridPos\": {\n \"h\": 7,\n \ - \ \"w\": 6,\n \"x\": 18,\n \"y\": 7\n\ - \ },\n \"id\": 14,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \"linewidth\": 2,\n\ - \ \"links\": [],\n \"nullPointMode\": \"connected\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n {\n \"alias\": \"tcp:90%\",\n \ - \ \"yaxis\": 1\n },\n {\n \ - \ \"alias\": \"tcp:99%\",\n \"yaxis\": 1\n \ - \ },\n {\n \"alias\": \"tcp:50%\",\n\ - \ \"yaxis\": 1\n }\n ],\n \ - \ \"spaceLength\": 10,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - expr\": \"histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"tcp\\\"}[5m])) by (le,proto))\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{proto}}:99%\"\ - ,\n \"refId\": \"A\",\n \"step\": 60\n \ - \ },\n {\n \"expr\": \"histogram_quantile(0.90,\ - \ sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\"$instance\\\",proto=\\\ - \"tcp\\\"}[5m])) by (le,proto))\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:90%\",\n \ - \ \"refId\": \"B\",\n \"step\": 60\n },\n \ - \ {\n \"expr\": \"histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"tcp\\\"}[5m])) by (le,proto))\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{proto}}:50%\"\ - ,\n \"refId\": \"C\",\n \"step\": 60\n \ - \ }\n ],\n \"thresholds\": [],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \"title\"\ - : \"Requests (size, tcp)\",\n \"tooltip\": {\n \"shared\"\ - : true,\n \"sort\": 0,\n \"value_type\": \"cumulative\"\ - \n },\n \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": []\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \"logBase\"\ - : 1,\n \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n {\n \ - \ \"format\": \"short\",\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ],\n \"\ - yaxis\": {\n \"align\": false,\n \"alignLevel\"\ - : null\n }\n },\n {\n \"aliasColors\": {},\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"Prometheus\",\n \"\ - editable\": true,\n \"error\": false,\n \"fill\": 1,\n \ - \ \"grid\": {},\n \"gridPos\": {\n \"h\":\ - \ 7,\n \"w\": 12,\n \"x\": 0,\n \"\ - y\": 14\n },\n \"id\": 5,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \"values\":\ - \ false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\": \"connected\"\ - ,\n \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [],\n \"spaceLength\": 10,\n \"stack\"\ - : false,\n \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(coredns_dns_response_rcode_count_total{instance=~\\\ - \"$instance\\\"}[5m])) by (rcode)\",\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"{{rcode}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 40\n }\n \ - \ ],\n \"thresholds\": [],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Responses (by rcode)\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"cumulative\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : []\n },\n \"yaxes\": [\n {\n \ - \ \"format\": \"pps\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n {\n \ - \ \"format\": \"short\",\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ],\n \"yaxis\"\ - : {\n \"align\": false,\n \"alignLevel\": null\n\ - \ }\n },\n {\n \"aliasColors\": {},\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"Prometheus\",\n \"editable\"\ - : true,\n \"error\": false,\n \"fill\": 1,\n \ - \ \"grid\": {},\n \"gridPos\": {\n \"h\": 7,\n \ - \ \"w\": 12,\n \"x\": 12,\n \"y\": 14\n\ - \ },\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \"show\":\ - \ true,\n \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \"linewidth\": 2,\n\ - \ \"links\": [],\n \"nullPointMode\": \"connected\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [],\n \"spaceLength\": 10,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n {\n\ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\\\ - \"$instance\\\"}[5m])) by (le, job))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"99%\",\n \"refId\": \"A\",\n \"step\"\ - : 40\n },\n {\n \"expr\": \"\ - histogram_quantile(0.90, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\\\ - \"$instance\\\"}[5m])) by (le))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"90%\",\n \"refId\": \"B\",\n \"step\"\ - : 40\n },\n {\n \"expr\": \"\ - histogram_quantile(0.50, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\\\ - \"$instance\\\"}[5m])) by (le))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"50%\",\n \"refId\": \"C\",\n \"step\"\ - : 40\n }\n ],\n \"thresholds\": [],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \"\ - title\": \"Responses (duration)\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 0,\n \"value_type\"\ - : \"cumulative\"\n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ms\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \"\ - min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \"logBase\"\ - : 1,\n \"max\": null,\n \"min\": null,\n\ - \ \"show\": true\n }\n ],\n \ - \ \"yaxis\": {\n \"align\": false,\n \"alignLevel\"\ - : null\n }\n },\n {\n \"aliasColors\": {},\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"Prometheus\",\n \"\ - editable\": true,\n \"error\": false,\n \"fill\": 1,\n \ - \ \"grid\": {},\n \"gridPos\": {\n \"h\":\ - \ 7,\n \"w\": 12,\n \"x\": 0,\n \"\ - y\": 21\n },\n \"id\": 8,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \"values\":\ - \ false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [],\n \"nullPointMode\": \"connected\"\ - ,\n \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n {\n \"alias\": \"udp:50%\"\ - ,\n \"yaxis\": 1\n },\n {\n \ - \ \"alias\": \"tcp:50%\",\n \"yaxis\": 2\n\ - \ },\n {\n \"alias\": \"tcp:90%\"\ - ,\n \"yaxis\": 2\n },\n {\n \ - \ \"alias\": \"tcp:99%\",\n \"yaxis\": 2\n\ - \ }\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\"$instance\\\"\ - ,proto=\\\"udp\\\"}[5m])) by (le,proto)) \",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{proto}}:99%\",\n \ - \ \"refId\": \"A\",\n \"step\": 40\n },\n\ - \ {\n \"expr\": \"histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"udp\\\"}[5m])) by (le,proto)) \",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{proto}}:90%\"\ - ,\n \"refId\": \"B\",\n \"step\": 40\n \ - \ },\n {\n \"expr\": \"histogram_quantile(0.50,\ - \ sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\"$instance\\\"\ - ,proto=\\\"udp\\\"}[5m])) by (le,proto)) \",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{proto}}:50%\",\n \ - \ \"metric\": \"\",\n \"refId\": \"C\",\n \ - \ \"step\": 40\n }\n ],\n \"thresholds\"\ - : [],\n \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Responses (size, udp)\",\n \"tooltip\": {\n\ - \ \"shared\": true,\n \"sort\": 0,\n \ - \ \"value_type\": \"cumulative\"\n },\n \"type\": \"\ - graph\",\n \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \"format\": \"bytes\"\ - ,\n \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ],\n \"yaxis\": {\n \"align\":\ - \ false,\n \"alignLevel\": null\n }\n },\n \ - \ {\n \"aliasColors\": {},\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \"\ - datasource\": \"Prometheus\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 1,\n \"grid\": {},\n \ - \ \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 21\n },\n \ - \ \"id\": 13,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [],\n\ - \ \"nullPointMode\": \"connected\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"udp:50%\",\n \"yaxis\"\ - : 1\n },\n {\n \"alias\": \"\ - tcp:50%\",\n \"yaxis\": 1\n },\n \ - \ {\n \"alias\": \"tcp:90%\",\n \"yaxis\"\ - : 1\n },\n {\n \"alias\": \"\ - tcp:99%\",\n \"yaxis\": 1\n }\n ],\n\ - \ \"spaceLength\": 10,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"tcp\\\"}[5m])) by (le,proto)) \",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:99%\",\n \ - \ \"refId\": \"A\",\n \"step\": 40\n },\n \ - \ {\n \"expr\": \"histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"tcp\\\"}[5m])) by (le,proto)) \",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:90%\",\n \ - \ \"refId\": \"B\",\n \"step\": 40\n },\n \ - \ {\n \"expr\": \"histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\\\ - \"$instance\\\",proto=\\\"tcp\\\"}[5m])) by (le, proto)) \",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{proto}}:50%\",\n \ - \ \"metric\": \"\",\n \"refId\": \"C\",\n \ - \ \"step\": 40\n }\n ],\n \"thresholds\"\ - : [],\n \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Responses (size, tcp)\",\n \"tooltip\": {\n\ - \ \"shared\": true,\n \"sort\": 0,\n \ - \ \"value_type\": \"cumulative\"\n },\n \"type\": \"\ - graph\",\n \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": []\n },\n \ - \ \"yaxes\": [\n {\n \"format\": \"bytes\"\ - ,\n \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ],\n \"yaxis\": {\n \"align\":\ - \ false,\n \"alignLevel\": null\n }\n },\n \ - \ {\n \"aliasColors\": {},\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \"\ - datasource\": \"Prometheus\",\n \"editable\": true,\n \"\ - error\": false,\n \"fill\": 1,\n \"grid\": {},\n \ - \ \"gridPos\": {\n \"h\": 7,\n \"w\": 12,\n\ - \ \"x\": 0,\n \"y\": 28\n },\n \ - \ \"id\": 15,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\": [],\n\ - \ \"nullPointMode\": \"connected\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [],\n \"\ - spaceLength\": 10,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - expr\": \"sum(coredns_cache_size{instance=~\\\"$instance\\\"}) by (type)\",\n\ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{type}}\",\n \"refId\": \"A\",\n \"\ - step\": 40\n }\n ],\n \"thresholds\": [],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Cache (size)\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 0,\n \"value_type\"\ - : \"cumulative\"\n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \"show\": true,\n\ - \ \"values\": []\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"logBase\": 1,\n \"max\": null,\n \"\ - min\": 0,\n \"show\": true\n }\n \ - \ ],\n \"yaxis\": {\n \"align\": false,\n \ - \ \"alignLevel\": null\n }\n },\n {\n \ - \ \"aliasColors\": {},\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\": \"Prometheus\"\ - ,\n \"editable\": true,\n \"error\": false,\n \ - \ \"fill\": 1,\n \"grid\": {},\n \"gridPos\": {\n \ - \ \"h\": 7,\n \"w\": 12,\n \"x\": 12,\n\ - \ \"y\": 28\n },\n \"id\": 16,\n \ - \ \"legend\": {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"min\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [],\n \"nullPointMode\"\ - : \"connected\",\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\": \"flot\",\n \ - \ \"seriesOverrides\": [\n {\n \"alias\"\ - : \"misses\",\n \"yaxis\": 2\n }\n \ - \ ],\n \"spaceLength\": 10,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(coredns_cache_hits_total{instance=~\\\ - \"$instance\\\"}[5m])) by (type)\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"hits:{{type}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 40\n },\n \ - \ {\n \"expr\": \"sum(rate(coredns_cache_misses_total{instance=~\\\ - \"$instance\\\"}[5m])) by (type)\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"misses\",\n \"refId\"\ - : \"B\",\n \"step\": 40\n }\n ],\n\ - \ \"thresholds\": [],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Cache (hitrate)\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \"sort\"\ - : 0,\n \"value_type\": \"cumulative\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \"buckets\"\ - : null,\n \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\": []\n \ - \ },\n \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"logBase\": 1,\n \"max\":\ - \ null,\n \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \"format\": \"pps\"\ - ,\n \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ],\n \"yaxis\": {\n \"align\"\ - : false,\n \"alignLevel\": null\n }\n }\n \ - \ ],\n \"schemaVersion\": 16,\n \"style\": \"dark\",\n \"tags\": [],\n\ - \ \"templating\": {\n \"list\": [\n {\n \"\ - allValue\": \".*\",\n \"current\": {\n \"selected\"\ - : true,\n \"tags\": [],\n \"text\": \"172.16.1.8:9153\"\ - ,\n \"value\": \"172.16.1.8:9153\"\n },\n \ - \ \"datasource\": \"Prometheus\",\n \"hide\": 0,\n\ - \ \"includeAll\": true,\n \"label\": \"Instance\"\ - ,\n \"multi\": false,\n \"name\": \"instance\",\n\ - \ \"options\": [],\n \"query\": \"up{job=\\\"coredns\\\ - \"}\",\n \"refresh\": 1,\n \"regex\": \".*instance=\\\ - \"(.*?)\\\".*\",\n \"skipUrlSync\": false,\n \"\ - sort\": 0,\n \"tagValuesQuery\": \"\",\n \"tags\"\ - : [],\n \"tagsQuery\": \"\",\n \"type\": \"query\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-3h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"now\": true,\n \"refresh_intervals\": [\n\ - \ \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\",\n \ - \ \"1h\",\n \"2h\",\n \"1d\"\n ],\n \ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"utc\",\n \"title\": \"CoreDNS\",\n \"uid\"\ - : \"vkQ0UHxik\",\n \"version\": 1\n}" + k8s-coredns.json: |- + { + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "description": "A dashboard for the CoreDNS DNS server.", + "editable": true, + "gnetId": 5926, + "graphTooltip": 0, + "id": 9, + "iteration": 1539947521873, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 0 + }, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "total", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m])) by (proto)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{proto}}", + "refId": "A", + "step": 60 + }, + { + "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "total", + "refId": "B", + "step": 60 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (total)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 8, + "x": 8, + "y": 0 + }, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "total", + "yaxis": 2 + }, + { + "alias": "other", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_dns_request_type_count_total{instance=~\"$instance\"}[5m])) by (type)", + "intervalFactor": 2, + "legendFormat": "{{type}}", + "refId": "A", + "step": 60 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (by qtype)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 8, + "x": 16, + "y": 0 + }, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "total", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m])) by (zone)", + "intervalFactor": 2, + "legendFormat": "{{zone}}", + "refId": "A", + "step": 60 + }, + { + "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "total", + "refId": "B", + "step": 60 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (by zone)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 7 + }, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "total", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_dns_request_do_count_total{instance=~\"$instance\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "DO", + "refId": "A", + "step": 40 + }, + { + "expr": "sum(rate(coredns_dns_request_count_total{instance=~\"$instance\"}[5m]))", + "intervalFactor": 2, + "legendFormat": "total", + "refId": "B", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (DO bit)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 6, + "x": 12, + "y": 7 + }, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "tcp:90%", + "yaxis": 2 + }, + { + "alias": "tcp:99%", + "yaxis": 2 + }, + { + "alias": "tcp:50%", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:99%", + "refId": "A", + "step": 60 + }, + { + "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:90%", + "refId": "B", + "step": 60 + }, + { + "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:50%", + "refId": "C", + "step": 60 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (size, udp)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 6, + "x": 18, + "y": 7 + }, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "tcp:90%", + "yaxis": 1 + }, + { + "alias": "tcp:99%", + "yaxis": 1 + }, + { + "alias": "tcp:50%", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:99%", + "refId": "A", + "step": 60 + }, + { + "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:90%", + "refId": "B", + "step": 60 + }, + { + "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto))", + "intervalFactor": 2, + "legendFormat": "{{proto}}:50%", + "refId": "C", + "step": 60 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Requests (size, tcp)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 14 + }, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_dns_response_rcode_count_total{instance=~\"$instance\"}[5m])) by (rcode)", + "intervalFactor": 2, + "legendFormat": "{{rcode}}", + "refId": "A", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Responses (by rcode)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 14 + }, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\"$instance\"}[5m])) by (le, job))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "99%", + "refId": "A", + "step": 40 + }, + { + "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\"$instance\"}[5m])) by (le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "90%", + "refId": "B", + "step": 40 + }, + { + "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_request_duration_seconds_bucket{instance=~\"$instance\"}[5m])) by (le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "50%", + "refId": "C", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Responses (duration)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 21 + }, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "udp:50%", + "yaxis": 1 + }, + { + "alias": "tcp:50%", + "yaxis": 2 + }, + { + "alias": "tcp:90%", + "yaxis": 2 + }, + { + "alias": "tcp:99%", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ", + "intervalFactor": 2, + "legendFormat": "{{proto}}:99%", + "refId": "A", + "step": 40 + }, + { + "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ", + "intervalFactor": 2, + "legendFormat": "{{proto}}:90%", + "refId": "B", + "step": 40 + }, + { + "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"udp\"}[5m])) by (le,proto)) ", + "intervalFactor": 2, + "legendFormat": "{{proto}}:50%", + "metric": "", + "refId": "C", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Responses (size, udp)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 21 + }, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "udp:50%", + "yaxis": 1 + }, + { + "alias": "tcp:50%", + "yaxis": 1 + }, + { + "alias": "tcp:90%", + "yaxis": 1 + }, + { + "alias": "tcp:99%", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto)) ", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{proto}}:99%", + "refId": "A", + "step": 40 + }, + { + "expr": "histogram_quantile(0.90, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le,proto)) ", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{proto}}:90%", + "refId": "B", + "step": 40 + }, + { + "expr": "histogram_quantile(0.50, sum(rate(coredns_dns_response_size_bytes_bucket{instance=~\"$instance\",proto=\"tcp\"}[5m])) by (le, proto)) ", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{proto}}:50%", + "metric": "", + "refId": "C", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Responses (size, tcp)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 28 + }, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(coredns_cache_size{instance=~\"$instance\"}) by (type)", + "intervalFactor": 2, + "legendFormat": "{{type}}", + "refId": "A", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Cache (size)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 28 + }, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "misses", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(coredns_cache_hits_total{instance=~\"$instance\"}[5m])) by (type)", + "intervalFactor": 2, + "legendFormat": "hits:{{type}}", + "refId": "A", + "step": 40 + }, + { + "expr": "sum(rate(coredns_cache_misses_total{instance=~\"$instance\"}[5m])) by (type)", + "intervalFactor": 2, + "legendFormat": "misses", + "refId": "B", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Cache (hitrate)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "schemaVersion": 16, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": ".*", + "current": { + "selected": true, + "tags": [], + "text": "172.16.1.8:9153", + "value": "172.16.1.8:9153" + }, + "datasource": "Prometheus", + "hide": 0, + "includeAll": true, + "label": "Instance", + "multi": false, + "name": "instance", + "options": [], + "query": "up{job=\"coredns\"}", + "refresh": 1, + "regex": ".*instance=\"(.*?)\".*", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-3h", + "to": "now" + }, + "timepicker": { + "now": true, + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "utc", + "title": "CoreDNS", + "uid": "vkQ0UHxik", + "version": 1 + } kind: ConfigMap metadata: labels: @@ -3304,1287 +6428,2429 @@ metadata: --- apiVersion: v1 data: - k8s-resources-cluster.json: "{\n \"annotations\": {\n \"list\": [\n\n\ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"100px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"format\": \"percentunit\"\ - ,\n \"id\": 1,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 2,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"1 - avg(rate(node_cpu_seconds_total{mode=\\\ - \"idle\\\", cluster=\\\"$cluster\\\"}[1m]))\",\n \"\ - format\": \"time_series\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": \"70,80\",\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"CPU Utilisation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"singlestat\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"format\"\ - : \"percentunit\",\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 2,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\"}) / sum(kube_node_status_allocatable_cpu_cores{cluster=\\\"$cluster\\\ - \"})\",\n \"format\": \"time_series\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"thresholds\": \"70,80\",\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Requests Commitment\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"singlestat\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\":\ - \ null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"format\": \"percentunit\",\n \"id\"\ - : 3,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 2,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\"}) / sum(kube_node_status_allocatable_cpu_cores{cluster=\\\"$cluster\\\ - \"})\",\n \"format\": \"time_series\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"refId\": \"A\"\n }\n\ - \ ],\n \"thresholds\": \"70,80\",\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Limits Commitment\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"singlestat\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\":\ - \ null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"format\": \"percentunit\",\n \"id\"\ - : 4,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 2,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"1 - sum(:node_memory_MemAvailable_bytes:sum{cluster=\\\ - \"$cluster\\\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\\\"\ - $cluster\\\"})\",\n \"format\": \"time_series\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : \"70,80\",\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Memory Utilisation\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"singlestat\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"format\": \"percentunit\",\n \"id\"\ - : 5,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 2,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\\\"\ - $cluster\\\"})\",\n \"format\": \"time_series\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : \"70,80\",\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Memory Requests Commitment\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"singlestat\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"format\": \"percentunit\",\n \"id\"\ - : 6,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 2,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\ - \"$cluster\\\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\\\"\ - $cluster\\\"})\",\n \"format\": \"time_series\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : \"70,80\",\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Memory Limits Commitment\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"singlestat\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Headlines\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 7,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{namespace}}\",\n \ - \ \"legendLink\": null,\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"CPU Usage\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU\",\n \"titleSize\": \"h6\"\n },\n\ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 8,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"styles\": [\n \ - \ {\n \"alias\": \"Time\",\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"type\"\ - : \"hidden\"\n },\n {\n \ - \ \"alias\": \"Pods\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 0,\n \"\ - link\": true,\n \"linkTooltip\": \"Drill down to pods\"\ - ,\n \"linkUrl\": \"./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1\"\ - ,\n \"pattern\": \"Value #A\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Workloads\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 0,\n \"\ - link\": true,\n \"linkTooltip\": \"Drill down to workloads\"\ - ,\n \"linkUrl\": \"./d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1\"\ - ,\n \"pattern\": \"Value #B\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"short\"\n },\n\ - \ {\n \"alias\": \"CPU Requests\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n {\n\ - \ \"alias\": \"CPU Requests %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\":\ - \ \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"percentunit\"\ - \n },\n {\n \ - \ \"alias\": \"CPU Limits\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"short\"\n },\n\ - \ {\n \"alias\": \"CPU Limits\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #G\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Namespace\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down to pods\",\n \"linkUrl\": \"./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell\"\ - ,\n \"pattern\": \"namespace\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\":\ - \ \"short\"\n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - pattern\": \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n\ - \ \"unit\": \"short\"\n }\n\ - \ ],\n \"targets\": [\n \ - \ {\n \"expr\": \"count(mixin_pod_workload{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"count(avg(mixin_pod_workload{cluster=\\\ - \"$cluster\\\"}) by (workload, namespace)) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - B\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"C\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\"}) by (namespace) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"E\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"F\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\"}) by (namespace) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"G\",\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"CPU Quota\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\":\ - \ 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n {\n \ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 9,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(container_memory_rss{cluster=\\\ - \"$cluster\\\", container!=\\\"\\\"}) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{namespace}}\",\n \ - \ \"legendLink\": null,\n \"\ - step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Memory Usage (w/o cache)\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\": \"\ - 250px\",\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"id\": 10,\n \"legend\": {\n\ - \ \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Pods\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 0,\n \ - \ \"link\": true,\n \"linkTooltip\": \"\ - Drill down to pods\",\n \"linkUrl\": \"./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1\"\ - ,\n \"pattern\": \"Value #A\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Workloads\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 0,\n \"\ - link\": true,\n \"linkTooltip\": \"Drill down to workloads\"\ - ,\n \"linkUrl\": \"./d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1\"\ - ,\n \"pattern\": \"Value #B\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n {\n\ - \ \"alias\": \"Memory Requests %\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"percentunit\"\ - \n },\n {\n \ - \ \"alias\": \"Memory Limits\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Limits\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #G\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Namespace\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down to pods\",\n \"linkUrl\": \"./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell\"\ - ,\n \"pattern\": \"namespace\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\":\ - \ \"short\"\n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - pattern\": \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n\ - \ \"unit\": \"short\"\n }\n\ - \ ],\n \"targets\": [\n \ - \ {\n \"expr\": \"count(mixin_pod_workload{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"count(avg(mixin_pod_workload{cluster=\\\ - \"$cluster\\\"}) by (workload, namespace)) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - B\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(container_memory_rss{cluster=\\\ - \"$cluster\\\", container!=\\\"\\\"}) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"C\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(container_memory_rss{cluster=\\\"\ - $cluster\\\", container!=\\\"\\\"}) by (namespace) / sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"E\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"F\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(container_memory_rss{cluster=\\\"\ - $cluster\\\", container!=\\\"\\\"}) by (namespace) / sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\ - \"$cluster\\\"}) by (namespace)\",\n \"format\": \"\ - table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"G\",\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Requests by Namespace\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Memory Requests\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 11,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"styles\": [\n \ - \ {\n \"alias\": \"Time\",\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"type\"\ - : \"hidden\"\n },\n {\n \ - \ \"alias\": \"Current Receive Bandwidth\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \ - \ \"alias\": \"Current Transmit Bandwidth\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #B\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \"alias\": \"\ - Rate of Received Packets\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted\ - \ Packets\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #D\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Namespace\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down to pods\",\n \"linkUrl\": \"./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell\"\ - ,\n \"pattern\": \"namespace\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\":\ - \ \"short\"\n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - pattern\": \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n\ - \ \"unit\": \"short\"\n }\n\ - \ ],\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_bytes_total{cluster=\\\"$cluster\\\", namespace=~\\\ - \".+\\\"}[$interval])) by (namespace)\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_packets_total{cluster=\\\"$cluster\\\", namespace=~\\\ - \".+\\\"}[$interval])) by (namespace)\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\"$cluster\\\ - \", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"F\",\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Current Network Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 12,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Receive Bandwidth\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 13,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Transmit Bandwidth\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 14,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"avg(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Average Container Bandwidth by Namespace: Received\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 15,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"avg(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Average Container Bandwidth by Namespace: Transmitted\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 16,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rate of Received Packets\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 17,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rate of Transmitted Packets\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 18,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rate of Received Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 19,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\".+\\\"}[$interval])) by (namespace)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{namespace}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rate of Transmitted Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(node_cpu_seconds_total, cluster)\",\n \"refresh\"\ - : 1,\n \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n },\n {\n\ - \ \"allValue\": null,\n \"auto\": false,\n \ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n \ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 2,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"interval\",\n \"options\": [\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"4h\",\n \"value\": \"4h\"\n \ - \ }\n ],\n \"query\": \"4h\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"interval\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"refresh_intervals\": [\n \"5s\",\n\ - \ \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \ - \ \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Compute Resources / Cluster\",\n \"\ - uid\": \"efa86fd1d0c121a26444b636a3f509a8\",\n \"version\": 0\n}" + k8s-resources-cluster.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "100px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", cluster=\"$cluster\"}[1m]))", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "CPU Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable_cpu_cores{cluster=\"$cluster\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "CPU Requests Commitment", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable_cpu_cores{cluster=\"$cluster\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "CPU Limits Commitment", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "1 - sum(:node_memory_MemAvailable_bytes:sum{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\"$cluster\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "Memory Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\"$cluster\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "Memory Requests Commitment", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "format": "percentunit", + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 2, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) / sum(kube_node_status_allocatable_memory_bytes{cluster=\"$cluster\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 2, + "refId": "A" + } + ], + "thresholds": "70,80", + "timeFrom": null, + "timeShift": null, + "title": "Memory Limits Commitment", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "singlestat", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Headlines", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Pods", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Workloads", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": true, + "linkTooltip": "Drill down to workloads", + "linkUrl": "./d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Namespace", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", + "pattern": "namespace", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count(mixin_pod_workload{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "count(avg(mixin_pod_workload{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\"}) by (namespace) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", container!=\"\"}) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage (w/o cache)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Pods", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Workloads", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": true, + "linkTooltip": "Drill down to workloads", + "linkUrl": "./d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Namespace", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", + "pattern": "namespace", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count(mixin_pod_workload{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "count(avg(mixin_pod_workload{cluster=\"$cluster\"}) by (workload, namespace)) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", container!=\"\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", container!=\"\"}) by (namespace) / sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\"}) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Requests by Namespace", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Requests", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Current Receive Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Transmit Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Namespace", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", + "pattern": "namespace", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Current Network Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Namespace: Received", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Namespace: Transmitted", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 19, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\".+\"}[$interval])) by (namespace)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{namespace}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(node_cpu_seconds_total, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Cluster", + "uid": "efa86fd1d0c121a26444b636a3f509a8", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -4601,939 +8867,1751 @@ metadata: --- apiVersion: v1 data: - k8s-resources-namespace.json: "{\n \"annotations\": {\n \"list\": [\n\n\ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"CPU\ - \ Usage\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU Usage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"CPU Requests\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"\ - Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"CPU Requests %\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"CPU Limits\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"CPU Limits %\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\": \"\ - Pod\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": true,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"B\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"C\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"D\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"E\",\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU Quota\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", container!=\\\"\\\"}) by (pod)\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory Usage (w/o cache)\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Usage\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"bytes\"\n \ - \ },\n {\n \ - \ \"alias\": \"Memory Requests\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #C\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Memory Limits\",\n \ - \ \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\"\ - : \"bytes\"\n },\n {\n \ - \ \"alias\": \"Memory Limits %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\"\ - : \"Memory Usage (RSS)\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage\ - \ (Cache)\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #G\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage (Swap)\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #H\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n {\n\ - \ \"alias\": \"Pod\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\",container!=\\\"\\\"}) by (pod)\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\",container!=\\\"\\\"}) by (pod) /\ - \ sum(kube_pod_container_resource_requests_memory_bytes{namespace=\\\"$namespace\\\ - \"}) by (pod)\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\"\ - $cluster\\\", namespace=\\\"$namespace\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"D\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\",container!=\\\"\\\"}) by (pod) /\ - \ sum(kube_pod_container_resource_limits_memory_bytes{namespace=\\\"$namespace\\\ - \"}) by (pod)\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"sum(container_memory_rss{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\",container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"F\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(container_memory_cache{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\",container!=\\\"\\\"}) by (pod)\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"G\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(container_memory_swap{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \",container!=\\\"\\\"}) by (pod)\",\n \"format\":\ - \ \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"H\",\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Memory Quota\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Memory Quota\",\n \"titleSize\": \"h6\"\n },\n {\n\ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\":\ - \ {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 5,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"styles\": [\n \ - \ {\n \"alias\": \"Time\",\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"type\"\ - : \"hidden\"\n },\n {\n \ - \ \"alias\": \"Current Receive Bandwidth\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \ - \ \"alias\": \"Current Transmit Bandwidth\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #B\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \"alias\": \"\ - Rate of Received Packets\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted\ - \ Packets\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #D\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Pod\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down to pods\",\n \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_bytes_total{cluster=\\\"$cluster\\\", namespace=~\\\ - \"$namespace\\\"}[$interval])) by (pod)\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_packets_total{cluster=\\\"$cluster\\\", namespace=~\\\ - \"$namespace\\\"}[$interval])) by (pod)\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\"$cluster\\\ - \", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\":\ - \ true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - F\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Current Network Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 6,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Receive Bandwidth\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 7,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Transmit Bandwidth\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 8,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Received Packets\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 9,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Transmitted Packets\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 10,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Received Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 11,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Transmitted Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(kube_pod_info, cluster)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"query\",\n\ - \ \"useTags\": false\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - hide\": 0,\n \"includeAll\": false,\n \"label\"\ - : \"namespace\",\n \"multi\": false,\n \"name\"\ - : \"namespace\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(kube_pod_info{cluster=\\\"$cluster\\\"},\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"sort\": 2,\n \"tagValuesQuery\": \"\",\n\ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 2,\n \"includeAll\": false,\n \"label\": null,\n\ - \ \"multi\": false,\n \"name\": \"interval\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": true,\n \"text\": \"4h\",\n \ - \ \"value\": \"4h\"\n }\n ],\n\ - \ \"query\": \"4h\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"interval\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Compute Resources\ - \ / Namespace (Pods)\",\n \"uid\": \"85a562078cdf77779eaa1add43ccec1e\",\n\ - \ \"version\": 0\n}" + k8s-resources-namespace.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage (w/o cache)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Usage (RSS)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Cache)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Swap)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #H", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sum(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + }, + { + "expr": "sum(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "H", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Current Receive Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Transmit Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Current Network Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Namespace (Pods)", + "uid": "85a562078cdf77779eaa1add43ccec1e", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -5550,477 +10628,886 @@ metadata: --- apiVersion: v1 data: - k8s-resources-node.json: "{\n \"annotations\": {\n \"list\": [\n\n \ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"CPU\ - \ Usage\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU Usage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"CPU Requests\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"\ - Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"CPU Requests %\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"CPU Limits\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"CPU Limits %\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\": \"\ - Pod\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"pod\",\n\ - \ \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"pattern\": \"/.*/\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - string\",\n \"unit\": \"short\"\n \ - \ }\n ],\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"C\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"E\",\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Quota\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n {\n \ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\", container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Memory Usage (w/o cache)\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Usage\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"bytes\"\n \ - \ },\n {\n \ - \ \"alias\": \"Memory Requests\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #C\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Memory Limits\",\n \ - \ \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\"\ - : \"bytes\"\n },\n {\n \ - \ \"alias\": \"Memory Limits %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\"\ - : \"Memory Usage (RSS)\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage\ - \ (Cache)\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #G\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage (Swap)\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #H\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n {\n\ - \ \"alias\": \"Pod\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"pod\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\": \"/.*/\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n ],\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - A\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod) / sum(kube_pod_container_resource_requests_memory_bytes{node=\\\ - \"$node\\\"}) by (pod)\",\n \"format\": \"table\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\"\ - : 10\n },\n {\n \ - \ \"expr\": \"sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod) / sum(kube_pod_container_resource_limits_memory_bytes{node=\\\ - \"$node\\\"}) by (pod)\",\n \"format\": \"table\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\"\ - : 10\n },\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_memory_rss{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - F\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_memory_cache{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - G\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_memory_swap{cluster=\\\ - \"$cluster\\\", node=\\\"$node\\\",container!=\\\"\\\"}) by (pod)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - H\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory Quota\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Memory Quota\",\n \"titleSize\": \"h6\"\n }\n\ - \ ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\": [\n\ - \ \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(kube_pod_info, cluster)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"query\",\n\ - \ \"useTags\": false\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - hide\": 0,\n \"includeAll\": false,\n \"label\"\ - : \"node\",\n \"multi\": false,\n \"name\": \"node\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"label_values(kube_pod_info{cluster=\\\"$cluster\\\"}, node)\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"\ - sort\": 2,\n \"tagValuesQuery\": \"\",\n \"tags\"\ - : [\n\n ],\n \"tagsQuery\": \"\",\n \ - \ \"type\": \"query\",\n \"useTags\": false\n }\n\ - \ ]\n },\n \"time\": {\n \"from\": \"now-1h\",\n \"\ - to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\": [\n\ - \ \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\",\n \ - \ \"1h\",\n \"2h\",\n \"1d\"\n ],\n \ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Compute Resources\ - \ / Node (Pods)\",\n \"uid\": \"200ac8fdbfbb74b39aff88118e4d1c2c\",\n \"\ - version\": 0\n}" + k8s-resources-node.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", node=\"$node\"}) by (pod) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", node=\"$node\"}) by (pod) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=\"$node\", container!=\"\"}) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage (w/o cache)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Usage (RSS)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Cache)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Swap)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #H", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod) / sum(kube_pod_container_resource_requests_memory_bytes{node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_memory_working_set_bytes{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod) / sum(kube_pod_container_resource_limits_memory_bytes{node=\"$node\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_memory_rss{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_memory_cache{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_memory_swap{cluster=\"$cluster\", node=\"$node\",container!=\"\"}) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "H", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Quota", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "node", + "multi": false, + "name": "node", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, node)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Node (Pods)", + "uid": "200ac8fdbfbb74b39aff88118e4d1c2c", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -6037,807 +11524,1519 @@ metadata: --- apiVersion: v1 data: - k8s-resources-pod.json: "{\n \"annotations\": {\n \"list\": [\n\n \ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\\\ - \"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"POD\\\", cluster=\\\"$cluster\\\ - \"}) by (container)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{container}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"CPU Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU Usage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"CPU Requests\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"\ - Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"CPU Requests %\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"CPU Limits\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"CPU Limits %\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\": \"\ - Container\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"container\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"pattern\": \"/.*/\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - string\",\n \"unit\": \"short\"\n \ - \ }\n ],\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"\ - POD\\\"}) by (container)\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\ - \ / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\\\"$cluster\\\"\ - , namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - C\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\ - \ / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\\\"$cluster\\\"\ - , namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - E\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU Quota\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(container_memory_rss{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"\ - POD\\\", container!=\\\"\\\"}) by (container)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{container}} (RSS)\",\n\ - \ \"legendLink\": null,\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"sum(container_memory_cache{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"POD\\\", container!=\\\ - \"\\\"}) by (container)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{container}} (Cache)\",\n \ - \ \"legendLink\": null,\n \"step\": 10\n \ - \ },\n {\n \"\ - expr\": \"sum(container_memory_swap{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", pod=\\\"$pod\\\", container!=\\\"POD\\\", container!=\\\"\\\"}) by (container)\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{container}} (Swap)\",\n \"legendLink\": null,\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Usage\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"bytes\"\n \ - \ },\n {\n \ - \ \"alias\": \"Memory Requests\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #C\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Memory Limits\",\n \ - \ \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\"\ - : \"bytes\"\n },\n {\n \ - \ \"alias\": \"Memory Limits %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\"\ - : \"Memory Usage (RSS)\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage\ - \ (Cache)\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #G\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n \ - \ {\n \"alias\": \"Memory Usage (Swap)\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #H\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n {\n\ - \ \"alias\": \"Container\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"container\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"\ - POD\\\", container!=\\\"\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(container_memory_working_set_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", pod=\\\"$pod\\\"}) by (container) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\\\ - \"$namespace\\\", pod=\\\"$pod\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"C\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(kube_pod_container_resource_limits_memory_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"\ - \\\"}) by (container)\",\n \"format\": \"table\",\n\ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\"\ - : 10\n },\n {\n \ - \ \"expr\": \"sum(container_memory_working_set_bytes{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container!=\\\"\\\"}) by (container)\ - \ / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\\\"$namespace\\\ - \", pod=\\\"$pod\\\"}) by (container)\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"E\",\n \ - \ \"step\": 10\n },\n {\n\ - \ \"expr\": \"sum(container_memory_rss{cluster=\\\"\ - $cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container != \\\"\ - \\\", container != \\\"POD\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"F\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(container_memory_cache{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container != \\\ - \"\\\", container != \\\"POD\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"G\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(container_memory_swap{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container != \\\ - \"\\\", container != \\\"POD\\\"}) by (container)\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"H\",\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory Quota\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Memory Quota\",\n \"titleSize\": \"h6\"\n },\n\ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 5,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Receive\ - \ Bandwidth\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Network\",\n \"titleSize\": \"h6\"\n },\n {\n \ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 6,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Transmit\ - \ Bandwidth\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Network\",\n \"titleSize\": \"h6\"\n },\n {\n \ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 7,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Received Packets\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 8,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Transmitted Packets\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 9,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Received Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 10,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Rate\ - \ of Transmitted Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(kube_pod_info, cluster)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"query\",\n\ - \ \"useTags\": false\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - hide\": 0,\n \"includeAll\": false,\n \"label\"\ - : \"namespace\",\n \"multi\": false,\n \"name\"\ - : \"namespace\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(kube_pod_info{cluster=\\\"$cluster\\\"},\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"sort\": 2,\n \"tagValuesQuery\": \"\",\n\ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n \"text\": \"prod\",\n \ - \ \"value\": \"prod\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"pod\",\n \"multi\": false,\n\ - \ \"name\": \"pod\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_pod_info{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}, pod)\",\n \"refresh\"\ - : 1,\n \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n },\n {\n\ - \ \"allValue\": null,\n \"auto\": false,\n \ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n \ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 2,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"interval\",\n \"options\": [\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"4h\",\n \"value\": \"4h\"\n \ - \ }\n ],\n \"query\": \"4h\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"interval\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"refresh_intervals\": [\n \"5s\",\n\ - \ \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \ - \ \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Compute Resources / Pod\",\n \"uid\"\ - : \"6581e46e4e5c7ba40a07646395ef7b23\",\n \"version\": 0\n}" + k8s-resources-pod.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\", cluster=\"$cluster\"}) by (container)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{container}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Container", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "container", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\", container!=\"\"}) by (container)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{container}} (RSS)", + "legendLink": null, + "step": 10 + }, + { + "expr": "sum(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\", container!=\"\"}) by (container)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{container}} (Cache)", + "legendLink": null, + "step": 10 + }, + { + "expr": "sum(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\", container!=\"\"}) by (container)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{container}} (Swap)", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Usage (RSS)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Cache)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Usage (Swap)", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #H", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Container", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "container", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"POD\", container!=\"\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(kube_pod_container_resource_requests_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\"}) by (container) / sum(kube_pod_container_resource_limits_memory_bytes{namespace=\"$namespace\", pod=\"$pod\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(container_memory_rss{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sum(container_memory_cache{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + }, + { + "expr": "sum(container_memory_swap{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "H", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval])) by (pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "pod", + "multi": false, + "name": "pod", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\", namespace=\"$namespace\"}, pod)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Pod", + "uid": "6581e46e4e5c7ba40a07646395ef7b23", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -6854,1082 +13053,1912 @@ metadata: --- apiVersion: v1 data: - k8s-resources-workload.json: "{\n \"annotations\": {\n \"list\": [\n\n\ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU Usage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"CPU Requests\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"\ - Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"CPU Requests %\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"CPU Limits\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"CPU Limits %\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\": \"\ - Pod\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": true,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n kube_pod_container_resource_requests_cpu_cores{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n/sum(\\\ - n kube_pod_container_resource_requests_cpu_cores{cluster=\\\"$cluster\\\",\ - \ namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n kube_pod_container_resource_limits_cpu_cores{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n/sum(\\\ - n kube_pod_container_resource_limits_cpu_cores{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload, workload_type)\ - \ mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", workload=\\\ - \"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\",\n \ - \ \"format\": \"table\",\n \"instant\"\ - : true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"\ - E\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU Quota\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(\\n container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\\ - n group_left(workload, workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", workload=\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}\\n) by (pod)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Memory Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Usage\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"bytes\"\n \ - \ },\n {\n \ - \ \"alias\": \"Memory Requests\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #C\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Memory Limits\",\n \ - \ \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #D\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\"\ - : \"bytes\"\n },\n {\n \ - \ \"alias\": \"Memory Limits %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #E\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"percentunit\"\n \ - \ },\n {\n \"alias\"\ - : \"Pod\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": true,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"sum(\\n container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\\ - n group_left(workload, workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", workload=\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}\\n) by (pod)\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"sum(\\n kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n container_memory_working_set_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n/sum(\\\ - n kube_pod_container_resource_requests_memory_bytes{cluster=\\\"$cluster\\\"\ - , namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n kube_pod_container_resource_limits_memory_bytes{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\"\ - : \"sum(\\n container_memory_working_set_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n/sum(\\\ - n kube_pod_container_resource_limits_memory_bytes{cluster=\\\"$cluster\\\"\ - , namespace=\\\"$namespace\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload=\\\"$workload\\\", workload_type=\\\"$type\\\"}\\n) by (pod)\\n\"\ - ,\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\":\ - \ [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Memory\ - \ Quota\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"transform\": \"\ - table\",\n \"type\": \"table\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Quota\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 5,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Current Receive Bandwidth\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \ - \ \"alias\": \"Current Transmit Bandwidth\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #B\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \"alias\": \"\ - Rate of Received Packets\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted\ - \ Packets\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #D\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Pod\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\ - \n },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"(sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"A\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"B\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"C\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"D\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"E\",\n \ - \ \"step\": 10\n },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\"\ - ,\n \"refId\": \"F\",\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Current Network Usage\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Network\",\n \"titleSize\": \"h6\"\n },\n {\n \ - \ \"collapse\": false,\n \"height\": \"250px\",\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 6,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Receive Bandwidth\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 7,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Transmit Bandwidth\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 8,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(avg(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Average Container Bandwidth\ - \ by Pod: Received\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 9,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(avg(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Average Container Bandwidth\ - \ by Pod: Transmitted\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 10,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Received Packets\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 11,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Transmitted Packets\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 12,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Received Packets\ - \ Dropped\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 13,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\ - \ \\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=~\\\"$namespace\\\", workload=~\\\"$workload\\\", workload_type=\\\ - \"$type\\\"}) by (pod))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(kube_pod_info, cluster)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"query\",\n\ - \ \"useTags\": false\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - hide\": 0,\n \"includeAll\": false,\n \"label\"\ - : \"namespace\",\n \"multi\": false,\n \"name\"\ - : \"namespace\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(kube_pod_info{cluster=\\\"$cluster\\\"},\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"sort\": 2,\n \"tagValuesQuery\": \"\",\n\ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n \"text\": \"prod\",\n \ - \ \"value\": \"prod\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"workload\",\n \"multi\"\ - : false,\n \"name\": \"workload\",\n \"options\"\ - : [\n\n ],\n \"query\": \"label_values(mixin_pod_workload{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}, workload)\",\n \"\ - refresh\": 1,\n \"regex\": \"\",\n \"sort\": 2,\n\ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\ - \n },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": false,\n \ - \ \"label\": \"type\",\n \"multi\": false,\n \ - \ \"name\": \"type\",\n \"options\": [\n\n ],\n\ - \ \"query\": \"label_values(mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", workload=\\\"$workload\\\"}, workload_type)\"\ - ,\n \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"sort\": 2,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\"\ - ,\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 2,\n \"includeAll\": false,\n \"label\": null,\n\ - \ \"multi\": false,\n \"name\": \"interval\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": true,\n \"text\": \"4h\",\n \ - \ \"value\": \"4h\"\n }\n ],\n\ - \ \"query\": \"4h\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"interval\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Compute Resources\ - \ / Workload\",\n \"uid\": \"a164a7f0339f99e89cea5cb47e9be617\",\n \"version\"\ - : 0\n}" + k8s-resources-workload.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n/sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\", workload_type=\"$type\"}\n) by (pod)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Current Receive Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Transmit Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/6581e46e4e5c7ba40a07646395ef7b23/k8s-resources-pod?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Current Network Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Pod: Received", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Pod: Transmitted", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod) \ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\"$workload\", workload_type=\"$type\"}) by (pod))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{pod}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "workload", + "multi": false, + "name": "workload", + "options": [ + ], + "query": "label_values(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\"}, workload)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "type", + "multi": false, + "name": "type", + "options": [ + ], + "query": "label_values(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload=\"$workload\"}, workload_type)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Workload", + "uid": "a164a7f0339f99e89cea5cb47e9be617", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -7946,1136 +14975,1990 @@ metadata: --- apiVersion: v1 data: - k8s-resources-workloads-namespace.json: "{\n \"annotations\": {\n \"list\"\ - : [\n\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \ - \ \"graphTooltip\": 0,\n \"hideControls\": false,\n \"links\": [\n\n \ - \ ],\n \"refresh\": \"10s\",\n \"rows\": [\n {\n \"collapse\"\ - : false,\n \"height\": \"250px\",\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 10,\n \"\ - id\": 1,\n \"legend\": {\n \"avg\":\ - \ false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{workload}} - {{workload_type}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"CPU Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU Usage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 2,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Running Pods\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 0,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"CPU Usage\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"CPU Requests\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n {\n\ - \ \"alias\": \"CPU Requests %\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\":\ - \ \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"percentunit\"\ - \n },\n {\n \ - \ \"alias\": \"CPU Limits\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"short\"\n },\n\ - \ {\n \"alias\": \"CPU Limits\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #F\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Workload\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2\"\ - ,\n \"pattern\": \"workload\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Workload Type\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"workload_type\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"count(mixin_pod_workload{cluster=\\\"\ - $cluster\\\", namespace=\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload,\ - \ workload_type)\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n kube_pod_container_resource_requests_cpu_cores{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n/sum(\\n \ - \ kube_pod_container_resource_requests_cpu_cores{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload, workload_type)\ - \ mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", workload_type=\\\ - \"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"D\",\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(\\n kube_pod_container_resource_limits_cpu_cores{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n/sum(\\n \ - \ kube_pod_container_resource_limits_cpu_cores{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload, workload_type)\ - \ mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", workload_type=\\\ - \"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"F\",\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU Quota\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"CPU Quota\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(\\n container_memory_working_set_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\\ - n group_left(workload, workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", workload_type=\\\"$type\\\"}\\n) by (workload,\ - \ workload_type)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}} - {{workload_type}}\",\n \ - \ \"legendLink\": null,\n \"step\": 10\n\ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Memory\ - \ Usage\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory Usage\",\n \"titleSize\": \"h6\"\n\ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"styles\":\ - \ [\n {\n \"alias\": \"Time\"\ - ,\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"\ - type\": \"hidden\"\n },\n {\n \ - \ \"alias\": \"Running Pods\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 0,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"Memory Usage\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Requests\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #C\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"bytes\"\n },\n {\n\ - \ \"alias\": \"Memory Requests %\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"percentunit\"\ - \n },\n {\n \ - \ \"alias\": \"Memory Limits\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"bytes\"\n },\n\ - \ {\n \"alias\": \"Memory Limits\ - \ %\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value #F\"\ - ,\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"percentunit\"\n },\n \ - \ {\n \"alias\": \"Workload\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2\"\ - ,\n \"pattern\": \"workload\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Workload Type\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"workload_type\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"count(mixin_pod_workload{cluster=\\\"\ - $cluster\\\", namespace=\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload,\ - \ workload_type)\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"sum(\\n container_memory_working_set_bytes{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\\ - n group_left(workload, workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", workload_type=\\\"$type\\\"}\\n) by (workload,\ - \ workload_type)\\n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\"\ - : 10\n },\n {\n \ - \ \"expr\": \"sum(\\n kube_pod_container_resource_requests_memory_bytes{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n container_memory_working_set_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n/sum(\\n \ - \ kube_pod_container_resource_requests_memory_bytes{cluster=\\\"$cluster\\\",\ - \ namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n kube_pod_container_resource_limits_memory_bytes{cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"\ - instant\": true,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"\ - refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"\ - sum(\\n container_memory_working_set_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", container!=\\\"\\\"}\\n * on(namespace,pod)\\n group_left(workload,\ - \ workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", workload_type=\\\"$type\\\"}\\n) by (workload, workload_type)\\n/sum(\\n \ - \ kube_pod_container_resource_limits_memory_bytes{cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\"}\\n* on(namespace,pod)\\n group_left(workload, workload_type)\ - \ mixin_pod_workload{cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", workload_type=\\\ - \"$type\\\"}\\n) by (workload, workload_type)\\n\",\n \ - \ \"format\": \"table\",\n \"instant\": true,\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"F\",\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory Quota\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"transform\": \"table\",\n \ - \ \"type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Memory Quota\",\n \"titleSize\": \"h6\"\n },\n\ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 5,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"styles\": [\n \ - \ {\n \"alias\": \"Time\",\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"pattern\": \"Time\",\n \"type\"\ - : \"hidden\"\n },\n {\n \ - \ \"alias\": \"Current Receive Bandwidth\",\n \ - \ \"colorMode\": null,\n \"colors\":\ - \ [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \ - \ \"alias\": \"Current Transmit Bandwidth\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #B\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"Bps\"\n \ - \ },\n {\n \"alias\": \"\ - Rate of Received Packets\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\"\ - : false,\n \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\"\ - : \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted\ - \ Packets\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #D\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #E\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #F\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Workload\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": true,\n \"linkTooltip\"\ - : \"Drill down to pods\",\n \"linkUrl\": \"./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$type\"\ - ,\n \"pattern\": \"workload\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"\ - short\"\n },\n {\n \ - \ \"alias\": \"Workload Type\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"workload_type\",\n \"\ - thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \ - \ \"alias\": \"\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"pattern\"\ - : \"/.*/\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"string\",\n \ - \ \"unit\": \"short\"\n }\n \ - \ ],\n \"targets\": [\n {\n\ - \ \"expr\": \"(sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_bytes_total{cluster=\\\"\ - $cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_total{cluster=\\\"\ - $cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_total{cluster=\\\"\ - $cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload_type=\\\"$type\\\"}) by (workload))\\\ - n\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\":\ - \ 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"F\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Current\ - \ Network Usage\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"transform\": \"table\",\n \"type\": \"table\",\n\ - \ \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 6,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Receive Bandwidth\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 7,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Transmit Bandwidth\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 8,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(avg(irate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Average Container Bandwidth\ - \ by Workload: Received\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 9,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(avg(irate(container_network_transmit_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Average Container Bandwidth\ - \ by Workload: Transmitted\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 10,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Received Packets\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 11,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Transmitted Packets\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 12,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_receive_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\\\ - ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\"\ - , namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Received Packets\ - \ Dropped\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 13,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(sum(irate(container_network_transmit_packets_dropped_total{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}[$interval])\\n* on (namespace,pod)\ - \ \\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\\\"$cluster\\\ - \", namespace=~\\\"$namespace\\\", workload=~\\\".+\\\", workload_type=\\\"$type\\\ - \"}) by (workload))\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n }\n\ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"\ - timeShift\": null,\n \"title\": \"Rate of Transmitted Packets\ - \ Dropped\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \"type\"\ - : \"datasource\"\n },\n {\n \"allValue\"\ - : null,\n \"current\": {\n \"text\": \"prod\"\ - ,\n \"value\": \"prod\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 2,\n \ - \ \"includeAll\": false,\n \"label\": \"cluster\",\n \ - \ \"multi\": false,\n \"name\": \"cluster\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(kube_pod_info, cluster)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"query\",\n\ - \ \"useTags\": false\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"text\": \"prod\",\n \"value\": \"prod\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - hide\": 0,\n \"includeAll\": false,\n \"label\"\ - : \"namespace\",\n \"multi\": false,\n \"name\"\ - : \"namespace\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(kube_pod_info{cluster=\\\"$cluster\\\"},\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"sort\": 2,\n \"tagValuesQuery\": \"\",\n\ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 2,\n \"includeAll\": false,\n \"label\": null,\n\ - \ \"multi\": false,\n \"name\": \"interval\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": true,\n \"text\": \"4h\",\n \ - \ \"value\": \"4h\"\n }\n ],\n\ - \ \"query\": \"4h\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"interval\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"deployment\",\n \"value\": \"deployment\"\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"definition\": \"label_values(mixin_pod_workload{namespace=~\\\"$namespace\\\ - \", workload=~\\\".+\\\"}, workload_type)\",\n \"hide\": 0,\n \ - \ \"includeAll\": false,\n \"label\": null,\n \ - \ \"multi\": false,\n \"name\": \"type\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(mixin_pod_workload{namespace=~\\\"$namespace\\\", workload=~\\\"\ - .+\\\"}, workload_type)\",\n \"refresh\": 1,\n \"\ - regex\": \"\",\n \"skipUrlSync\": false,\n \"sort\"\ - : 0,\n \"tagValuesQuery\": \"\",\n \"tags\": [\n\ - \n ],\n \"tagsQuery\": \"\",\n \"\ - type\": \"query\",\n \"useTags\": false\n }\n \ - \ ]\n },\n \"time\": {\n \"from\": \"now-1h\",\n \"to\":\ - \ \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\": [\n \ - \ \"5s\",\n \"10s\",\n \"30s\",\n \"\ - 1m\",\n \"5m\",\n \"15m\",\n \"30m\",\n \ - \ \"1h\",\n \"2h\",\n \"1d\"\n ],\n \ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\",\n \ - \ \"2d\",\n \"7d\",\n \"30d\"\n ]\n \ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Compute Resources\ - \ / Namespace (Workloads)\",\n \"uid\": \"a87fb0d919ec0ea5f6543124e16c42a5\"\ - ,\n \"version\": 0\n}" + k8s-resources-workloads-namespace.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}} - {{workload_type}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Running Pods", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "CPU Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "CPU Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Workload", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2", + "pattern": "workload", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Workload Type", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "workload_type", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(\n node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits_cpu_cores{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}} - {{workload_type}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Usage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Running Pods", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 0, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Memory Usage", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Requests %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Memory Limits", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "bytes" + }, + { + "alias": "Memory Limits %", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "percentunit" + }, + { + "alias": "Workload", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$__cell_2", + "pattern": "workload", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Workload Type", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "workload_type", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count(mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}) by (workload, workload_type)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_requests_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(\n container_memory_working_set_bytes{cluster=\"$cluster\", namespace=\"$namespace\", container!=\"\"}\n * on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n/sum(\n kube_pod_container_resource_limits_memory_bytes{cluster=\"$cluster\", namespace=\"$namespace\"}\n* on(namespace,pod)\n group_left(workload, workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=\"$namespace\", workload_type=\"$type\"}\n) by (workload, workload_type)\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Quota", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory Quota", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Current Receive Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Transmit Bandwidth", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Workload", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down to pods", + "linkUrl": "./d/a164a7f0339f99e89cea5cb47e9be617/k8s-resources-workload?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$namespace&var-workload=$__cell&var-type=$type", + "pattern": "workload", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Workload Type", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "workload_type", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload_type=\"$type\"}) by (workload))\n", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Current Network Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Workload: Received", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(avg(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Container Bandwidth by Workload: Transmitted", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod)\ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\", namespace=~\"$namespace\"}[$interval])\n* on (namespace,pod) \ngroup_left(workload,workload_type) mixin_pod_workload{cluster=\"$cluster\", namespace=~\"$namespace\", workload=~\".+\", workload_type=\"$type\"}) by (workload))\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{workload}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "deployment", + "value": "deployment" + }, + "datasource": "$datasource", + "definition": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\"}, workload_type)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "type", + "options": [ + ], + "query": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\"}, workload_type)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Compute Resources / Namespace (Workloads)", + "uid": "a87fb0d919ec0ea5f6543124e16c42a5", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -9092,1201 +16975,2350 @@ metadata: --- apiVersion: v1 data: - kubelet.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n ],\n\ - \ \"annotations\": {\n \"list\": [\n\n ]\n },\n \"editable\"\ - : false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\"\ - : false,\n \"id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\"\ - ,\n \"rows\": [\n {\n \"collapse\": false,\n \"\ - collapsed\": false,\n \"panels\": [\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\": false,\n\ - \ \"colorValue\": false,\n \"colors\": [\n\ - \ \"#299c46\",\n \"rgba(237, 129,\ - \ 40, 0.89)\",\n \"#d44a3a\"\n ],\n\ - \ \"datasource\": \"$datasource\",\n \"\ - format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n\ - \ \"thresholdMarkers\": true\n },\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(up{cluster=\\\"$cluster\\\", job=\\\"kubelet\\\ - \"})\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Up\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\": \"80%\"\ - ,\n \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\"\ - ,\n \"value\": \"null\"\n }\n\ - \ ],\n \"valueName\": \"min\"\n \ - \ },\n {\n \"cacheTimeout\": null,\n\ - \ \"colorBackground\": false,\n \"colorValue\"\ - : false,\n \"colors\": [\n \"#299c46\"\ - ,\n \"rgba(237, 129, 40, 0.89)\",\n \ - \ \"#d44a3a\"\n ],\n \"datasource\"\ - : \"$datasource\",\n \"format\": \"none\",\n \ - \ \"gauge\": {\n \"maxValue\": 100,\n \ - \ \"minValue\": 0,\n \"show\": false,\n \ - \ \"thresholdLabels\": false,\n \"thresholdMarkers\"\ - : true\n },\n \"gridPos\": {\n\n \ - \ },\n \"id\": 3,\n \"interval\"\ - : null,\n \"links\": [\n\n ],\n \ - \ \"mappingType\": 1,\n \"mappingTypes\": [\n \ - \ {\n \"name\": \"value to text\"\ - ,\n \"value\": 1\n },\n \ - \ {\n \"name\": \"range to text\"\ - ,\n \"value\": 2\n }\n \ - \ ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"nullText\":\ - \ null,\n \"postfix\": \"\",\n \"postfixFontSize\"\ - : \"50%\",\n \"prefix\": \"\",\n \"prefixFontSize\"\ - : \"50%\",\n \"rangeMaps\": [\n {\n\ - \ \"from\": \"null\",\n \ - \ \"text\": \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n\ - \ \"sparkline\": {\n \"fillColor\":\ - \ \"rgba(31, 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \ - \ \"show\": false\n },\n \"tableColumn\"\ - : \"\",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(kubelet_running_pod_count{cluster=\\\"\ - $cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Running Pods\",\n \"tooltip\": {\n\ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\":\ - \ \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"N/A\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"min\"\ - \n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 2,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120,\ - \ 193)\",\n \"show\": false\n },\n \ - \ \"tableColumn\": \"\",\n \"targets\": [\n\ - \ {\n \"expr\": \"sum(kubelet_running_container_count{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": \"\"\ - ,\n \"title\": \"Running Container\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \"\ - valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\": \"null\"\ - \n }\n ],\n \"valueName\"\ - : \"min\"\n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 5,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 2,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120,\ - \ 193)\",\n \"show\": false\n },\n \ - \ \"tableColumn\": \"\",\n \"targets\": [\n\ - \ {\n \"expr\": \"sum(volume_manager_total_volumes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\", state=\\\"actual_state_of_world\\\ - \"})\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ \"\",\n \"title\": \"Actual Volume Count\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\"\ - : \"null\"\n }\n ],\n \ - \ \"valueName\": \"min\"\n },\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"#299c46\",\n \"rgba(237,\ - \ 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 6,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(volume_manager_total_volumes{cluster=\\\"\ - $cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\",state=\\\"desired_state_of_world\\\ - \"})\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ \"\",\n \"title\": \"Desired Volume Count\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\"\ - : \"null\"\n }\n ],\n \ - \ \"valueName\": \"min\"\n },\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"#299c46\",\n \"rgba(237,\ - \ 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 7,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(kubelet_node_config_error{cluster=\\\"\ - $cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\":\ - \ \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ \"\",\n \"title\": \"Config Error Count\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\"\ - : \"null\"\n }\n ],\n \ - \ \"valueName\": \"min\"\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"repeatRowId\"\ - : null,\n \"showTitle\": false,\n \"title\": \"Dashboard\ - \ Row\",\n \"titleSize\": \"h6\",\n \"type\": \"row\"\n\ - \ },\n {\n \"collapse\": false,\n \"collapsed\"\ - : false,\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"gridPos\": {\n\n },\n \ - \ \"id\": 8,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n\ - \ \"current\": \"true\",\n \"max\"\ - : false,\n \"min\": false,\n \"\ - rightSide\": \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\ - \n },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n\ - \ \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(kubelet_runtime_operations_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (operation_type,\ - \ instance)\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_type}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Operation Rate\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 9,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 6,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(kubelet_runtime_operations_errors_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_type)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_type}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Operation Error Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 10,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\":\ - \ \"true\",\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n\ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"\ - nullPointMode\": \"null\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_type, le))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_type}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Operation duration 99th quantile\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 11,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\":\ - \ \"true\",\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n\ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"\ - nullPointMode\": \"null\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 6,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance)\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} pod\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(kubelet_pod_worker_duration_seconds_count{cluster=\\\"\ - $cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance)\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} worker\",\n \"refId\": \"B\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Pod Start\ - \ Rate\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 12,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} pod\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} worker\",\n \"refId\": \"B\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Pod Start\ - \ Duration\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"s\",\n \"\ - label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n }\n\ - \ ]\n }\n ],\n \"repeat\"\ - : null,\n \"repeatIteration\": null,\n \"repeatRowId\":\ - \ null,\n \"showTitle\": false,\n \"title\": \"Dashboard\ - \ Row\",\n \"titleSize\": \"h6\",\n \"type\": \"row\"\n\ - \ },\n {\n \"collapse\": false,\n \"collapsed\"\ - : false,\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"gridPos\": {\n\n },\n \ - \ \"id\": 13,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n\ - \ \"current\": \"true\",\n \"hideEmpty\"\ - : \"true\",\n \"hideZero\": \"true\",\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": \"true\",\n \"show\": \"\ - true\",\n \"total\": false,\n \"\ - values\": \"true\"\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(storage_operation_duration_seconds_count{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_name, volume_plugin)\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_name}} {{volume_plugin}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Storage Operation Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 14,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"hideEmpty\"\ - : \"true\",\n \"hideZero\": \"true\",\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": \"true\",\n \"show\": \"\ - true\",\n \"total\": false,\n \"\ - values\": \"true\"\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(storage_operation_errors_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_name, volume_plugin)\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_name}} {{volume_plugin}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Storage Operation Error Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 15,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\":\ - \ \"true\",\n \"hideEmpty\": \"true\",\n \ - \ \"hideZero\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_name, volume_plugin, le))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_name}} {{volume_plugin}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Storage Operation Duration 99th quantile\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 16,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\":\ - \ \"true\",\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n\ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"\ - nullPointMode\": \"null\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 6,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(kubelet_cgroup_manager_duration_seconds_count{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_type)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{operation_type}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Cgroup manager operation rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 17,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ operation_type, le))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{operation_type}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Cgroup manager 99th quantile\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"description\": \"Pod lifecycle event generator\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 18,\n \"\ - legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"true\",\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": \"true\",\n \"\ - show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \"\ - lines\": true,\n \"linewidth\": 1,\n \"\ - links\": [\n\n ],\n \"nullPointMode\": \"\ - null\",\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(kubelet_pleg_relist_duration_seconds_count{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m])) by (instance)\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"PLEG relist\ - \ rate\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 19,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"PLEG relist\ - \ interval\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"s\",\n \"\ - label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n }\n\ - \ ]\n }\n ],\n \"repeat\"\ - : null,\n \"repeatIteration\": null,\n \"repeatRowId\":\ - \ null,\n \"showTitle\": false,\n \"title\": \"Dashboard\ - \ Row\",\n \"titleSize\": \"h6\",\n \"type\": \"row\"\n\ - \ },\n {\n \"collapse\": false,\n \"collapsed\"\ - : false,\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"gridPos\": {\n\n },\n \ - \ \"id\": 20,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n\ - \ \"current\": \"true\",\n \"max\"\ - : false,\n \"min\": false,\n \"\ - rightSide\": \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\ - \n },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n\ - \ \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(kubelet_pleg_relist_duration_seconds_bucket{cluster=\\\"$cluster\\\"\ - ,job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"PLEG relist\ - \ duration\",\n \"tooltip\": {\n \"\ - shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"s\",\n \"\ - label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n }\n\ - \ ]\n }\n ],\n \"repeat\"\ - : null,\n \"repeatIteration\": null,\n \"repeatRowId\":\ - \ null,\n \"showTitle\": false,\n \"title\": \"Dashboard\ - \ Row\",\n \"titleSize\": \"h6\",\n \"type\": \"row\"\n\ - \ },\n {\n \"collapse\": false,\n \"collapsed\"\ - : false,\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"gridPos\": {\n\n },\n \ - \ \"id\": 21,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - rightSide\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(rest_client_requests_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\", instance=~\\\"$instance\\\",code=~\\\"2..\\\ - \"}[5m]))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"\ - legendFormat\": \"2xx\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(rest_client_requests_total{cluster=\\\"$cluster\\\",job=\\\ - \"kubelet\\\", instance=~\\\"$instance\\\",code=~\\\"3..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - 3xx\",\n \"refId\": \"B\"\n \ - \ },\n {\n \"expr\": \"sum(rate(rest_client_requests_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\", instance=~\\\"$instance\\\",code=~\\\"4..\\\ - \"}[5m]))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"\ - legendFormat\": \"4xx\",\n \"refId\": \"C\"\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(rest_client_requests_total{cluster=\\\"$cluster\\\",job=\\\ - \"kubelet\\\", instance=~\\\"$instance\\\",code=~\\\"5..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - 5xx\",\n \"refId\": \"D\"\n \ - \ }\n ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"RPC Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 22,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\":\ - \ \"true\",\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n\ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"\ - nullPointMode\": \"null\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\", instance=~\\\"$instance\\\"}[5m])) by (instance,\ - \ verb, url, le))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{verb}} {{url}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Request duration 99th quantile\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 23,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"process_resident_memory_bytes{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 24,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(process_cpu_seconds_total{cluster=\\\ - \"$cluster\\\",job=\\\"kubelet\\\",instance=~\\\"$instance\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": [\n\n\ - \ ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"CPU usage\",\n\ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 25,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 4,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"go_goroutines{cluster=\\\"$cluster\\\",job=\\\"kubelet\\\ - \",instance=~\\\"$instance\\\"}\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Goroutines\",\n \"tooltip\":\ - \ {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 2,\n \"includeAll\": false,\n \ - \ \"label\": \"cluster\",\n \"multi\": false,\n \ - \ \"name\": \"cluster\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_pod_info, cluster)\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"query\",\n \"useTags\": false\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n\n },\n \"datasource\": \"\ - $datasource\",\n \"hide\": 0,\n \"includeAll\":\ - \ true,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"instance\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kubelet_runtime_operations{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\"}, instance)\",\n \"refresh\"\ - : 2,\n \"regex\": \"\",\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n }\n ]\n },\n\ - \ \"time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n \ - \ },\n \"timepicker\": {\n \"refresh_intervals\": [\n \"\ - 5s\",\n \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\"\ - ,\n \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Kubelet\",\n \"uid\": \"3138fa155d5915769fbded898ac09fd9\"\ - ,\n \"version\": 0\n}" + kubelet.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(up{cluster=\"$cluster\", job=\"kubelet\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Up", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 3, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(kubelet_running_pod_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": "", + "title": "Running Pods", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 4, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(kubelet_running_container_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": "", + "title": "Running Container", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 5, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\", state=\"actual_state_of_world\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": "", + "title": "Actual Volume Count", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 6, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(volume_manager_total_volumes{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\",state=\"desired_state_of_world\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": "", + "title": "Desired Volume Count", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 7, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(rate(kubelet_node_config_error{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": "", + "title": "Config Error Count", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubelet_runtime_operations_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (operation_type, instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_type}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Operation Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubelet_runtime_operations_errors_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_type)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_type}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Operation Error Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 10, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_runtime_operations_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_type, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_type}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Operation duration 99th quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 11, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} pod", + "refId": "A" + }, + { + "expr": "sum(rate(kubelet_pod_worker_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} worker", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Pod Start Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 12, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_start_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} pod", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} worker", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Pod Start Duration", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 13, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "hideEmpty": "true", + "hideZero": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(storage_operation_duration_seconds_count{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Storage Operation Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 14, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "hideEmpty": "true", + "hideZero": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(storage_operation_errors_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Storage Operation Error Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 15, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "hideEmpty": "true", + "hideZero": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": true, + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(storage_operation_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_name, volume_plugin, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_name}} {{volume_plugin}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Storage Operation Duration 99th quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 16, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubelet_cgroup_manager_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_type)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{operation_type}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Cgroup manager operation rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 17, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_cgroup_manager_duration_seconds_bucket{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, operation_type, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{operation_type}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Cgroup manager 99th quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "description": "Pod lifecycle event generator", + "fill": 1, + "gridPos": { + }, + "id": 18, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubelet_pleg_relist_duration_seconds_count{cluster=\"$cluster\", job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "PLEG relist rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 19, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_interval_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "PLEG relist interval", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 20, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubelet_pleg_relist_duration_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "PLEG relist duration", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 21, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"2..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "2xx", + "refId": "A" + }, + { + "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"3..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "3xx", + "refId": "B" + }, + { + "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"4..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "4xx", + "refId": "C" + }, + { + "expr": "sum(rate(rest_client_requests_total{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\",code=~\"5..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5xx", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "RPC Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 22, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{cluster=\"$cluster\",job=\"kubelet\", instance=~\"$instance\"}[5m])) by (instance, verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Request duration 99th quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 23, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 24, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 25, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{cluster=\"$cluster\",job=\"kubelet\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Goroutines", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(kubelet_runtime_operations{cluster=\"$cluster\", job=\"kubelet\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Kubelet", + "uid": "3138fa155d5915769fbded898ac09fd9", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -10303,610 +19335,1342 @@ metadata: --- apiVersion: v1 data: - namespace-by-pod.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\ - \n ],\n \"annotations\": {\n \"list\": [\n {\n \ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n\ - \ \"enable\": true,\n \"hide\": true,\n \ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\": \"\ - Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"\ - graphTooltip\": 0,\n \"hideControls\": false,\n \"id\": null,\n \"links\"\ - : [\n\n ],\n \"panels\": [\n {\n \"collapse\": false,\n\ - \ \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"panels\"\ - : [\n\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Current Bandwidth\",\n \"titleSize\": \"\ - h6\",\n \"type\": \"row\"\n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \"colorValue\":\ - \ false,\n \"colors\": [\n \"#299c46\",\n \ - \ \"rgba(237, 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \"decimals\"\ - : 0,\n \"format\": \"time_series\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \"\ - x\": 0,\n \"y\": 1\n },\n \"height\": 9,\n\ - \ \"id\": 3,\n \"interval\": null,\n \"links\"\ - : [\n\n ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n \ - \ \"name\": \"range to text\",\n \"value\": 2\n\ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\",\n \ - \ \"nullText\": null,\n \"options\": {\n \"\ - fieldOptions\": {\n \"calcs\": [\n \"\ - last\"\n ],\n \"defaults\": {\n \ - \ \"max\": 10000000000,\n \"min\": 0,\n\ - \ \"title\": \"$namespace\",\n \"\ - unit\": \"Bps\"\n },\n \"mappings\": [\n\ - \n ],\n \"override\": {\n\n \ - \ },\n \"thresholds\": [\n {\n\ - \ \"color\": \"dark-green\",\n \ - \ \"index\": 0,\n \"value\": null\n \ - \ },\n {\n \"\ - color\": \"dark-yellow\",\n \"index\": 1,\n \ - \ \"value\": 5000000000\n },\n \ - \ {\n \"color\": \"dark-red\",\n\ - \ \"index\": 2,\n \"value\"\ - : 7000000000\n }\n ],\n \ - \ \"values\": false\n }\n },\n \"\ - postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \"prefix\"\ - : \"\",\n \"prefixFontSize\": \"50%\",\n \"rangeMaps\":\ - \ [\n {\n \"from\": \"null\",\n \ - \ \"text\": \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 12,\n \"sparkline\"\ - : {\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120, 193)\"\ - ,\n \"show\": false\n },\n \"tableColumn\"\ - : \"\",\n \"targets\": [\n {\n \"\ - expr\": \"sum(irate(container_network_receive_bytes_total{namespace=~\\\"$namespace\\\ - \"}[$interval:$resolution]))\",\n \"format\": \"time_series\"\ - ,\n \"instant\": null,\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"A\"\n }\n ],\n \"thresholds\": \"\",\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Current Rate of Bytes Received\",\n \"type\": \"gauge\"\ - ,\n \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \"text\"\ - : \"N/A\",\n \"value\": \"null\"\n }\n \ - \ ],\n \"valueName\": \"current\"\n },\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\": false,\n\ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n \ - \ \"#d44a3a\"\n ],\n \"datasource\": \"$datasource\"\ - ,\n \"decimals\": 0,\n \"format\": \"time_series\",\n \ - \ \"gauge\": {\n \"maxValue\": 100,\n \"\ - minValue\": 0,\n \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n },\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 1\n },\n \ - \ \"height\": 9,\n \"id\": 4,\n \"interval\": null,\n\ - \ \"links\": [\n\n ],\n \"mappingType\": 1,\n\ - \ \"mappingTypes\": [\n {\n \"name\"\ - : \"value to text\",\n \"value\": 1\n },\n \ - \ {\n \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \"maxDataPoints\"\ - : 100,\n \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"nullText\": null,\n \"options\": {\n \ - \ \"fieldOptions\": {\n \"calcs\": [\n \ - \ \"last\"\n ],\n \"defaults\": {\n\ - \ \"max\": 10000000000,\n \"min\"\ - : 0,\n \"title\": \"$namespace\",\n \ - \ \"unit\": \"Bps\"\n },\n \"mappings\"\ - : [\n\n ],\n \"override\": {\n\n \ - \ },\n \"thresholds\": [\n \ - \ {\n \"color\": \"dark-green\",\n \ - \ \"index\": 0,\n \"value\": null\n \ - \ },\n {\n \ - \ \"color\": \"dark-yellow\",\n \"index\": 1,\n\ - \ \"value\": 5000000000\n },\n\ - \ {\n \"color\": \"dark-red\"\ - ,\n \"index\": 2,\n \"value\"\ - : 7000000000\n }\n ],\n \ - \ \"values\": false\n }\n },\n \"\ - postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \"prefix\"\ - : \"\",\n \"prefixFontSize\": \"50%\",\n \"rangeMaps\":\ - \ [\n {\n \"from\": \"null\",\n \ - \ \"text\": \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 12,\n \"sparkline\"\ - : {\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120, 193)\"\ - ,\n \"show\": false\n },\n \"tableColumn\"\ - : \"\",\n \"targets\": [\n {\n \"\ - expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\"$namespace\\\ - \"}[$interval:$resolution]))\",\n \"format\": \"time_series\"\ - ,\n \"instant\": null,\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"A\"\n }\n ],\n \"thresholds\": \"\",\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Current Rate of Bytes Transmitted\",\n \"type\": \"\ - gauge\",\n \"valueFontSize\": \"80%\",\n \"valueMaps\":\ - \ [\n {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\n },\n \ - \ {\n \"columns\": [\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n },\n \ - \ {\n \"text\": \"\",\n \"\ - value\": \"\"\n },\n {\n \"text\"\ - : \"\",\n \"value\": \"\"\n },\n \ - \ {\n \"text\": \"\",\n \"value\": \"\ - \"\n },\n {\n \"text\": \"\"\ - ,\n \"value\": \"\"\n },\n {\n\ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ }\n ],\n \"datasource\": \"$datasource\",\n\ - \ \"fill\": 1,\n \"fontSize\": \"100%\",\n \"\ - gridPos\": {\n \"h\": 9,\n \"w\": 24,\n \ - \ \"x\": 0,\n \"y\": 10\n },\n \"\ - id\": 5,\n \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"minSpan\": 24,\n \"nullPointMode\": \"null as zero\",\n \ - \ \"renderer\": \"flot\",\n \"scroll\": true,\n \ - \ \"showHeader\": true,\n \"sort\": {\n \"col\": 0,\n\ - \ \"desc\": false\n },\n \"spaceLength\"\ - : 10,\n \"span\": 24,\n \"styles\": [\n {\n\ - \ \"alias\": \"Time\",\n \"colorMode\":\ - \ null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Time\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"hidden\",\n \ - \ \"unit\": \"short\"\n },\n {\n \ - \ \"alias\": \"Bandwidth Received\",\n \"colorMode\":\ - \ null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #A\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Bandwidth Transmitted\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Rate of Received Packets\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n {\n \ - \ \"alias\": \"Rate of Transmitted Packets\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #D\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n {\n \ - \ \"alias\": \"Rate of Received Packets Dropped\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #E\",\n \"\ - thresholds\": [\n\n ],\n \"type\": \"number\"\ - ,\n \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets Dropped\",\n\ - \ \"colorMode\": null,\n \"colors\": [\n\ - \n ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #F\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"pps\"\n },\n\ - \ {\n \"alias\": \"Pod\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": true,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod?orgId=1&refresh=30s&var-namespace=$namespace&var-pod=$__cell\"\ - ,\n \"pattern\": \"pod\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n }\n ],\n \ - \ \"targets\": [\n {\n \"expr\": \"\ - sum(irate(container_network_receive_bytes_total{namespace=~\\\"$namespace\\\"\ - }[$interval:$resolution])) by (pod)\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"B\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sum(irate(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"C\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"D\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"E\",\n \"step\": 10\n \ - \ },\n {\n \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"F\",\n \"step\": 10\n \ - \ }\n ],\n \"title\": \"Current Status\",\n \ - \ \"transform\": \"table\",\n \"type\": \"table\"\n \ - \ },\n {\n \"collapse\": false,\n \"collapsed\"\ - : false,\n \"gridPos\": {\n \"h\": 1,\n \ - \ \"w\": 24,\n \"x\": 0,\n \"y\": 19\n \ - \ },\n \"id\": 6,\n \"panels\": [\n\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Bandwidth\",\n \"titleSize\": \"h6\",\n \"\ - type\": \"row\"\n },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"$datasource\",\n\ - \ \"fill\": 2,\n \"gridPos\": {\n \"h\":\ - \ 9,\n \"w\": 12,\n \"x\": 0,\n \"\ - y\": 20\n },\n \"id\": 7,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \"minSpan\": 12,\n\ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \"stack\"\ - : true,\n \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Receive Bandwidth\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \"label\"\ - : null,\n \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 20\n },\n \ - \ \"id\": 8,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"current\": false,\n\ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\"\ - : [\n\n ],\n \"minSpan\": 12,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\"$namespace\\\ - \"}[$interval:$resolution])) by (pod)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"refId\": \"A\",\n \"\ - step\": 10\n }\n ],\n \"thresholds\": [\n\ - \n ],\n \"timeFrom\": null,\n \"timeShift\":\ - \ null,\n \"title\": \"Transmit Bandwidth\",\n \"tooltip\"\ - : {\n \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \"type\"\ - : \"graph\",\n \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \"show\"\ - : true\n }\n ]\n },\n {\n \"\ - collapse\": true,\n \"collapsed\": true,\n \"gridPos\":\ - \ {\n \"h\": 1,\n \"w\": 24,\n \"\ - x\": 0,\n \"y\": 29\n },\n \"id\": 9,\n \ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 2,\n \"gridPos\": {\n \"h\": 10,\n\ - \ \"w\": 12,\n \"x\": 0,\n \ - \ \"y\": 30\n },\n \"\ - id\": 10,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n\ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 10,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 30\n \ - \ },\n \"id\": 11,\n \"legend\": {\n\ - \ \"alignAsTable\": false,\n \"\ - avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n\ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Packets\",\n \"titleSize\": \"h6\",\n \"\ - type\": \"row\"\n },\n {\n \"collapse\": true,\n \ - \ \"collapsed\": true,\n \"gridPos\": {\n \"\ - h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 30\n },\n \"id\": 12,\n \"panels\"\ - : [\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 10,\n \"w\": 12,\n\ - \ \"x\": 0,\n \"y\": 40\n \ - \ },\n \"id\": 13,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n\ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\":\ - \ \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 10,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 40\n \ - \ },\n \"id\": 14,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \"$namespace\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n\ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Errors\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"refresh\": \"30s\",\n \"rows\"\ - : [\n\n ],\n \"schemaVersion\": 18,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": \".+\",\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"kube-system\",\n \"value\": \"kube-system\"\ - \n },\n \"datasource\": \"$datasource\",\n \ - \ \"definition\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"hide\": 0,\n \"includeAll\"\ - : true,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"namespace\",\n \"options\": [\n\n\ - \ ],\n \"query\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n \ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"resolution\",\n \"options\": [\n \ - \ {\n \"selected\": false,\n \ - \ \"text\": \"30s\",\n \"value\": \"30s\"\ - \n },\n {\n \"selected\"\ - : true,\n \"text\": \"5m\",\n \"\ - value\": \"5m\"\n },\n {\n \ - \ \"selected\": false,\n \"text\": \"1h\",\n\ - \ \"value\": \"1h\"\n }\n \ - \ ],\n \"query\": \"30s,5m,1h\",\n \"refresh\"\ - : 2,\n \"regex\": \"\",\n \"skipUrlSync\": false,\n\ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"interval\",\n \"useTags\"\ - : false\n },\n {\n \"allValue\": null,\n\ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 2,\n \"includeAll\": false,\n \"label\"\ - : null,\n \"multi\": false,\n \"name\": \"interval\"\ - ,\n \"options\": [\n {\n \ - \ \"selected\": true,\n \"text\": \"4h\",\n \ - \ \"value\": \"4h\"\n }\n ],\n\ - \ \"query\": \"4h\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"interval\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Networking / Namespace\ - \ (Pods)\",\n \"uid\": \"8b7a8b326d7a6f1f04244066368c67af\",\n \"version\"\ - : 0\n}" + namespace-by-pod.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "panels": [ + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Current Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "decimals": 0, + "format": "time_series", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 1 + }, + "height": 9, + "id": 3, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 12, + "nullPointMode": "connected", + "nullText": null, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "max": 10000000000, + "min": 0, + "title": "$namespace", + "unit": "Bps" + }, + "mappings": [ + ], + "override": { + }, + "thresholds": [ + { + "color": "dark-green", + "index": 0, + "value": null + }, + { + "color": "dark-yellow", + "index": 1, + "value": 5000000000 + }, + { + "color": "dark-red", + "index": 2, + "value": 7000000000 + } + ], + "values": false + } + }, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 12, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution]))", + "format": "time_series", + "instant": null, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Current Rate of Bytes Received", + "type": "gauge", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "decimals": 0, + "format": "time_series", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "height": 9, + "id": 4, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 12, + "nullPointMode": "connected", + "nullText": null, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "max": 10000000000, + "min": 0, + "title": "$namespace", + "unit": "Bps" + }, + "mappings": [ + ], + "override": { + }, + "thresholds": [ + { + "color": "dark-green", + "index": 0, + "value": null + }, + { + "color": "dark-yellow", + "index": 1, + "value": 5000000000 + }, + { + "color": "dark-red", + "index": 2, + "value": 7000000000 + } + ], + "values": false + } + }, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 12, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution]))", + "format": "time_series", + "instant": null, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Current Rate of Bytes Transmitted", + "type": "gauge", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "columns": [ + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + } + ], + "datasource": "$datasource", + "fill": 1, + "fontSize": "100%", + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 5, + "lines": true, + "linewidth": 1, + "minSpan": 24, + "nullPointMode": "null as zero", + "renderer": "flot", + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": false + }, + "spaceLength": 10, + "span": 24, + "styles": [ + { + "alias": "Time", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Time", + "thresholds": [ + ], + "type": "hidden", + "unit": "short" + }, + { + "alias": "Bandwidth Received", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Bandwidth Transmitted", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Pod", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "d/7a18067ce943a40ae25454675c19ff5c/kubernetes-networking-pod?orgId=1&refresh=30s&var-namespace=$namespace&var-pod=$__cell", + "pattern": "pod", + "thresholds": [ + ], + "type": "number", + "unit": "short" + } + ], + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + } + ], + "title": "Current Status", + "transform": "table", + "type": "table" + }, + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 6, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 20 + }, + "id": 7, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 20 + }, + "id": 8, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 9, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 30 + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 30 + }, + "id": 11, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Packets", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 30 + }, + "id": 12, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 13, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 14, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{namespace=~\"$namespace\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Errors", + "titleSize": "h6", + "type": "row" + } + ], + "refresh": "30s", + "rows": [ + ], + "schemaVersion": 18, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": ".+", + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "kube-system", + "value": "kube-system" + }, + "datasource": "$datasource", + "definition": "label_values(container_network_receive_packets_total, namespace)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(container_network_receive_packets_total, namespace)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "resolution", + "options": [ + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": true, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + } + ], + "query": "30s,5m,1h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Networking / Namespace (Pods)", + "uid": "8b7a8b326d7a6f1f04244066368c67af", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -10923,674 +20687,1378 @@ metadata: --- apiVersion: v1 data: - namespace-by-workload.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\"\ - : [\n\n ],\n \"annotations\": {\n \"list\": [\n {\n \ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\"\ - ,\n \"enable\": true,\n \"hide\": true,\n \ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\"\ - : \"Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \ - \ \"graphTooltip\": 0,\n \"hideControls\": false,\n \"id\": null,\n \ - \ \"links\": [\n\n ],\n \"panels\": [\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n\ - \ \"y\": 0\n },\n \"id\": 2,\n \ - \ \"panels\": [\n\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": true,\n \"title\": \"Current Bandwidth\",\n \ - \ \"titleSize\": \"h6\",\n \"type\": \"row\"\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \"breakpoint\"\ - : \"50%\",\n \"cacheTimeout\": null,\n \"combine\": {\n\ - \ \"label\": \"Others\",\n \"threshold\": 0\n \ - \ },\n \"datasource\": \"$datasource\",\n \"fontSize\"\ - : \"80%\",\n \"format\": \"Bps\",\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 1\n },\n \"id\": 3,\n \ - \ \"interval\": null,\n \"legend\": {\n \"percentage\"\ - : true,\n \"percentageDecimals\": null,\n \"show\"\ - : true,\n \"values\": true\n },\n \"legendType\"\ - : \"Right side\",\n \"maxDataPoints\": 3,\n \"nullPointMode\"\ - : \"connected\",\n \"pieType\": \"donut\",\n \"targets\"\ - : [\n {\n \"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\",\n \"format\": \"time_series\"\ - ,\n \"instant\": null,\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\"\ - : \"Current Rate of Bytes Received\",\n \"type\": \"grafana-piechart-panel\"\ - ,\n \"valueName\": \"current\"\n },\n {\n \ - \ \"aliasColors\": {\n\n },\n \"breakpoint\": \"50%\",\n\ - \ \"cacheTimeout\": null,\n \"combine\": {\n \ - \ \"label\": \"Others\",\n \"threshold\": 0\n },\n\ - \ \"datasource\": \"$datasource\",\n \"fontSize\": \"80%\"\ - ,\n \"format\": \"Bps\",\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 1\n },\n \"id\": 4,\n \"interval\"\ - : null,\n \"legend\": {\n \"percentage\": true,\n \ - \ \"percentageDecimals\": null,\n \"show\": true,\n\ - \ \"values\": true\n },\n \"legendType\"\ - : \"Right side\",\n \"maxDataPoints\": 3,\n \"nullPointMode\"\ - : \"connected\",\n \"pieType\": \"donut\",\n \"targets\"\ - : [\n {\n \"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\",\n \"format\": \"time_series\"\ - ,\n \"instant\": null,\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \"title\"\ - : \"Current Rate of Bytes Transmitted\",\n \"type\": \"grafana-piechart-panel\"\ - ,\n \"valueName\": \"current\"\n },\n {\n \ - \ \"columns\": [\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ },\n {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n {\n \ - \ \"text\": \"\",\n \"value\": \"\"\n \ - \ }\n ],\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"fontSize\": \"90%\",\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 24,\n \"\ - x\": 0,\n \"y\": 10\n },\n \"id\": 5,\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \"minSpan\"\ - : 24,\n \"nullPointMode\": \"null as zero\",\n \"renderer\"\ - : \"flot\",\n \"scroll\": true,\n \"showHeader\": true,\n\ - \ \"sort\": {\n \"col\": 0,\n \"desc\"\ - : false\n },\n \"spaceLength\": 10,\n \"span\"\ - : 24,\n \"styles\": [\n {\n \"alias\"\ - : \"Time\",\n \"colorMode\": null,\n \"\ - colors\": [\n\n ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"pattern\": \"Time\"\ - ,\n \"thresholds\": [\n\n ],\n \ - \ \"type\": \"hidden\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\": \"Current\ - \ Bandwidth Received\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"Drill down\"\ - ,\n \"linkUrl\": \"\",\n \"pattern\": \"\ - Value #A\",\n \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \"unit\": \"Bps\"\ - \n },\n {\n \"alias\": \"Current\ - \ Bandwidth Transmitted\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \"\ - dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n\ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Average Bandwidth Received\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #C\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Average Bandwidth Transmitted\",\n \"\ - colorMode\": null,\n \"colors\": [\n\n ],\n\ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\": \"\"\ - ,\n \"pattern\": \"Value #D\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"number\",\n \ - \ \"unit\": \"Bps\"\n },\n {\n \ - \ \"alias\": \"Rate of Received Packets\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #E\",\n \"\ - thresholds\": [\n\n ],\n \"type\": \"number\"\ - ,\n \"unit\": \"pps\"\n },\n \ - \ {\n \"alias\": \"Rate of Transmitted Packets\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"Value #F\",\n \ - \ \"thresholds\": [\n\n ],\n \"\ - type\": \"number\",\n \"unit\": \"pps\"\n },\n\ - \ {\n \"alias\": \"Rate of Received Packets\ - \ Dropped\",\n \"colorMode\": null,\n \"\ - colors\": [\n\n ],\n \"dateFormat\": \"\ - YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"pattern\": \"Value\ - \ #G\",\n \"thresholds\": [\n\n ],\n \ - \ \"type\": \"number\",\n \"unit\": \"pps\"\ - \n },\n {\n \"alias\": \"Rate\ - \ of Transmitted Packets Dropped\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"Value #H\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"pps\"\n },\n {\n \ - \ \"alias\": \"Workload\",\n \"colorMode\": null,\n\ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": true,\n \"linkTooltip\"\ - : \"Drill down\",\n \"linkUrl\": \"d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload?orgId=1&refresh=30s&var-namespace=$namespace&var-type=$type&var-workload=$__cell\"\ - ,\n \"pattern\": \"workload\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n }\n ],\n \ - \ \"targets\": [\n {\n \"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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"A\",\n \"step\": 10\n },\n \ - \ {\n \"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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"B\",\n \"step\": 10\n },\n \ - \ {\n \"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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"C\",\n \"step\": 10\n },\n \ - \ {\n \"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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"D\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"E\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"F\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_dropped_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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"G\",\n \"step\": 10\n },\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_dropped_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\",\n \"format\": \"table\"\ - ,\n \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \"refId\"\ - : \"H\",\n \"step\": 10\n }\n ],\n\ - \ \"title\": \"Current Status\",\n \"transform\": \"table\"\ - ,\n \"type\": \"table\"\n },\n {\n \"collapse\"\ - : true,\n \"collapsed\": true,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n\ - \ \"y\": 19\n },\n \"id\": 6,\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"breakpoint\": \"50%\",\n \ - \ \"cacheTimeout\": null,\n \"combine\": {\n\ - \ \"label\": \"Others\",\n \"threshold\"\ - : 0\n },\n \"datasource\": \"$datasource\"\ - ,\n \"fontSize\": \"80%\",\n \"format\"\ - : \"Bps\",\n \"gridPos\": {\n \"h\"\ - : 9,\n \"w\": 12,\n \"x\": 0,\n\ - \ \"y\": 20\n },\n \ - \ \"id\": 7,\n \"interval\": null,\n \"\ - legend\": {\n \"percentage\": true,\n \ - \ \"percentageDecimals\": null,\n \"show\": true,\n\ - \ \"values\": true\n },\n \ - \ \"legendType\": \"Right side\",\n \"maxDataPoints\"\ - : 3,\n \"nullPointMode\": \"connected\",\n \ - \ \"pieType\": \"donut\",\n \"targets\": [\n \ - \ {\n \"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\",\n \"format\": \"\ - time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{workload}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Average\ - \ Rate of Bytes Received\",\n \"type\": \"grafana-piechart-panel\"\ - ,\n \"valueName\": \"current\"\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"breakpoint\": \"50%\",\n \"cacheTimeout\"\ - : null,\n \"combine\": {\n \"label\"\ - : \"Others\",\n \"threshold\": 0\n },\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fontSize\": \"80%\",\n \"format\": \"Bps\",\n \ - \ \"gridPos\": {\n \"h\": 9,\n \ - \ \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 20\n },\n \"id\": 8,\n \ - \ \"interval\": null,\n \"legend\": {\n \ - \ \"percentage\": true,\n \"percentageDecimals\"\ - : null,\n \"show\": true,\n \"values\"\ - : true\n },\n \"legendType\": \"Right side\"\ - ,\n \"maxDataPoints\": 3,\n \"nullPointMode\"\ - : \"connected\",\n \"pieType\": \"donut\",\n \ - \ \"targets\": [\n {\n \ - \ \"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\",\n \"format\": \"\ - time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{workload}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"title\": \"Average\ - \ Rate of Bytes Transmitted\",\n \"type\": \"grafana-piechart-panel\"\ - ,\n \"valueName\": \"current\"\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Average Bandwidth\",\n \"titleSize\": \"h6\",\n\ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n\ - \ \"y\": 29\n },\n \"id\": 9,\n \ - \ \"panels\": [\n\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": true,\n \"title\": \"Bandwidth HIstory\",\n \ - \ \"titleSize\": \"h6\",\n \"type\": \"row\"\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 0,\n \"y\": 38\n },\n \ - \ \"id\": 10,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"current\": false,\n\ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\"\ - : [\n\n ],\n \"minSpan\": 12,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - 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\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{workload}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Receive Bandwidth\",\n \"tooltip\"\ - : {\n \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \"type\"\ - : \"graph\",\n \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \"show\"\ - : true\n }\n ]\n },\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \"x\": 12,\n\ - \ \"y\": 38\n },\n \"id\": 11,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \"hideEmpty\"\ - : true,\n \"hideZero\": true,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\",\n \ - \ \"paceLength\": 10,\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \"renderer\": \"\ - flot\",\n \"repeat\": null,\n \"seriesOverrides\": [\n\n\ - \ ],\n \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \"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\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{workload}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Transmit Bandwidth\",\n \"tooltip\"\ - : {\n \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \"type\"\ - : \"graph\",\n \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n },\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \"show\"\ - : true\n }\n ]\n },\n {\n \"\ - collapse\": true,\n \"collapsed\": true,\n \"gridPos\":\ - \ {\n \"h\": 1,\n \"w\": 24,\n \"\ - x\": 0,\n \"y\": 39\n },\n \"id\": 12,\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 2,\n \"gridPos\": {\n \"h\": 9,\n\ - \ \"w\": 12,\n \"x\": 0,\n \ - \ \"y\": 40\n },\n \"\ - id\": 13,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_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\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 40\n \ - \ },\n \"id\": 14,\n \"legend\": {\n\ - \ \"alignAsTable\": false,\n \"\ - avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_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\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Packets\",\n \"titleSize\": \"h6\",\n \"\ - type\": \"row\"\n },\n {\n \"collapse\": true,\n \ - \ \"collapsed\": true,\n \"gridPos\": {\n \"\ - h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 40\n },\n \"id\": 15,\n \"panels\"\ - : [\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 41\n \ - \ },\n \"id\": 16,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_dropped_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\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\":\ - \ \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 41\n \ - \ },\n \"id\": 17,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_dropped_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\",\n \"format\": \"\ - time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{workload}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Errors\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"refresh\": \"30s\",\n \"rows\"\ - : [\n\n ],\n \"schemaVersion\": 18,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"kube-system\",\n \"value\": \"kube-system\"\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"definition\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"namespace\",\n \"options\": [\n\n\ - \ ],\n \"query\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n \ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"deployment\"\ - ,\n \"value\": \"deployment\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"definition\": \"\ - label_values(mixin_pod_workload{namespace=~\\\"$namespace\\\", workload=~\\\"\ - .+\\\"}, workload_type)\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"type\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(mixin_pod_workload{namespace=~\\\ - \"$namespace\\\", workload=~\\\".+\\\"}, workload_type)\",\n \"\ - refresh\": 1,\n \"regex\": \"\",\n \"skipUrlSync\"\ - : false,\n \"sort\": 0,\n \"tagValuesQuery\": \"\ - \",\n \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 0,\n \"includeAll\": false,\n \"label\": null,\n\ - \ \"multi\": false,\n \"name\": \"resolution\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": false,\n \"text\": \"30s\",\n \ - \ \"value\": \"30s\"\n },\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n {\n \"selected\": false,\n\ - \ \"text\": \"1h\",\n \"value\"\ - : \"1h\"\n }\n ],\n \"query\"\ - : \"30s,5m,1h\",\n \"refresh\": 2,\n \"regex\":\ - \ \"\",\n \"skipUrlSync\": false,\n \"sort\": 1,\n\ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"interval\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n\ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 2,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"interval\",\n \"options\": [\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"4h\",\n \"value\": \"4h\"\n \ - \ }\n ],\n \"query\": \"4h\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"interval\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"refresh_intervals\": [\n \"5s\",\n\ - \ \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \ - \ \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Networking / Namespace (Workload)\",\n\ - \ \"uid\": \"bbb2a765a623ae38130206c7d94a160f\",\n \"version\": 0\n}" + namespace-by-workload.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "panels": [ + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Current Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 3, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 4, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "columns": [ + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + }, + { + "text": "", + "value": "" + } + ], + "datasource": "$datasource", + "fill": 1, + "fontSize": "90%", + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 5, + "lines": true, + "linewidth": 1, + "minSpan": 24, + "nullPointMode": "null as zero", + "renderer": "flot", + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": false + }, + "spaceLength": 10, + "span": 24, + "styles": [ + { + "alias": "Time", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Time", + "thresholds": [ + ], + "type": "hidden", + "unit": "short" + }, + { + "alias": "Current Bandwidth Received", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Current Bandwidth Transmitted", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Average Bandwidth Received", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #C", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Average Bandwidth Transmitted", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #D", + "thresholds": [ + ], + "type": "number", + "unit": "Bps" + }, + { + "alias": "Rate of Received Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #E", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #F", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Received Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #G", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Rate of Transmitted Packets Dropped", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #H", + "thresholds": [ + ], + "type": "number", + "unit": "pps" + }, + { + "alias": "Workload", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": true, + "linkTooltip": "Drill down", + "linkUrl": "d/728bf77cc1166d2f3133bf25846876cc/kubernetes-networking-workload?orgId=1&refresh=30s&var-namespace=$namespace&var-type=$type&var-workload=$__cell", + "pattern": "workload", + "thresholds": [ + ], + "type": "number", + "unit": "short" + } + ], + "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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + }, + { + "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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "C", + "step": 10 + }, + { + "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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "D", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "E", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "F", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "G", + "step": 10 + }, + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_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": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "H", + "step": 10 + } + ], + "title": "Current Status", + "transform": "table", + "type": "table" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 19 + }, + "id": 6, + "panels": [ + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 20 + }, + "id": 7, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Average Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 20 + }, + "id": 8, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Average Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Average Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 29 + }, + "id": 9, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Bandwidth HIstory", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 11, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 39 + }, + "id": 12, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 13, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 14, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Packets", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 40 + }, + "id": 15, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 41 + }, + "id": 16, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 41 + }, + "id": 17, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_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", + "intervalFactor": 1, + "legendFormat": "{{workload}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Errors", + "titleSize": "h6", + "type": "row" + } + ], + "refresh": "30s", + "rows": [ + ], + "schemaVersion": 18, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "kube-system", + "value": "kube-system" + }, + "datasource": "$datasource", + "definition": "label_values(container_network_receive_packets_total, namespace)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(container_network_receive_packets_total, namespace)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "deployment", + "value": "deployment" + }, + "datasource": "$datasource", + "definition": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\"}, workload_type)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "type", + "options": [ + ], + "query": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\".+\"}, workload_type)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "resolution", + "options": [ + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": true, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + } + ], + "query": "30s,5m,1h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Networking / Namespace (Workload)", + "uid": "bbb2a765a623ae38130206c7d94a160f", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -11607,464 +22075,901 @@ metadata: --- apiVersion: v1 data: - node-cluster-rsrc-use.json: "{\n \"annotations\": {\n \"list\": [\n\n\ - \ ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"(\\n instance:node_cpu_utilisation:rate1m{job=\\\ - \"node-exporter\\\"}\\n*\\n instance:node_num_cpu:sum{job=\\\"node-exporter\\\ - \"}\\n/ ignoring (instance) group_left\\n sum without (instance) (instance:node_num_cpu:sum{job=\\\ - \"node-exporter\\\"})\\n)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"legendLink\"\ - : \"/dashboard/file/node-rsrc-use.json\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"CPU\ - \ Utilisation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"percentunit\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": 1,\n \"min\": 0,\n\ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n },\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 10,\n \"id\": 2,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"(\\n instance:node_load1_per_cpu:ratio{job=\\\ - \"node-exporter\\\"}\\n/ ignoring (instance) group_left\\n count without (instance)\ - \ (instance:node_load1_per_cpu:ratio{job=\\\"node-exporter\\\"})\\n)\\n\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"legendLink\": \"/dashboard/file/node-rsrc-use.json\"\ - ,\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"CPU Saturation (load1 per CPU)\",\n\ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"percentunit\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": false\n }\n \ - \ ]\n }\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": true,\n \"title\": \"CPU\",\n \ - \ \"titleSize\": \"h6\"\n },\n {\n \"collapse\": false,\n\ - \ \"height\": \"250px\",\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 10,\n \"id\"\ - : 3,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 0,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(\\n instance:node_memory_utilisation:ratio{job=\\\ - \"node-exporter\\\"}\\n/ ignoring (instance) group_left\\n count without (instance)\ - \ (instance:node_memory_utilisation:ratio{job=\\\"node-exporter\\\"})\\n)\\n\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"legendLink\": \"/dashboard/file/node-rsrc-use.json\"\ - ,\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Memory Utilisation\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"percentunit\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": false\n }\n \ - \ ]\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 4,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"instance:node_vmstat_pgmajfault:rate1m{job=\\\ - \"node-exporter\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}}\",\n \"legendLink\"\ - : \"/dashboard/file/node-rsrc-use.json\",\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Memory\ - \ Saturation (Major Page Faults)\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"rps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\": \"\ - 250px\",\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 10,\n \"id\": 5,\n \"legend\": {\n\ - \ \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 0,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n {\n \"\ - alias\": \"/ Receive/\",\n \"stack\": \"A\"\n \ - \ },\n {\n \ - \ \"alias\": \"/ Transmit/\",\n \"stack\": \"B\",\n\ - \ \"transform\": \"negative-Y\"\n \ - \ }\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"instance:node_network_receive_bytes_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} Receive\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"instance:node_network_transmit_bytes_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} Transmit\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Net Utilisation (Bytes Receive/Transmit)\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 6,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n {\n \"alias\": \"/ Receive/\"\ - ,\n \"stack\": \"A\"\n },\n\ - \ {\n \"alias\": \"/ Transmit/\"\ - ,\n \"stack\": \"B\",\n \ - \ \"transform\": \"negative-Y\"\n }\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"instance:node_network_receive_drop_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} Receive\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"instance:node_network_transmit_drop_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\"}\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} Transmit\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Net Saturation (Drops Receive/Transmit)\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"rps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Network\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 7,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 6,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(\\n instance_device:node_disk_io_time_seconds:rate1m{job=\\\ - \"node-exporter\\\"}\\n/ ignoring (instance, device) group_left\\n count without\ - \ (instance, device) (instance_device:node_disk_io_time_seconds:rate1m{job=\\\"\ - node-exporter\\\"})\\n)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{device}}\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Disk IO Utilisation\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 10,\n \"\ - id\": 8,\n \"legend\": {\n \"avg\":\ - \ false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(\\n instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\\\ - \"node-exporter\\\"}\\n/ ignoring (instance, device) group_left\\n count without\ - \ (instance, device) (instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\\\ - \"node-exporter\\\"})\\n)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{instance}} {{device}}\",\n \ - \ \"legendLink\": \"/dashboard/file/node-rsrc-use.json\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Disk IO Saturation\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Disk IO\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 9,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"(\\n sum without (device) (\\n max without (fstype,\ - \ mountpoint) (\\n node_filesystem_size_bytes{job=\\\"node-exporter\\\",\ - \ fstype!=\\\"\\\"} - node_filesystem_avail_bytes{job=\\\"node-exporter\\\", fstype!=\\\ - \"\\\"}\\n )\\n ) \\n/ ignoring (instance) group_left\\n sum without (instance,\ - \ device) (\\n max without (fstype, mountpoint) (\\n node_filesystem_size_bytes{job=\\\ - \"node-exporter\\\", fstype!=\\\"\\\"}\\n )\\n )\\n) \\n\",\n \ - \ \"format\": \"time_series\",\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"{{instance}}\"\ - ,\n \"legendLink\": \"/dashboard/file/node-rsrc-use.json\"\ - ,\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Disk Space Utilisation\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"percentunit\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": false\n }\n \ - \ ]\n }\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": true,\n \"title\": \"Disk Space\",\n \ - \ \"titleSize\": \"h6\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n\n ],\n \"templating\": {\n\ - \ \"list\": [\n {\n \"current\": {\n \ - \ \"text\": \"Prometheus\",\n \"value\": \"Prometheus\"\ - \n },\n \"hide\": 0,\n \"label\"\ - : null,\n \"name\": \"datasource\",\n \"options\"\ - : [\n\n ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"type\": \"datasource\"\n }\n ]\n },\n \"time\": {\n\ - \ \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \"timepicker\"\ - : {\n \"refresh_intervals\": [\n \"5s\",\n \"10s\"\ - ,\n \"30s\",\n \"1m\",\n \"5m\",\n \ - \ \"15m\",\n \"30m\",\n \"1h\",\n \"2h\",\n\ - \ \"1d\"\n ],\n \"time_options\": [\n \"5m\"\ - ,\n \"15m\",\n \"1h\",\n \"6h\",\n \ - \ \"12h\",\n \"24h\",\n \"2d\",\n \"7d\",\n\ - \ \"30d\"\n ]\n },\n \"timezone\": \"\",\n \"title\"\ - : \"USE Method / Cluster\",\n \"uid\": \"3e97d1d02672cdd0861f4c97c64f89b2\"\ - ,\n \"version\": 0\n}" + node-cluster-rsrc-use.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n instance:node_cpu_utilisation:rate1m{job=\"node-exporter\"}\n*\n instance:node_num_cpu:sum{job=\"node-exporter\"}\n/ ignoring (instance) group_left\n sum without (instance) (instance:node_num_cpu:sum{job=\"node-exporter\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n instance:node_load1_per_cpu:ratio{job=\"node-exporter\"}\n/ ignoring (instance) group_left\n count without (instance) (instance:node_load1_per_cpu:ratio{job=\"node-exporter\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Saturation (load1 per CPU)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n instance:node_memory_utilisation:ratio{job=\"node-exporter\"}\n/ ignoring (instance) group_left\n count without (instance) (instance:node_memory_utilisation:ratio{job=\"node-exporter\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_vmstat_pgmajfault:rate1m{job=\"node-exporter\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Saturation (Major Page Faults)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "rps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "/ Receive/", + "stack": "A" + }, + { + "alias": "/ Transmit/", + "stack": "B", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_network_receive_bytes_excluding_lo:rate1m{job=\"node-exporter\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} Receive", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + }, + { + "expr": "instance:node_network_transmit_bytes_excluding_lo:rate1m{job=\"node-exporter\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} Transmit", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Net Utilisation (Bytes Receive/Transmit)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "/ Receive/", + "stack": "A" + }, + { + "alias": "/ Transmit/", + "stack": "B", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_network_receive_drop_excluding_lo:rate1m{job=\"node-exporter\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} Receive", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + }, + { + "expr": "instance:node_network_transmit_drop_excluding_lo:rate1m{job=\"node-exporter\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} Transmit", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Net Saturation (Drops Receive/Transmit)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "rps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Network", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n instance_device:node_disk_io_time_seconds:rate1m{job=\"node-exporter\"}\n/ ignoring (instance, device) group_left\n count without (instance, device) (instance_device:node_disk_io_time_seconds:rate1m{job=\"node-exporter\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{device}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk IO Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\"node-exporter\"}\n/ ignoring (instance, device) group_left\n count without (instance, device) (instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\"node-exporter\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} {{device}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk IO Saturation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Disk IO", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n sum without (device) (\n max without (fstype, mountpoint) (\n node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\"} - node_filesystem_avail_bytes{job=\"node-exporter\", fstype!=\"\"}\n )\n ) \n/ ignoring (instance) group_left\n sum without (instance, device) (\n max without (fstype, mountpoint) (\n node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\"}\n )\n )\n) \n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "legendLink": "/dashboard/file/node-rsrc-use.json", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk Space Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Disk Space", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "USE Method / Cluster", + "uid": "3e97d1d02672cdd0861f4c97c64f89b2", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -12081,463 +22986,926 @@ metadata: --- apiVersion: v1 data: - node-rsrc-use.json: "{\n \"annotations\": {\n \"list\": [\n\n ]\n\ - \ },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": false,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"instance:node_cpu_utilisation:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Utilisation\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"CPU\ - \ Utilisation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"percentunit\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"id\":\ - \ 2,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": false,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"instance:node_load1_per_cpu:ratio{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Saturation\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"CPU\ - \ Saturation (Load1 per CPU)\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"\ - format\": \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"CPU\",\n \"titleSize\": \"h6\"\n },\n\ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 3,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"instance:node_memory_utilisation:ratio{job=\\\ - \"node-exporter\\\", job=\\\"node-exporter\\\", instance=\\\"$instance\\\"}\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"Memory\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory Utilisation\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"percentunit\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"short\",\n \"label\":\ - \ null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": null,\n \ - \ \"show\": false\n }\n \ - \ ]\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 4,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": false,\n \"total\":\ - \ false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 1,\n\ - \ \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 6,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"instance:node_vmstat_pgmajfault:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Major page faults\",\n \ - \ \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Memory Saturation (Major Page Faults)\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Memory\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\": \"\ - 250px\",\n \"panels\": [\n {\n \"\ - aliasColors\": {\n\n },\n \"bars\": false,\n\ - \ \"dashLength\": 10,\n \"dashes\": false,\n\ - \ \"datasource\": \"$datasource\",\n \"\ - fill\": 1,\n \"id\": 5,\n \"legend\": {\n\ - \ \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n {\n \"\ - alias\": \"/Receive/\",\n \"stack\": \"A\"\n \ - \ },\n {\n \ - \ \"alias\": \"/Transmit/\",\n \"stack\": \"B\",\n\ - \ \"transform\": \"negative-Y\"\n \ - \ }\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n\ - \ {\n \"expr\": \"instance:node_network_receive_bytes_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Receive\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n },\n {\n \ - \ \"expr\": \"instance:node_network_transmit_bytes_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Transmit\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Net\ - \ Utilisation (Bytes Receive/Transmit)\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"id\"\ - : 6,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n \ - \ {\n \"alias\": \"/Receive/\",\n\ - \ \"stack\": \"A\"\n },\n \ - \ {\n \"alias\": \"/Transmit/\"\ - ,\n \"stack\": \"B\",\n \ - \ \"transform\": \"negative-Y\"\n }\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"instance:node_network_receive_drop_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Receive drops\",\n \ - \ \"legendLink\": null,\n \"\ - step\": 10\n },\n {\n \ - \ \"expr\": \"instance:node_network_transmit_drop_excluding_lo:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Transmit drops\",\n \ - \ \"legendLink\": null,\n \"\ - step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Net Saturation (Drops Receive/Transmit)\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"rps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Net\",\n \"titleSize\": \"h6\"\n },\n\ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 7,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"instance_device:node_disk_io_time_seconds:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{device}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Disk\ - \ IO Utilisation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"id\"\ - : 8,\n \"legend\": {\n \"avg\": false,\n\ - \ \"current\": false,\n \"max\"\ - : false,\n \"min\": false,\n \"\ - show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \"lines\"\ - : true,\n \"linewidth\": 1,\n \"links\"\ - : [\n\n ],\n \"nullPointMode\": \"null as\ - \ zero\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{device}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Disk\ - \ IO Saturation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"percentunit\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Disk IO\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 9,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": false,\n \"total\":\ - \ false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 1,\n\ - \ \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 12,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"1 -\\\ - n(\\n max without (mountpoint, fstype) (node_filesystem_avail_bytes{job=\\\"\ - node-exporter\\\", fstype!=\\\"\\\", instance=\\\"$instance\\\"})\\n/\\n max\ - \ without (mountpoint, fstype) (node_filesystem_size_bytes{job=\\\"node-exporter\\\ - \", fstype!=\\\"\\\", instance=\\\"$instance\\\"})\\n)\\n\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{device}}\",\n \ - \ \"legendLink\": null,\n \"step\"\ - : 10\n }\n ],\n \"\ - thresholds\": [\n\n ],\n \"timeFrom\": null,\n\ - \ \"timeShift\": null,\n \"title\": \"Disk\ - \ Space Utilisation\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Disk Space\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"\ - tags\": [\n\n ],\n \"templating\": {\n \"list\": [\n {\n\ - \ \"current\": {\n \"text\": \"Prometheus\"\ - ,\n \"value\": \"Prometheus\"\n },\n \ - \ \"hide\": 0,\n \"label\": null,\n \"name\"\ - : \"datasource\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n \"text\": \"prod\",\n \ - \ \"value\": \"prod\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"instance\",\n \"multi\"\ - : false,\n \"name\": \"instance\",\n \"options\"\ - : [\n\n ],\n \"query\": \"label_values(up{job=\\\ - \"node-exporter\\\"}, instance)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"sort\": 2,\n \"tagValuesQuery\"\ - : \"\",\n \"tags\": [\n\n ],\n \"\ - tagsQuery\": \"\",\n \"type\": \"query\",\n \"useTags\"\ - : false\n }\n ]\n },\n \"time\": {\n \"from\":\ - \ \"now-1h\",\n \"to\": \"now\"\n },\n \"timepicker\": {\n \ - \ \"refresh_intervals\": [\n \"5s\",\n \"10s\",\n \ - \ \"30s\",\n \"1m\",\n \"5m\",\n \"15m\"\ - ,\n \"30m\",\n \"1h\",\n \"2h\",\n \ - \ \"1d\"\n ],\n \"time_options\": [\n \"5m\",\n \ - \ \"15m\",\n \"1h\",\n \"6h\",\n \"12h\"\ - ,\n \"24h\",\n \"2d\",\n \"7d\",\n \ - \ \"30d\"\n ]\n },\n \"timezone\": \"\",\n \"title\": \"USE Method\ - \ / Node\",\n \"uid\": \"fac67cfbe174d3ef53eb473d73d9212f\",\n \"version\"\ - : 0\n}" + node-rsrc-use.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_cpu_utilisation:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Utilisation", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_load1_per_cpu:ratio{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Saturation", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Saturation (Load1 per CPU)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "CPU", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_memory_utilisation:ratio{job=\"node-exporter\", job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Memory", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_vmstat_pgmajfault:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Major page faults", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Saturation (Major Page Faults)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Memory", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "/Receive/", + "stack": "A" + }, + { + "alias": "/Transmit/", + "stack": "B", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_network_receive_bytes_excluding_lo:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Receive", + "legendLink": null, + "step": 10 + }, + { + "expr": "instance:node_network_transmit_bytes_excluding_lo:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Transmit", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Net Utilisation (Bytes Receive/Transmit)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "/Receive/", + "stack": "A" + }, + { + "alias": "/Transmit/", + "stack": "B", + "transform": "negative-Y" + } + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance:node_network_receive_drop_excluding_lo:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Receive drops", + "legendLink": null, + "step": 10 + }, + { + "expr": "instance:node_network_transmit_drop_excluding_lo:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Transmit drops", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Net Saturation (Drops Receive/Transmit)", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "rps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Net", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance_device:node_disk_io_time_seconds:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{device}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk IO Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "instance_device:node_disk_io_time_weighted_seconds:rate1m{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{device}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk IO Saturation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Disk IO", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "1 -\n(\n max without (mountpoint, fstype) (node_filesystem_avail_bytes{job=\"node-exporter\", fstype!=\"\", instance=\"$instance\"})\n/\n max without (mountpoint, fstype) (node_filesystem_size_bytes{job=\"node-exporter\", fstype!=\"\", instance=\"$instance\"})\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{device}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk Space Utilisation", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Disk Space", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "text": "prod", + "value": "prod" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "instance", + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(up{job=\"node-exporter\"}, instance)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "USE Method / Node", + "uid": "fac67cfbe174d3ef53eb473d73d9212f", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -12554,474 +23922,920 @@ metadata: --- apiVersion: v1 data: - nodes.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n ],\n\ - \ \"annotations\": {\n \"list\": [\n\n ]\n },\n \"editable\"\ - : false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\"\ - : false,\n \"id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\"\ - ,\n \"rows\": [\n {\n \"collapse\": false,\n \"\ - collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"\ - bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 2,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(\\n (1 - rate(node_cpu_seconds_total{job=\\\ - \"node-exporter\\\", mode=\\\"idle\\\", instance=\\\"$instance\\\"}[$__interval]))\\\ - n/ ignoring(cpu) group_left\\n count without (cpu)( node_cpu_seconds_total{job=\\\ - \"node-exporter\\\", mode=\\\"idle\\\", instance=\\\"$instance\\\"})\\n)\\n\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"interval\": \"1m\",\n \"intervalFactor\"\ - : 5,\n \"legendFormat\": \"{{cpu}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"percentunit\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"percentunit\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": 1,\n \ - \ \"min\": 0,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 0,\n \"gridPos\"\ - : {\n\n },\n \"id\": 3,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"node_load1{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"1m load average\",\n \ - \ \"refId\": \"A\"\n },\n \ - \ {\n \"expr\": \"node_load5{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"5m load average\",\n \ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"node_load15{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"15m load average\",\n \ - \ \"refId\": \"C\"\n },\n \ - \ {\n \"expr\": \"count(node_cpu_seconds_total{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", mode=\\\"idle\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - logical cores\",\n \"refId\": \"D\"\n \ - \ }\n ],\n \"thresholds\": [\n\ - \n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Load Average\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 9,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(\\n node_memory_MemTotal_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\\n-\\n node_memory_MemFree_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\\n-\\n node_memory_Buffers_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\\n-\\n node_memory_Cached_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\\n)\\n\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"memory used\",\n \ - \ \"refId\": \"A\"\n },\n \ - \ {\n \"expr\": \"node_memory_Buffers_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"memory buffers\",\n \ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"node_memory_Cached_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"memory cached\",\n \ - \ \"refId\": \"C\"\n },\n \ - \ {\n \"expr\": \"node_memory_MemFree_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"memory free\",\n \ - \ \"refId\": \"D\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory Usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"cacheTimeout\": null,\n \ - \ \"colorBackground\": false,\n \"colorValue\": false,\n \ - \ \"colors\": [\n \"rgba(50, 172, 45,\ - \ 0.97)\",\n \"rgba(237, 129, 40, 0.89)\",\n \ - \ \"rgba(245, 54, 54, 0.9)\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"\ - percent\",\n \"gauge\": {\n \"maxValue\"\ - : 100,\n \"minValue\": 0,\n \"show\"\ - : true,\n \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \ - \ \"gridPos\": {\n\n },\n \"id\": 5,\n\ - \ \"interval\": null,\n \"links\": [\n\n\ - \ ],\n \"mappingType\": 1,\n \ - \ \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \"value\"\ - : 1\n },\n {\n \ - \ \"name\": \"range to text\",\n \"value\"\ - : 2\n }\n ],\n \"\ - maxDataPoints\": 100,\n \"nullPointMode\": \"connected\",\n\ - \ \"nullText\": null,\n \"postfix\": \"\"\ - ,\n \"postfixFontSize\": \"50%\",\n \"prefix\"\ - : \"\",\n \"prefixFontSize\": \"50%\",\n \ - \ \"rangeMaps\": [\n {\n \"\ - from\": \"null\",\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n \ - \ ],\n \"span\": 3,\n \"sparkline\"\ - : {\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\"\ - : \"rgb(31, 120, 193)\",\n \"show\": false\n \ - \ },\n \"tableColumn\": \"\",\n \ - \ \"targets\": [\n {\n \"expr\"\ - : \"100 -\\n(\\n node_memory_MemAvailable_bytes{job=\\\"node-exporter\\\", instance=\\\ - \"$instance\\\"}\\n/\\n node_memory_MemTotal_bytes{job=\\\"node-exporter\\\"\ - , instance=\\\"$instance\\\"}\\n* 100\\n)\\n\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": \"80, 90\",\n \"title\"\ - : \"Memory Usage\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \"type\":\ - \ \"singlestat\",\n \"valueFontSize\": \"80%\",\n \ - \ \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\",\n \ - \ \"value\": \"null\"\n }\n \ - \ ],\n \"valueName\": \"current\"\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 0,\n \"gridPos\"\ - : {\n\n },\n \"id\": 6,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n {\n \"alias\": \"/ read|\ - \ written/\",\n \"yaxis\": 1\n \ - \ },\n {\n \"alias\": \"\ - / io time/\",\n \"yaxis\": 2\n \ - \ }\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(node_disk_read_bytes_total{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", device=~\\\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\\\ - \"}[$__interval])\",\n \"format\": \"time_series\"\ - ,\n \"interval\": \"1m\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{device}} read\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"expr\"\ - : \"rate(node_disk_written_bytes_total{job=\\\"node-exporter\\\", instance=\\\"\ - $instance\\\", device=~\\\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\\\"}[$__interval])\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"interval\": \"1m\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{device}} written\",\n\ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"rate(node_disk_io_time_seconds_total{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", device=~\\\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\\\ - \"}[$__interval])\",\n \"format\": \"time_series\"\ - ,\n \"interval\": \"1m\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{device}} io time\",\n \"refId\": \"C\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Disk I/O\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 7,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n {\n\ - \ \"alias\": \"used\",\n \ - \ \"color\": \"#E0B400\"\n },\n \ - \ {\n \"alias\": \"available\",\n \ - \ \"color\": \"#73BF69\"\n }\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(\\n max by (device) (\\n node_filesystem_size_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", fstype!=\\\"\\\"}\\n -\\n \ - \ node_filesystem_avail_bytes{job=\\\"node-exporter\\\", instance=\\\"$instance\\\ - \", fstype!=\\\"\\\"}\\n )\\n)\\n\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"used\",\n \ - \ \"refId\": \"A\"\n },\n {\n\ - \ \"expr\": \"sum(\\n max by (device) (\\n node_filesystem_avail_bytes{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", fstype!=\\\"\\\"}\\n )\\n)\\\ - n\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"available\",\n \"refId\": \"B\"\n \ - \ }\n ],\n \"thresholds\": [\n\ - \n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Disk Space Usage\"\ - ,\n \"tooltip\": {\n \"shared\": false,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"bytes\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 0,\n \"gridPos\"\ - : {\n\n },\n \"id\": 8,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(node_network_receive_bytes_total{job=\\\ - \"node-exporter\\\", instance=\\\"$instance\\\", device!=\\\"lo\\\"}[$__interval])\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"interval\": \"1m\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{device}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Network Received\",\n \"\ - tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"bytes\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 0,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 9,\n \"legend\": {\n \"\ - alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 6,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"rate(node_network_transmit_bytes_total{job=\\\"node-exporter\\\ - \", instance=\\\"$instance\\\", device!=\\\"lo\\\"}[$__interval])\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"interval\": \"1m\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{device}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Network Transmitted\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"bytes\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n\n ],\n \"templating\": {\n\ - \ \"list\": [\n {\n \"current\": {\n \ - \ \"text\": \"Prometheus\",\n \"value\": \"Prometheus\"\ - \n },\n \"hide\": 0,\n \"label\"\ - : null,\n \"name\": \"datasource\",\n \"options\"\ - : [\n\n ],\n \"query\": \"prometheus\",\n \ - \ \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"type\": \"datasource\"\n },\n {\n \"\ - allValue\": null,\n \"current\": {\n\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 0,\n\ - \ \"includeAll\": false,\n \"label\": null,\n \ - \ \"multi\": false,\n \"name\": \"instance\",\n \ - \ \"options\": [\n\n ],\n \"query\"\ - : \"label_values(node_exporter_build_info{job=\\\"node-exporter\\\"}, instance)\"\ - ,\n \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"sort\": 0,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\"\ - ,\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Nodes\",\n \"uid\": \"fa49a4706d07a042595b664c87fb33ea\"\ - ,\n \"version\": 0\n}" + nodes.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 2, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n (1 - rate(node_cpu_seconds_total{job=\"node-exporter\", mode=\"idle\", instance=\"$instance\"}[$__interval]))\n/ ignoring(cpu) group_left\n count without (cpu)( node_cpu_seconds_total{job=\"node-exporter\", mode=\"idle\", instance=\"$instance\"})\n)\n", + "format": "time_series", + "interval": "1m", + "intervalFactor": 5, + "legendFormat": "{{cpu}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + }, + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": 1, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 0, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "node_load1{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "1m load average", + "refId": "A" + }, + { + "expr": "node_load5{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5m load average", + "refId": "B" + }, + { + "expr": "node_load15{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "15m load average", + "refId": "C" + }, + { + "expr": "count(node_cpu_seconds_total{job=\"node-exporter\", instance=\"$instance\", mode=\"idle\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "logical cores", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Load Average", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 9, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}\n-\n node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "memory used", + "refId": "A" + }, + { + "expr": "node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "memory buffers", + "refId": "B" + }, + { + "expr": "node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "memory cached", + "refId": "C" + }, + { + "expr": "node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "memory free", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "$datasource", + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 5, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "100 -\n(\n node_memory_MemAvailable_bytes{job=\"node-exporter\", instance=\"$instance\"}\n/\n node_memory_MemTotal_bytes{job=\"node-exporter\", instance=\"$instance\"}\n* 100\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "80, 90", + "title": "Memory Usage", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 0, + "gridPos": { + }, + "id": 6, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + { + "alias": "/ read| written/", + "yaxis": 1 + }, + { + "alias": "/ io time/", + "yaxis": 2 + } + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\"}[$__interval])", + "format": "time_series", + "interval": "1m", + "intervalFactor": 2, + "legendFormat": "{{device}} read", + "refId": "A" + }, + { + "expr": "rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\"}[$__interval])", + "format": "time_series", + "interval": "1m", + "intervalFactor": 2, + "legendFormat": "{{device}} written", + "refId": "B" + }, + { + "expr": "rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\", device=~\"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+\"}[$__interval])", + "format": "time_series", + "interval": "1m", + "intervalFactor": 2, + "legendFormat": "{{device}} io time", + "refId": "C" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk I/O", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 7, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + { + "alias": "used", + "color": "#E0B400" + }, + { + "alias": "available", + "color": "#73BF69" + } + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(\n max by (device) (\n node_filesystem_size_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\"}\n -\n node_filesystem_avail_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\"}\n )\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "used", + "refId": "A" + }, + { + "expr": "sum(\n max by (device) (\n node_filesystem_avail_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\"}\n )\n)\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "available", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Disk Space Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 0, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__interval])", + "format": "time_series", + "interval": "1m", + "intervalFactor": 2, + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Network Received", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 0, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__interval])", + "format": "time_series", + "interval": "1m", + "intervalFactor": 2, + "legendFormat": "{{device}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Network Transmitted", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(node_exporter_build_info{job=\"node-exporter\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 0, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Nodes", + "uid": "fa49a4706d07a042595b664c87fb33ea", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -13038,271 +24852,527 @@ metadata: --- apiVersion: v1 data: - persistentvolumesusage.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\"\ - : [\n\n ],\n \"annotations\": {\n \"list\": [\n\n ]\n },\n\ - \ \"editable\": false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \ - \ \"hideControls\": false,\n \"id\": null,\n \"links\": [\n\n ],\n\ - \ \"refresh\": \"\",\n \"rows\": [\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 2,\n \ - \ \"legend\": {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n\ - \ \"max\": true,\n \"min\": true,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": true\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 9,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"(\\n sum without(instance,\ - \ node) (kubelet_volume_stats_capacity_bytes{cluster=\\\"$cluster\\\", job=\\\"\ - kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\"$volume\\\ - \"})\\n -\\n sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"})\\n)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"Used Space\",\n \"refId\"\ - : \"A\"\n },\n {\n \ - \ \"expr\": \"sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"})\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"Free Space\",\n \"refId\"\ - : \"B\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Volume Space Usage\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"bytes\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"rgba(50, 172, 45, 0.97)\",\n \ - \ \"rgba(237, 129, 40, 0.89)\",\n \"rgba(245, 54,\ - \ 54, 0.9)\"\n ],\n \"datasource\": \"$datasource\"\ - ,\n \"format\": \"percent\",\n \"gauge\"\ - : {\n \"maxValue\": 100,\n \"minValue\"\ - : 0,\n \"show\": true,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 3,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 3,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"(\\n kubelet_volume_stats_capacity_bytes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"}\\n -\\n kubelet_volume_stats_available_bytes{cluster=\\\"$cluster\\\ - \", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"}\\n)\\n/\\nkubelet_volume_stats_capacity_bytes{cluster=\\\"$cluster\\\ - \", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"}\\n* 100\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\"\n\ - \ }\n ],\n \"thresholds\"\ - : \"80, 90\",\n \"title\": \"Volume Space Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n\ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"value\"\ - : \"null\"\n }\n ],\n \ - \ \"valueName\": \"current\"\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 4,\n \"\ - legend\": {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n \ - \ \"max\": true,\n \"min\": true,\n \ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": true\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 9,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum without(instance,\ - \ node) (kubelet_volume_stats_inodes_used{cluster=\\\"$cluster\\\", job=\\\"kubelet\\\ - \", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\"$volume\\\"})\\n\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"Used inodes\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"expr\"\ - : \"(\\n sum without(instance, node) (kubelet_volume_stats_inodes{cluster=\\\"\ - $cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"})\\n -\\n sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"})\\n)\\n\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \" Free inodes\",\n \"refId\"\ - : \"B\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Volume inodes Usage\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"none\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"none\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"rgba(50, 172, 45, 0.97)\",\n \ - \ \"rgba(237, 129, 40, 0.89)\",\n \"rgba(245, 54,\ - \ 54, 0.9)\"\n ],\n \"datasource\": \"$datasource\"\ - ,\n \"format\": \"percent\",\n \"gauge\"\ - : {\n \"maxValue\": 100,\n \"minValue\"\ - : 0,\n \"show\": true,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 5,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 3,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"kubelet_volume_stats_inodes_used{cluster=\\\"\ - $cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\ - \"$volume\\\"}\\n/\\nkubelet_volume_stats_inodes{cluster=\\\"$cluster\\\", job=\\\ - \"kubelet\\\", namespace=\\\"$namespace\\\", persistentvolumeclaim=\\\"$volume\\\ - \"}\\n* 100\\n\",\n \"format\": \"time_series\",\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : \"80, 90\",\n \"title\": \"Volume inodes Usage\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\":\ - \ [\n {\n \"op\": \"=\",\n \ - \ \"text\": \"N/A\",\n \"\ - value\": \"null\"\n }\n ],\n \ - \ \"valueName\": \"current\"\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n \"\ - style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n ],\n \ - \ \"templating\": {\n \"list\": [\n {\n \"current\"\ - : {\n \"text\": \"Prometheus\",\n \"value\"\ - : \"Prometheus\"\n },\n \"hide\": 0,\n \ - \ \"label\": null,\n \"name\": \"datasource\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"prometheus\"\ - ,\n \"refresh\": 1,\n \"regex\": \"\",\n \ - \ \"type\": \"datasource\"\n },\n {\n \ - \ \"allValue\": null,\n \"current\": {\n\n \ - \ },\n \"datasource\": \"$datasource\",\n \"hide\"\ - : 2,\n \"includeAll\": false,\n \"label\": \"cluster\"\ - ,\n \"multi\": false,\n \"name\": \"cluster\",\n\ - \ \"options\": [\n\n ],\n \"query\"\ - : \"label_values(kubelet_volume_stats_capacity_bytes, cluster)\",\n \ - \ \"refresh\": 2,\n \"regex\": \"\",\n \"sort\"\ - : 1,\n \"tagValuesQuery\": \"\",\n \"tags\": [\n\ - \n ],\n \"tagsQuery\": \"\",\n \"\ - type\": \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\ - \n },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": false,\n \ - \ \"label\": \"Namespace\",\n \"multi\": false,\n \ - \ \"name\": \"namespace\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kubelet_volume_stats_capacity_bytes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\"}, namespace)\",\n \"refresh\"\ - : 2,\n \"regex\": \"\",\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n },\n {\n\ - \ \"allValue\": null,\n \"current\": {\n\n \ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": false,\n \"\ - label\": \"PersistentVolumeClaim\",\n \"multi\": false,\n \ - \ \"name\": \"volume\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kubelet_volume_stats_capacity_bytes{cluster=\\\ - \"$cluster\\\", job=\\\"kubelet\\\", namespace=\\\"$namespace\\\"}, persistentvolumeclaim)\"\ - ,\n \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\"\ - ,\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-7d\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Persistent Volumes\"\ - ,\n \"uid\": \"919b92a8e8041bd567af9edab12c840c\",\n \"version\": 0\n}" + persistentvolumesusage.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 9, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "(\n sum without(instance, node) (kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Used Space", + "refId": "A" + }, + { + "expr": "sum without(instance, node) (kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Free Space", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Volume Space Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "$datasource", + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 3, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "(\n kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n -\n kubelet_volume_stats_available_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n)\n/\nkubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "80, 90", + "title": "Volume Space Usage", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 9, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Used inodes", + "refId": "A" + }, + { + "expr": "(\n sum without(instance, node) (kubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n -\n sum without(instance, node) (kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"})\n)\n", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": " Free inodes", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Volume inodes Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "$datasource", + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 5, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "kubelet_volume_stats_inodes_used{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n/\nkubelet_volume_stats_inodes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\", persistentvolumeclaim=\"$volume\"}\n* 100\n", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "80, 90", + "title": "Volume inodes Usage", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kubelet_volume_stats_capacity_bytes, cluster)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "Namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\"}, namespace)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "PersistentVolumeClaim", + "multi": false, + "name": "volume", + "options": [ + ], + "query": "label_values(kubelet_volume_stats_capacity_bytes{cluster=\"$cluster\", job=\"kubelet\", namespace=\"$namespace\"}, persistentvolumeclaim)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-7d", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Persistent Volumes", + "uid": "919b92a8e8041bd567af9edab12c840c", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -13319,506 +25389,1124 @@ metadata: --- apiVersion: v1 data: - pod-total.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n \ - \ ],\n \"annotations\": {\n \"list\": [\n {\n \ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n \ - \ \"enable\": true,\n \"hide\": true,\n \ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\": \"\ - Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"\ - graphTooltip\": 0,\n \"hideControls\": false,\n \"id\": null,\n \"links\"\ - : [\n\n ],\n \"panels\": [\n {\n \"collapse\": false,\n\ - \ \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"panels\"\ - : [\n\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Current Bandwidth\",\n \"titleSize\": \"\ - h6\",\n \"type\": \"row\"\n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \"colorValue\":\ - \ false,\n \"colors\": [\n \"#299c46\",\n \ - \ \"rgba(237, 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \"decimals\"\ - : 0,\n \"format\": \"time_series\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \"\ - x\": 0,\n \"y\": 1\n },\n \"height\": 9,\n\ - \ \"id\": 3,\n \"interval\": null,\n \"links\"\ - : [\n\n ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n \ - \ \"name\": \"range to text\",\n \"value\": 2\n\ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\",\n \ - \ \"nullText\": null,\n \"options\": {\n \"\ - fieldOptions\": {\n \"calcs\": [\n \"\ - last\"\n ],\n \"defaults\": {\n \ - \ \"max\": 10000000000,\n \"min\": 0,\n\ - \ \"title\": \"$namespace: $pod\",\n \ - \ \"unit\": \"Bps\"\n },\n \"mappings\"\ - : [\n\n ],\n \"override\": {\n\n \ - \ },\n \"thresholds\": [\n \ - \ {\n \"color\": \"dark-green\",\n \ - \ \"index\": 0,\n \"value\": null\n \ - \ },\n {\n \ - \ \"color\": \"dark-yellow\",\n \"index\": 1,\n\ - \ \"value\": 5000000000\n },\n\ - \ {\n \"color\": \"dark-red\"\ - ,\n \"index\": 2,\n \"value\"\ - : 7000000000\n }\n ],\n \ - \ \"values\": false\n }\n },\n \"\ - postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \"prefix\"\ - : \"\",\n \"prefixFontSize\": \"50%\",\n \"rangeMaps\":\ - \ [\n {\n \"from\": \"null\",\n \ - \ \"text\": \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 12,\n \"sparkline\"\ - : {\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120, 193)\"\ - ,\n \"show\": false\n },\n \"tableColumn\"\ - : \"\",\n \"targets\": [\n {\n \"\ - expr\": \"sum(irate(container_network_receive_bytes_total{namespace=~\\\"$namespace\\\ - \", pod=~\\\"$pod\\\"}[$interval:$resolution]))\",\n \"format\"\ - : \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": \"\",\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Current Rate of Bytes Received\",\n \ - \ \"type\": \"gauge\",\n \"valueFontSize\": \"80%\",\n \ - \ \"valueMaps\": [\n {\n \"op\": \"=\",\n\ - \ \"text\": \"N/A\",\n \"value\": \"null\"\ - \n }\n ],\n \"valueName\": \"current\"\n\ - \ },\n {\n \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n \ - \ \"#d44a3a\"\n ],\n \"datasource\": \"$datasource\"\ - ,\n \"decimals\": 0,\n \"format\": \"time_series\",\n \ - \ \"gauge\": {\n \"maxValue\": 100,\n \"\ - minValue\": 0,\n \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n },\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 1\n },\n \ - \ \"height\": 9,\n \"id\": 4,\n \"interval\": null,\n\ - \ \"links\": [\n\n ],\n \"mappingType\": 1,\n\ - \ \"mappingTypes\": [\n {\n \"name\"\ - : \"value to text\",\n \"value\": 1\n },\n \ - \ {\n \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \"maxDataPoints\"\ - : 100,\n \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"nullText\": null,\n \"options\": {\n \ - \ \"fieldOptions\": {\n \"calcs\": [\n \ - \ \"last\"\n ],\n \"defaults\": {\n\ - \ \"max\": 10000000000,\n \"min\"\ - : 0,\n \"title\": \"$namespace: $pod\",\n \ - \ \"unit\": \"Bps\"\n },\n \"\ - mappings\": [\n\n ],\n \"override\": {\n\ - \n },\n \"thresholds\": [\n \ - \ {\n \"color\": \"dark-green\",\n \ - \ \"index\": 0,\n \"value\":\ - \ null\n },\n {\n \ - \ \"color\": \"dark-yellow\",\n \"index\"\ - : 1,\n \"value\": 5000000000\n \ - \ },\n {\n \"color\": \"\ - dark-red\",\n \"index\": 2,\n \ - \ \"value\": 7000000000\n }\n \ - \ ],\n \"values\": false\n }\n },\n\ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"50%\",\n \ - \ \"rangeMaps\": [\n {\n \"from\": \"\ - null\",\n \"text\": \"N/A\",\n \"to\": \"\ - null\"\n }\n ],\n \"span\": 12,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31, 118, 189, 0.18)\"\ - ,\n \"full\": false,\n \"lineColor\": \"rgb(31,\ - \ 120, 193)\",\n \"show\": false\n },\n \"\ - tableColumn\": \"\",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution]))\",\n \ - \ \"format\": \"time_series\",\n \"instant\": null,\n\ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Current Rate of Bytes\ - \ Transmitted\",\n \"type\": \"gauge\",\n \"valueFontSize\"\ - : \"80%\",\n \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\",\n \ - \ \"value\": \"null\"\n }\n ],\n \"valueName\"\ - : \"current\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"gridPos\": {\n \"\ - h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 10\n },\n \"id\": 5,\n \"panels\"\ - : [\n\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Bandwidth\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \"h\"\ - : 9,\n \"w\": 12,\n \"x\": 0,\n \"\ - y\": 11\n },\n \"id\": 6,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \"minSpan\": 12,\n\ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \"stack\"\ - : true,\n \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_bytes_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \"title\": \"\ - Receive Bandwidth\",\n \"tooltip\": {\n \"shared\":\ - \ true,\n \"sort\": 2,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n },\n \"yaxes\"\ - : [\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n {\n \"\ - format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \"\ - min\": 0,\n \"show\": true\n }\n \ - \ ]\n },\n {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"$datasource\",\n \"\ - fill\": 2,\n \"gridPos\": {\n \"h\": 9,\n \ - \ \"w\": 12,\n \"x\": 12,\n \"y\": 11\n \ - \ },\n \"id\": 7,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\": 2,\n \ - \ \"links\": [\n\n ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"repeat\"\ - : null,\n \"seriesOverrides\": [\n\n ],\n \"\ - spaceLength\": 10,\n \"span\": 12,\n \"stack\": true,\n\ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_transmit_bytes_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 1,\n \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \"title\": \"\ - Transmit Bandwidth\",\n \"tooltip\": {\n \"shared\"\ - : true,\n \"sort\": 2,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n },\n \"yaxes\"\ - : [\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n {\n \"\ - format\": \"Bps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \"\ - min\": 0,\n \"show\": true\n }\n \ - \ ]\n },\n {\n \"collapse\": true,\n \"collapsed\"\ - : true,\n \"gridPos\": {\n \"h\": 1,\n \ - \ \"w\": 24,\n \"x\": 0,\n \"y\": 20\n \ - \ },\n \"id\": 8,\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 10,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 21\n \ - \ },\n \"id\": 9,\n \"legend\": {\n\ - \ \"alignAsTable\": false,\n \"\ - avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(irate(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Received Packets\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 10,\n \ - \ \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 21\n },\n \"id\"\ - : 10,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_packets_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Transmitted Packets\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Packets\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\":\ - \ true,\n \"collapsed\": true,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n\ - \ \"y\": 21\n },\n \"id\": 11,\n \ - \ \"panels\": [\n {\n \"aliasColors\": {\n\ - \n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n\ - \ \"gridPos\": {\n \"h\": 10,\n \ - \ \"w\": 12,\n \"x\": 0,\n \ - \ \"y\": 32\n },\n \"id\"\ - : 12,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_receive_packets_dropped_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Received Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 10,\n \ - \ \"w\": 12,\n \"x\": 12,\n \ - \ \"y\": 32\n },\n \"id\"\ - : 13,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"\ - current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \ - \ \"minSpan\": 12,\n \"nullPointMode\": \"connected\"\ - ,\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(irate(container_network_transmit_packets_dropped_total{namespace=~\\\ - \"$namespace\\\", pod=~\\\"$pod\\\"}[$interval:$resolution])) by (pod)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\"\ - : \"{{pod}}\",\n \"refId\": \"A\",\n \ - \ \"step\": 10\n }\n ],\n\ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Rate of Transmitted Packets Dropped\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Errors\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"refresh\": \"30s\",\n \ - \ \"rows\": [\n\n ],\n \"schemaVersion\": 18,\n \"style\": \"dark\",\n\ - \ \"tags\": [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n\ - \ \"list\": [\n {\n \"current\": {\n \ - \ \"text\": \"Prometheus\",\n \"value\": \"Prometheus\"\ - \n },\n \"hide\": 0,\n \"label\"\ - : null,\n \"name\": \"datasource\",\n \"options\"\ - : [],\n \"query\": \"prometheus\",\n \"refresh\"\ - : 1,\n \"regex\": \"\",\n \"type\": \"datasource\"\ - \n },\n {\n \"allValue\": \".+\",\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"kube-system\",\n \"value\": \"kube-system\"\ - \n },\n \"datasource\": \"$datasource\",\n \ - \ \"definition\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"hide\": 0,\n \"includeAll\"\ - : true,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"namespace\",\n \"options\": [\n\n\ - \ ],\n \"query\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": \".+\",\n \"auto\": false,\n\ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"definition\": \"label_values(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\"}, pod)\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"pod\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(container_network_receive_packets_total{namespace=~\\\ - \"$namespace\\\"}, pod)\",\n \"refresh\": 1,\n \"\ - regex\": \"\",\n \"skipUrlSync\": false,\n \"sort\"\ - : 1,\n \"tagValuesQuery\": \"\",\n \"tags\": [\n\ - \n ],\n \"tagsQuery\": \"\",\n \"\ - type\": \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n\ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"resolution\",\n \"options\": [\n \ - \ {\n \"selected\": false,\n \ - \ \"text\": \"30s\",\n \"value\": \"30s\"\ - \n },\n {\n \"selected\"\ - : true,\n \"text\": \"5m\",\n \"\ - value\": \"5m\"\n },\n {\n \ - \ \"selected\": false,\n \"text\": \"1h\",\n\ - \ \"value\": \"1h\"\n }\n \ - \ ],\n \"query\": \"30s,5m,1h\",\n \"refresh\"\ - : 2,\n \"regex\": \"\",\n \"skipUrlSync\": false,\n\ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"interval\",\n \"useTags\"\ - : false\n },\n {\n \"allValue\": null,\n\ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 2,\n \"includeAll\": false,\n \"label\"\ - : null,\n \"multi\": false,\n \"name\": \"interval\"\ - ,\n \"options\": [\n {\n \ - \ \"selected\": true,\n \"text\": \"4h\",\n \ - \ \"value\": \"4h\"\n }\n ],\n\ - \ \"query\": \"4h\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"interval\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Networking / Pod\"\ - ,\n \"uid\": \"7a18067ce943a40ae25454675c19ff5c\",\n \"version\": 0\n}" + pod-total.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "panels": [ + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Current Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "decimals": 0, + "format": "time_series", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 1 + }, + "height": 9, + "id": 3, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 12, + "nullPointMode": "connected", + "nullText": null, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "max": 10000000000, + "min": 0, + "title": "$namespace: $pod", + "unit": "Bps" + }, + "mappings": [ + ], + "override": { + }, + "thresholds": [ + { + "color": "dark-green", + "index": 0, + "value": null + }, + { + "color": "dark-yellow", + "index": 1, + "value": 5000000000 + }, + { + "color": "dark-red", + "index": 2, + "value": 7000000000 + } + ], + "values": false + } + }, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 12, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))", + "format": "time_series", + "instant": null, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Current Rate of Bytes Received", + "type": "gauge", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "decimals": 0, + "format": "time_series", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "height": 9, + "id": 4, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "minSpan": 12, + "nullPointMode": "connected", + "nullText": null, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "max": 10000000000, + "min": 0, + "title": "$namespace: $pod", + "unit": "Bps" + }, + "mappings": [ + ], + "override": { + }, + "thresholds": [ + { + "color": "dark-green", + "index": 0, + "value": null + }, + { + "color": "dark-yellow", + "index": 1, + "value": 5000000000 + }, + { + "color": "dark-red", + "index": 2, + "value": 7000000000 + } + ], + "values": false + } + }, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 12, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))", + "format": "time_series", + "instant": null, + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "timeFrom": null, + "timeShift": null, + "title": "Current Rate of Bytes Transmitted", + "type": "gauge", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 5, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 11 + }, + "id": 6, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 7, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_bytes_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 20 + }, + "id": 8, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 21 + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 21 + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Packets", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 11, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 12, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_receive_packets_dropped_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 13, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(irate(container_network_transmit_packets_dropped_total{namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Errors", + "titleSize": "h6", + "type": "row" + } + ], + "refresh": "30s", + "rows": [ + ], + "schemaVersion": 18, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": ".+", + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "kube-system", + "value": "kube-system" + }, + "datasource": "$datasource", + "definition": "label_values(container_network_receive_packets_total, namespace)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(container_network_receive_packets_total, namespace)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": ".+", + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "", + "value": "" + }, + "datasource": "$datasource", + "definition": "label_values(container_network_receive_packets_total{namespace=~\"$namespace\"}, pod)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "pod", + "options": [ + ], + "query": "label_values(container_network_receive_packets_total{namespace=~\"$namespace\"}, pod)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "resolution", + "options": [ + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": true, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + } + ], + "query": "30s,5m,1h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Networking / Pod", + "uid": "7a18067ce943a40ae25454675c19ff5c", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -13835,319 +26523,624 @@ metadata: --- apiVersion: v1 data: - pods.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n ],\n\ - \ \"annotations\": {\n \"list\": [\n {\n \"\ - builtIn\": 1,\n \"datasource\": \"$datasource\",\n \ - \ \"enable\": true,\n \"expr\": \"time() == BOOL timestamp(rate(kube_pod_container_status_restarts_total{job=\\\ - \"kube-state-metrics\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", pod=\\\"$pod\\\"}[2m]) > 0)\",\n \"hide\": false,\n \ - \ \"iconColor\": \"rgba(215, 44, 44, 1)\",\n \"name\":\ - \ \"Restarts\",\n \"showIn\": 0,\n \"tags\": [\n\ - \ \"restart\"\n ],\n \"type\"\ - : \"rows\"\n }\n ]\n },\n \"editable\": false,\n \"\ - gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\": false,\n \"\ - id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\",\n \"rows\"\ - : [\n {\n \"collapse\": false,\n \"collapsed\": false,\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"legend\": {\n \ - \ \"alignAsTable\": true,\n \"avg\": true,\n \ - \ \"current\": true,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : true,\n \"show\": true,\n \"total\"\ - : false,\n \"values\": false\n },\n\ - \ \"lines\": true,\n \"linewidth\": 1,\n\ - \ \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 12,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum by(container) (container_memory_usage_bytes{job=\\\ - \"kubelet\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"\ - $pod\\\", container=~\\\"$container\\\", container!=\\\"POD\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"Current:\ - \ {{ container }}\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"\ - expr\": \"sum by(container) (kube_pod_container_resource_requests{job=\\\"kube-state-metrics\\\ - \", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", resource=\\\"memory\\\ - \", pod=\\\"$pod\\\", container=~\\\"$container\\\"})\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Requested: {{ container\ - \ }}\",\n \"refId\": \"B\"\n \ - \ },\n {\n \"expr\": \"sum\ - \ by(container) (kube_pod_container_resource_limits{job=\\\"kube-state-metrics\\\ - \", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", resource=\\\"memory\\\ - \", pod=\\\"$pod\\\", container=~\\\"$container\\\"})\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Limit: {{ container }}\"\ - ,\n \"refId\": \"C\"\n },\n\ - \ {\n \"expr\": \"sum by(container)\ - \ (container_memory_cache{job=\\\"kubelet\\\", cluster=\\\"$cluster\\\", namespace=\\\ - \"$namespace\\\", pod=~\\\"$pod\\\", container=~\\\"$container\\\", container!=\\\ - \"POD\\\"})\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Cache: {{ container }}\",\n \"\ - refId\": \"D\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"\ - timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Memory Usage\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 3,\n \ - \ \"legend\": {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": true,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum by (container)\ - \ (irate(container_cpu_usage_seconds_total{job=\\\"kubelet\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\", image!=\\\"\\\", pod=\\\"$pod\\\", container=~\\\ - \"$container\\\", container!=\\\"POD\\\"}[4m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"Current: {{ container }}\"\ - ,\n \"refId\": \"A\"\n },\n\ - \ {\n \"expr\": \"sum by(container)\ - \ (kube_pod_container_resource_requests{job=\\\"kube-state-metrics\\\", cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", resource=\\\"cpu\\\", pod=\\\"$pod\\\ - \", container=~\\\"$container\\\"})\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Requested: {{ container }}\",\n \ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"sum by(container)\ - \ (kube_pod_container_resource_limits{job=\\\"kube-state-metrics\\\", cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", resource=\\\"cpu\\\", pod=\\\"$pod\\\ - \", container=~\\\"$container\\\"})\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Limit: {{ container }}\",\n \ - \ \"refId\": \"C\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU Usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"legend\": {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": true,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum\ - \ by (pod) (irate(container_network_receive_bytes_total{job=\\\"kubelet\\\", cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}[4m])))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"RX: {{ pod }}\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"\ - expr\": \"sort_desc(sum by (pod) (irate(container_network_transmit_bytes_total{job=\\\ - \"kubelet\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"\ - $pod\\\"}[4m])))\",\n \"format\": \"time_series\",\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"TX: {{ pod }}\",\n \"refId\"\ - : \"B\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Network I/O\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n\ - \ \"name\": null,\n \"show\": true,\n\ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n\ - \ \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n\ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 5,\n \"\ - legend\": {\n \"alignAsTable\": true,\n \ - \ \"avg\": true,\n \"current\": true,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": true,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"max by (container)\ - \ (kube_pod_container_status_restarts_total{job=\\\"kube-state-metrics\\\", cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\", container=~\\\"\ - $container\\\"})\",\n \"format\": \"time_series\",\n\ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Restarts: {{ container }}\",\n \ - \ \"refId\": \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Total Restarts Per Container\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 2,\n \"includeAll\": false,\n \ - \ \"label\": \"cluster\",\n \"multi\": false,\n \ - \ \"name\": \"cluster\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_pod_info, cluster)\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"query\",\n \"useTags\": false\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n\n },\n \"datasource\": \"\ - $datasource\",\n \"hide\": 0,\n \"includeAll\":\ - \ false,\n \"label\": \"Namespace\",\n \"multi\"\ - : false,\n \"name\": \"namespace\",\n \"options\"\ - : [\n\n ],\n \"query\": \"label_values(kube_pod_info{cluster=\\\ - \"$cluster\\\"}, namespace)\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"sort\": 1,\n \"tagValuesQuery\"\ - : \"\",\n \"tags\": [\n\n ],\n \"\ - tagsQuery\": \"\",\n \"type\": \"query\",\n \"useTags\"\ - : false\n },\n {\n \"allValue\": null,\n\ - \ \"current\": {\n\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"Pod\",\n \"multi\": false,\n\ - \ \"name\": \"pod\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_pod_info{cluster=\\\ - \"$cluster\\\", namespace=~\\\"$namespace\\\"}, pod)\",\n \"refresh\"\ - : 2,\n \"regex\": \"\",\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n },\n {\n\ - \ \"allValue\": null,\n \"current\": {\n\n \ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": true,\n \"\ - label\": \"Container\",\n \"multi\": false,\n \"\ - name\": \"container\",\n \"options\": [\n\n ],\n\ - \ \"query\": \"label_values(kube_pod_container_info{cluster=\\\"\ - $cluster\\\", namespace=\\\"$namespace\\\", pod=\\\"$pod\\\"}, container)\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"query\",\n \"useTags\": false\n \ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Pods\",\n \"\ - uid\": \"ab4f13a9892a76a4d21ce8c2445bf4ea\",\n \"version\": 0\n}" + pods.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "$datasource", + "enable": true, + "expr": "time() == BOOL timestamp(rate(kube_pod_container_status_restarts_total{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[2m]) > 0)", + "hide": false, + "iconColor": "rgba(215, 44, 44, 1)", + "name": "Restarts", + "showIn": 0, + "tags": [ + "restart" + ], + "type": "rows" + } + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 2, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum by(container) (container_memory_usage_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container=~\"$container\", container!=\"POD\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Current: {{ container }}", + "refId": "A" + }, + { + "expr": "sum by(container) (kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\", pod=\"$pod\", container=~\"$container\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Requested: {{ container }}", + "refId": "B" + }, + { + "expr": "sum by(container) (kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"memory\", pod=\"$pod\", container=~\"$container\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Limit: {{ container }}", + "refId": "C" + }, + { + "expr": "sum by(container) (container_memory_cache{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\", container=~\"$container\", container!=\"POD\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Cache: {{ container }}", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum by (container) (irate(container_cpu_usage_seconds_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", image!=\"\", pod=\"$pod\", container=~\"$container\", container!=\"POD\"}[4m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Current: {{ container }}", + "refId": "A" + }, + { + "expr": "sum by(container) (kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\", pod=\"$pod\", container=~\"$container\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Requested: {{ container }}", + "refId": "B" + }, + { + "expr": "sum by(container) (kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", resource=\"cpu\", pod=\"$pod\", container=~\"$container\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Limit: {{ container }}", + "refId": "C" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum by (pod) (irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[4m])))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "RX: {{ pod }}", + "refId": "A" + }, + { + "expr": "sort_desc(sum by (pod) (irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[4m])))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "TX: {{ pod }}", + "refId": "B" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Network I/O", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 5, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "max by (container) (kube_pod_container_status_restarts_total{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container=~\"$container\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Restarts: {{ container }}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Restarts Per Container", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_pod_info, cluster)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "Namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\"}, namespace)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "Pod", + "multi": false, + "name": "pod", + "options": [ + ], + "query": "label_values(kube_pod_info{cluster=\"$cluster\", namespace=~\"$namespace\"}, pod)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": "Container", + "multi": false, + "name": "container", + "options": [ + ], + "query": "label_values(kube_pod_container_info{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}, container)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Pods", + "uid": "ab4f13a9892a76a4d21ce8c2445bf4ea", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -14164,577 +27157,1136 @@ metadata: --- apiVersion: v1 data: - prometheus.json: "{\n \"annotations\": {\n \"list\": [\n\n ]\n\ - \ },\n \"editable\": true,\n \"gnetId\": null,\n \"graphTooltip\"\ - : 0,\n \"hideControls\": false,\n \"links\": [\n\n ],\n \"refresh\"\ - : \"10s\",\n \"rows\": [\n {\n \"collapse\": false,\n \ - \ \"height\": \"250px\",\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"id\": 1,\n \ - \ \"legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"show\": true,\n\ - \ \"total\": false,\n \"values\"\ - : false\n },\n \"lines\": true,\n \ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 12,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"styles\": [\n {\n \ - \ \"alias\": \"Time\",\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"pattern\": \"Time\"\ - ,\n \"type\": \"hidden\"\n },\n\ - \ {\n \"alias\": \"Count\",\n\ - \ \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\"\ - : 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"linkUrl\"\ - : \"\",\n \"pattern\": \"Value #A\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"hidden\",\n \"unit\"\ - : \"short\"\n },\n {\n \ - \ \"alias\": \"Uptime\",\n \"colorMode\"\ - : null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\"\ - ,\n \"decimals\": 2,\n \"\ - link\": false,\n \"linkTooltip\": \"Drill down\",\n\ - \ \"linkUrl\": \"\",\n \"\ - pattern\": \"Value #B\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\"\ - ,\n \"unit\": \"short\"\n },\n\ - \ {\n \"alias\": \"Instance\"\ - ,\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \"\ - decimals\": 2,\n \"link\": false,\n \ - \ \"linkTooltip\": \"Drill down\",\n \"\ - linkUrl\": \"\",\n \"pattern\": \"instance\",\n \ - \ \"thresholds\": [\n\n ],\n\ - \ \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n {\n\ - \ \"alias\": \"Job\",\n \ - \ \"colorMode\": null,\n \"colors\": [\n\n \ - \ ],\n \"dateFormat\": \"YYYY-MM-DD\ - \ HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"link\": false,\n \"linkTooltip\": \"\ - Drill down\",\n \"linkUrl\": \"\",\n \ - \ \"pattern\": \"job\",\n \"thresholds\"\ - : [\n\n ],\n \"type\": \"\ - number\",\n \"unit\": \"short\"\n \ - \ },\n {\n \"alias\":\ - \ \"Version\",\n \"colorMode\": null,\n \ - \ \"colors\": [\n\n ],\n \ - \ \"dateFormat\": \"YYYY-MM-DD HH:mm:ss\",\n \ - \ \"decimals\": 2,\n \"link\": false,\n\ - \ \"linkTooltip\": \"Drill down\",\n \ - \ \"linkUrl\": \"\",\n \"pattern\": \"\ - version\",\n \"thresholds\": [\n\n \ - \ ],\n \"type\": \"number\",\n \ - \ \"unit\": \"short\"\n },\n \ - \ {\n \"alias\": \"\",\n \ - \ \"colorMode\": null,\n \"colors\"\ - : [\n\n ],\n \"dateFormat\"\ - : \"YYYY-MM-DD HH:mm:ss\",\n \"decimals\": 2,\n \ - \ \"pattern\": \"/.*/\",\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"type\": \"string\",\n \"unit\": \"short\"\n\ - \ }\n ],\n \"targets\"\ - : [\n {\n \"expr\": \"count\ - \ by (job, instance, version) (prometheus_build_info{job=~\\\"$job\\\", instance=~\\\ - \"$instance\\\"})\",\n \"format\": \"table\",\n \ - \ \"instant\": true,\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ },\n {\n \ - \ \"expr\": \"max by (job, instance) (time() - process_start_time_seconds{job=~\\\ - \"$job\\\", instance=~\\\"$instance\\\"})\",\n \"format\"\ - : \"table\",\n \"instant\": true,\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"B\",\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Prometheus Stats\",\n \"tooltip\"\ - : {\n \"shared\": true,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"transform\": \"table\",\n \"\ - type\": \"table\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \ - \ \"values\": [\n\n ]\n \ - \ },\n \"yaxes\": [\n {\n \ - \ \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n },\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Prometheus Stats\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\",\n\ - \ \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 1,\n \"id\": 2,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(prometheus_target_sync_length_seconds_sum{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}[5m])) by (scrape_job) * 1e3\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - {{scrape_job}}\",\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Target Sync\",\n \"tooltip\"\ - : {\n \"shared\": true,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ms\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 10,\n \"\ - id\": 3,\n \"legend\": {\n \"avg\":\ - \ false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(prometheus_sd_discovered_targets{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"})\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"Targets\",\n \ - \ \"legendLink\": null,\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Targets\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Discovery\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\"\ - : \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 1,\n \"id\": 4,\n \"legend\"\ - : {\n \"avg\": false,\n \"current\"\ - : false,\n \"max\": false,\n \"\ - min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null as zero\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - seriesOverrides\": [\n\n ],\n \"spaceLength\"\ - : 10,\n \"span\": 4,\n \"stack\": false,\n\ - \ \"steppedLine\": false,\n \"targets\"\ - : [\n {\n \"expr\": \"rate(prometheus_target_interval_length_seconds_sum{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}[5m]) / rate(prometheus_target_interval_length_seconds_count{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}[5m]) * 1e3\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{interval}} configured\"\ - ,\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Average Scrape Interval Duration\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ms\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 5,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum by (job)\ - \ (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - exceeded sample limit: {{job}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n },\n\ - \ {\n \"expr\": \"sum by (job)\ - \ (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"duplicate timestamp: {{job}}\",\n \"legendLink\"\ - : null,\n \"step\": 10\n },\n\ - \ {\n \"expr\": \"sum by (job)\ - \ (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - out of bounds: {{job}}\",\n \"legendLink\": null,\n\ - \ \"step\": 10\n },\n \ - \ {\n \"expr\": \"sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"out of order: {{job}}\",\n \"legendLink\": null,\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Scrape failures\",\n \ - \ \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 6,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(prometheus_tsdb_head_samples_appended_total{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}[5m])\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 2,\n\ - \ \"legendFormat\": \"{{job}} {{instance}}\",\n \ - \ \"legendLink\": null,\n \"\ - step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Appended Samples\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n\ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"short\"\ - ,\n \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": false\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Retrieval\",\n \"titleSize\": \"h6\"\n },\n \ - \ {\n \"collapse\": false,\n \"height\": \"250px\"\ - ,\n \"panels\": [\n {\n \"aliasColors\"\ - : {\n\n },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\"\ - : 10,\n \"id\": 7,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"prometheus_tsdb_head_series{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{job}} {{instance}} head series\"\ - ,\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Head Series\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 10,\n \"\ - id\": 8,\n \"legend\": {\n \"avg\":\ - \ false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"show\": true,\n \"total\": false,\n \ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"prometheus_tsdb_head_chunks{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\"}\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{job}} {{instance}} head chunks\"\ - ,\n \"legendLink\": null,\n \ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Head Chunks\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 0,\n\ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : false\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Storage\",\n \"titleSize\": \"h6\"\n \ - \ },\n {\n \"collapse\": false,\n \"height\":\ - \ \"250px\",\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\"\ - : false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 10,\n \"id\": 9,\n \"\ - legend\": {\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n \ - \ \"min\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 0,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null as zero\",\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n\ - \ \"points\": false,\n \"renderer\": \"\ - flot\",\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 6,\n\ - \ \"stack\": true,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"rate(prometheus_engine_query_duration_seconds_count{job=~\\\ - \"$job\\\",instance=~\\\"$instance\\\",slice=\\\"inner_eval\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\":\ - \ \"{{job}} {{instance}}\",\n \"legendLink\": null,\n\ - \ \"step\": 10\n }\n \ - \ ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \"timeShift\"\ - : null,\n \"title\": \"Query Rate\",\n \"\ - tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n\ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 10,\n\ - \ \"id\": 10,\n \"legend\": {\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"show\": true,\n \"total\": false,\n\ - \ \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 0,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null as zero\",\n \"percentage\": false,\n \ - \ \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"max by (slice)\ - \ (prometheus_engine_query_duration_seconds{quantile=\\\"0.9\\\",job=~\\\"$job\\\ - \",instance=~\\\"$instance\\\"}) * 1e3\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{slice}}\",\n \ - \ \"legendLink\": null,\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Stage Duration\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n\ - \ \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ms\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"short\",\n \"label\": null,\n\ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": false\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Query\",\n \"titleSize\": \"h6\"\n \ - \ }\n ],\n \"schemaVersion\": 14,\n \"style\": \"dark\",\n \"tags\"\ - : [\n\n ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n\ - \ \"value\": \"Prometheus\"\n },\n \ - \ \"hide\": 0,\n \"label\": null,\n \"name\"\ - : \"datasource\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n \"selected\": true,\n \ - \ \"text\": \"All\",\n \"value\": \"$__all\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": true,\n \"label\"\ - : \"job\",\n \"multi\": true,\n \"name\": \"job\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"label_values(prometheus_build_info, job)\",\n \"refresh\":\ - \ 1,\n \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n },\n {\n\ - \ \"allValue\": null,\n \"current\": {\n \ - \ \"selected\": true,\n \"text\": \"All\",\n \ - \ \"value\": \"$__all\"\n },\n \ - \ \"datasource\": \"$datasource\",\n \"hide\": 0,\n \ - \ \"includeAll\": true,\n \"label\": \"instance\",\n \ - \ \"multi\": true,\n \"name\": \"instance\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(prometheus_build_info, instance)\",\n \"refresh\"\ - : 1,\n \"regex\": \"\",\n \"sort\": 2,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\": \"\ - query\",\n \"useTags\": false\n }\n ]\n },\n\ - \ \"time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n \ - \ },\n \"timepicker\": {\n \"refresh_intervals\": [\n \"\ - 5s\",\n \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\"\ - ,\n \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"utc\",\n \"title\": \"Prometheus\",\n \"uid\": \"\",\n \"version\"\ - : 0\n}" + prometheus.json: |- + { + "annotations": { + "list": [ + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "links": [ + ], + "refresh": "10s", + "rows": [ + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 1, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "hidden" + }, + { + "alias": "Count", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #A", + "thresholds": [ + ], + "type": "hidden", + "unit": "short" + }, + { + "alias": "Uptime", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "Value #B", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Instance", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "instance", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Job", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "job", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "Version", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "link": false, + "linkTooltip": "Drill down", + "linkUrl": "", + "pattern": "version", + "thresholds": [ + ], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "/.*/", + "thresholds": [ + ], + "type": "string", + "unit": "short" + } + ], + "targets": [ + { + "expr": "count by (job, instance, version) (prometheus_build_info{job=~\"$job\", instance=~\"$instance\"})", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "A", + "step": 10 + }, + { + "expr": "max by (job, instance) (time() - process_start_time_seconds{job=~\"$job\", instance=~\"$instance\"})", + "format": "table", + "instant": true, + "intervalFactor": 2, + "legendFormat": "", + "refId": "B", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Prometheus Stats", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "transform": "table", + "type": "table", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Prometheus Stats", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(prometheus_target_sync_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m])) by (scrape_job) * 1e3", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{scrape_job}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Target Sync", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(prometheus_sd_discovered_targets{job=~\"$job\",instance=~\"$instance\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "Targets", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Targets", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Discovery", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(prometheus_target_interval_length_seconds_sum{job=~\"$job\",instance=~\"$instance\"}[5m]) / rate(prometheus_target_interval_length_seconds_count{job=~\"$job\",instance=~\"$instance\"}[5m]) * 1e3", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{interval}} configured", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Average Scrape Interval Duration", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 5, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum by (job) (rate(prometheus_target_scrapes_exceeded_sample_limit_total[1m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "exceeded sample limit: {{job}}", + "legendLink": null, + "step": 10 + }, + { + "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_duplicate_timestamp_total[1m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "duplicate timestamp: {{job}}", + "legendLink": null, + "step": 10 + }, + { + "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_bounds_total[1m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "out of bounds: {{job}}", + "legendLink": null, + "step": 10 + }, + { + "expr": "sum by (job) (rate(prometheus_target_scrapes_sample_out_of_order_total[1m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "out of order: {{job}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Scrape failures", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "rate(prometheus_tsdb_head_samples_appended_total{job=~\"$job\",instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{job}} {{instance}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Appended Samples", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Retrieval", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "prometheus_tsdb_head_series{job=~\"$job\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{job}} {{instance}} head series", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Head Series", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "prometheus_tsdb_head_chunks{job=~\"$job\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{job}} {{instance}} head chunks", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Head Chunks", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Storage", + "titleSize": "h6" + }, + { + "collapse": false, + "height": "250px", + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "rate(prometheus_engine_query_duration_seconds_count{job=~\"$job\",instance=~\"$instance\",slice=\"inner_eval\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{job}} {{instance}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Query Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 10, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 0, + "links": [ + ], + "nullPointMode": "null as zero", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "max by (slice) (prometheus_engine_query_duration_seconds{quantile=\"0.9\",job=~\"$job\",instance=~\"$instance\"}) * 1e3", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{slice}}", + "legendLink": null, + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Stage Duration", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Query", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + "selected": true, + "text": "All", + "value": "$__all" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": "job", + "multi": true, + "name": "job", + "options": [ + ], + "query": "label_values(prometheus_build_info, job)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": true, + "text": "All", + "value": "$__all" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": "instance", + "multi": true, + "name": "instance", + "options": [ + ], + "query": "label_values(prometheus_build_info, instance)", + "refresh": 1, + "regex": "", + "sort": 2, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "utc", + "title": "Prometheus", + "uid": "", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -14751,561 +28303,1125 @@ metadata: --- apiVersion: v1 data: - proxy.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n ],\n\ - \ \"annotations\": {\n \"list\": [\n\n ]\n },\n \"editable\"\ - : false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\"\ - : false,\n \"id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\"\ - ,\n \"rows\": [\n {\n \"collapse\": false,\n \"\ - collapsed\": false,\n \"panels\": [\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\": false,\n\ - \ \"colorValue\": false,\n \"colors\": [\n\ - \ \"#299c46\",\n \"rgba(237, 129,\ - \ 40, 0.89)\",\n \"#d44a3a\"\n ],\n\ - \ \"datasource\": \"$datasource\",\n \"\ - format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n\ - \ \"thresholdMarkers\": true\n },\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(up{job=\\\"kube-proxy\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\",\n\ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Up\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \"\ - type\": \"singlestat\",\n \"valueFontSize\": \"80%\",\n \ - \ \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\",\n\ - \ \"value\": \"null\"\n }\n\ - \ ],\n \"valueName\": \"min\"\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 3,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 5,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"rate\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rules Sync Rate\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 5,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Rule Sync Latency 99th Quantile\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"\ - individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 5,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 6,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"rate\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Network Programming Rate\",\n \ - \ \"tooltip\": {\n \"shared\": false,\n \ - \ \"sort\": 0,\n \"value_type\": \"individual\"\ - \n },\n \"type\": \"graph\",\n \ - \ \"xaxis\": {\n \"buckets\": null,\n \ - \ \"mode\": \"time\",\n \"name\": null,\n\ - \ \"show\": true,\n \"values\":\ - \ [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 6,\n \"legend\": {\n \"\ - alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 6,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\":\ - \ [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Network\ - \ Programming Latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\":\ - \ 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 7,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\",code=~\\\"2..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"2xx\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(rest_client_requests_total{job=\\\"kube-proxy\\\", instance=~\\\"$instance\\\ - \",code=~\\\"3..\\\"}[5m]))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"3xx\",\n \"refId\": \"B\"\ - \n },\n {\n \ - \ \"expr\": \"sum(rate(rest_client_requests_total{job=\\\"kube-proxy\\\"\ - , instance=~\\\"$instance\\\",code=~\\\"4..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"4xx\",\n \ - \ \"refId\": \"C\"\n },\n \ - \ {\n \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\",code=~\\\"5..\\\"}[5m]))\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"5xx\",\n \"refId\": \"D\"\n \ - \ }\n ],\n \"thresholds\": [\n\n \ - \ ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Kube API Request\ - \ Rate\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": null,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 8,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : false,\n \"show\": true,\n \"\ - total\": false,\n \"values\": false\n \ - \ },\n \"lines\": true,\n \"linewidth\"\ - : 1,\n \"links\": [\n\n ],\n \ - \ \"nullPointMode\": \"null\",\n \"percentage\": false,\n\ - \ \"pointradius\": 5,\n \"points\": false,\n\ - \ \"renderer\": \"flot\",\n \"repeat\":\ - \ null,\n \"seriesOverrides\": [\n\n ],\n\ - \ \"spaceLength\": 10,\n \"span\": 8,\n\ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\\\ - \"kube-proxy\\\",instance=~\\\"$instance\\\",verb=\\\"POST\\\"}[5m])) by (verb,\ - \ url, le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{verb}} {{url}}\",\n \"refId\"\ - : \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Post Request Latency 99th Quantile\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 9,\n \ - \ \"legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"\ - true\",\n \"max\": false,\n \"min\"\ - : false,\n \"rightSide\": \"true\",\n \ - \ \"show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \ - \ \"lines\": true,\n \"linewidth\": 1,\n \ - \ \"links\": [\n\n ],\n \"nullPointMode\"\ - : \"null\",\n \"percentage\": false,\n \"\ - pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\\\ - \"kube-proxy\\\", instance=~\\\"$instance\\\", verb=\\\"GET\\\"}[5m])) by (verb,\ - \ url, le))\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"{{verb}} {{url}}\",\n \"refId\"\ - : \"A\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\"\ - : null,\n \"timeShift\": null,\n \"title\"\ - : \"Get Request Latency 99th Quantile\",\n \"tooltip\": {\n\ - \ \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"s\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": false,\n \ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 10,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"process_resident_memory_bytes{job=\\\ - \"kube-proxy\\\",instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory\",\n \"tooltip\":\ - \ {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 11,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(process_cpu_seconds_total{job=\\\ - \"kube-proxy\\\",instance=~\\\"$instance\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 12,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"go_goroutines{job=\\\ - \"kube-proxy\\\",instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Goroutines\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": true,\n \ - \ \"label\": null,\n \"multi\": false,\n \"name\"\ - : \"instance\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\\\ - \"kube-proxy\\\"}, instance)\",\n \"refresh\": 2,\n \ - \ \"regex\": \"\",\n \"sort\": 1,\n \"tagValuesQuery\"\ - : \"\",\n \"tags\": [\n\n ],\n \"\ - tagsQuery\": \"\",\n \"type\": \"query\",\n \"useTags\"\ - : false\n }\n ]\n },\n \"time\": {\n \"from\":\ - \ \"now-1h\",\n \"to\": \"now\"\n },\n \"timepicker\": {\n \ - \ \"refresh_intervals\": [\n \"5s\",\n \"10s\",\n \ - \ \"30s\",\n \"1m\",\n \"5m\",\n \"15m\"\ - ,\n \"30m\",\n \"1h\",\n \"2h\",\n \ - \ \"1d\"\n ],\n \"time_options\": [\n \"5m\",\n \ - \ \"15m\",\n \"1h\",\n \"6h\",\n \"12h\"\ - ,\n \"24h\",\n \"2d\",\n \"7d\",\n \ - \ \"30d\"\n ]\n },\n \"timezone\": \"\",\n \"title\": \"Kubernetes\ - \ / Proxy\",\n \"uid\": \"632e265de029684c40b21cb76bca4f94\",\n \"version\"\ - : 0\n}" + proxy.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(up{job=\"kube-proxy\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Up", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubeproxy_sync_proxy_rules_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "rate", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rules Sync Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99,rate(kubeproxy_sync_proxy_rules_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rule Sync Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 5, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(kubeproxy_network_programming_duration_seconds_count{job=\"kube-proxy\", instance=~\"$instance\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "rate", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Network Programming Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 6, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 6, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Network Programming Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 7, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"2..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "2xx", + "refId": "A" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"3..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "3xx", + "refId": "B" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"4..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "4xx", + "refId": "C" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-proxy\", instance=~\"$instance\",code=~\"5..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5xx", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Kube API Request Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 8, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\",instance=~\"$instance\",verb=\"POST\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Post Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-proxy\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Get Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{job=\"kube-proxy\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 11, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(process_cpu_seconds_total{job=\"kube-proxy\",instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 12, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{job=\"kube-proxy\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Goroutines", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(kubeproxy_network_programming_duration_seconds_bucket{job=\"kube-proxy\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Proxy", + "uid": "632e265de029684c40b21cb76bca4f94", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -15322,504 +29438,984 @@ metadata: --- apiVersion: v1 data: - scheduler.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n \ - \ ],\n \"annotations\": {\n \"list\": [\n\n ]\n },\n \"\ - editable\": false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"hideControls\"\ - : false,\n \"id\": null,\n \"links\": [\n\n ],\n \"refresh\": \"\"\ - ,\n \"rows\": [\n {\n \"collapse\": false,\n \"\ - collapsed\": false,\n \"panels\": [\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\": false,\n\ - \ \"colorValue\": false,\n \"colors\": [\n\ - \ \"#299c46\",\n \"rgba(237, 129,\ - \ 40, 0.89)\",\n \"#d44a3a\"\n ],\n\ - \ \"datasource\": \"$datasource\",\n \"\ - format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\": false,\n\ - \ \"thresholdMarkers\": true\n },\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 2,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(up{job=\\\"kube-scheduler\\\"})\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\": \"\ - \",\n \"refId\": \"A\"\n }\n\ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Up\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\": \"80%\",\n\ - \ \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"N/A\"\ - ,\n \"value\": \"null\"\n }\n\ - \ ],\n \"valueName\": \"min\"\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n\ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 3,\n \"legend\": {\n \ - \ \"alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 5,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(scheduler_e2e_scheduling_duration_seconds_count{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\"}[5m])) by (instance)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} e2e\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"sum(rate(scheduler_binding_duration_seconds_count{job=\\\"kube-scheduler\\\ - \", instance=~\\\"$instance\\\"}[5m])) by (instance)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}} binding\",\n\ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"sum(rate(scheduler_scheduling_algorithm_duration_seconds_count{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\"}[5m])) by (instance)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} scheduling algorithm\",\n \"refId\"\ - : \"C\"\n },\n {\n \ - \ \"expr\": \"sum(rate(scheduler_volume_scheduling_duration_seconds_count{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\"}[5m])) by (instance)\",\n \ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} volume\",\n \"refId\": \"D\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Scheduling\ - \ Rate\",\n \"tooltip\": {\n \"shared\"\ - : false,\n \"sort\": 0,\n \"value_type\"\ - : \"individual\"\n },\n \"type\": \"graph\"\ - ,\n \"xaxis\": {\n \"buckets\": null,\n\ - \ \"mode\": \"time\",\n \"name\"\ - : null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \ - \ \"yaxes\": [\n {\n \"format\"\ - : \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ },\n {\n \ - \ \"format\": \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\"\ - : null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n \ - \ },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \ - \ \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 1,\n \ - \ \"gridPos\": {\n\n },\n \ - \ \"id\": 4,\n \"legend\": {\n \"\ - alignAsTable\": \"true\",\n \"avg\": false,\n \ - \ \"current\": \"true\",\n \"max\": false,\n\ - \ \"min\": false,\n \"rightSide\"\ - : \"true\",\n \"show\": \"true\",\n \ - \ \"total\": false,\n \"values\": \"true\"\n \ - \ },\n \"lines\": true,\n \"\ - linewidth\": 1,\n \"links\": [\n\n ],\n\ - \ \"nullPointMode\": \"null\",\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\"\ - : false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n \ - \ ],\n \"spaceLength\": 10,\n \"span\"\ - : 5,\n \"stack\": false,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job=\\\ - \"kube-scheduler\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} e2e\",\n \"refId\": \"A\"\n \ - \ },\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job=\\\ - \"kube-scheduler\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} binding\",\n \"refId\": \"B\"\n \ - \ },\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job=\\\ - \"kube-scheduler\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} scheduling algorithm\",\n \"refId\"\ - : \"C\"\n },\n {\n \ - \ \"expr\": \"histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job=\\\ - \"kube-scheduler\\\",instance=~\\\"$instance\\\"}[5m])) by (instance, le))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{instance}} volume\",\n \"refId\": \"D\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Scheduling\ - \ latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 5,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\",code=~\\\"2..\\\"}[5m]))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"2xx\",\n \"refId\": \"A\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(rest_client_requests_total{job=\\\"kube-scheduler\\\", instance=~\\\"\ - $instance\\\",code=~\\\"3..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"3xx\",\n \ - \ \"refId\": \"B\"\n },\n {\n\ - \ \"expr\": \"sum(rate(rest_client_requests_total{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\",code=~\\\"4..\\\"}[5m]))\",\n\ - \ \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"4xx\",\n \"refId\": \"C\"\n \ - \ },\n {\n \"expr\": \"\ - sum(rate(rest_client_requests_total{job=\\\"kube-scheduler\\\", instance=~\\\"\ - $instance\\\",code=~\\\"5..\\\"}[5m]))\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"5xx\",\n \ - \ \"refId\": \"D\"\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n \ - \ \"title\": \"Kube API Request Rate\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"ops\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"ops\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 6,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 8,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(rest_client_request_latency_seconds_bucket{job=\\\"kube-scheduler\\\ - \", instance=~\\\"$instance\\\", verb=\\\"POST\\\"}[5m])) by (verb, url, le))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{verb}} {{url}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Post Request\ - \ Latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 7,\n \"\ - legend\": {\n \"alignAsTable\": \"true\",\n \ - \ \"avg\": false,\n \"current\": \"true\",\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": \"true\",\n \"\ - show\": \"true\",\n \"total\": false,\n \ - \ \"values\": \"true\"\n },\n \"\ - lines\": true,\n \"linewidth\": 1,\n \"\ - links\": [\n\n ],\n \"nullPointMode\": \"\ - null\",\n \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"histogram_quantile(0.99,\ - \ sum(rate(rest_client_request_latency_seconds_bucket{job=\\\"kube-scheduler\\\ - \", instance=~\\\"$instance\\\", verb=\\\"GET\\\"}[5m])) by (verb, url, le))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"{{verb}} {{url}}\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Get Request\ - \ Latency 99th Quantile\",\n \"tooltip\": {\n \ - \ \"shared\": false,\n \"sort\": 0,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"\ - time\",\n \"name\": null,\n \"show\"\ - : true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\":\ - \ 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"s\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": false,\n \"title\"\ - : \"Dashboard Row\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"collapse\": false,\n \ - \ \"collapsed\": false,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 1,\n \"gridPos\": {\n\n \ - \ },\n \"id\": 8,\n \"\ - legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"process_resident_memory_bytes{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Memory\",\n \"tooltip\":\ - \ {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n },\n\ - \ {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 9,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"rate(process_cpu_seconds_total{job=\\\ - \"kube-scheduler\\\", instance=~\\\"$instance\\\"}[5m])\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"CPU usage\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"bytes\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"bytes\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 10,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 4,\n \"stack\": false,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"go_goroutines{job=\\\ - \"kube-scheduler\\\",instance=~\\\"$instance\\\"}\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"{{instance}}\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n\ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Goroutines\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 0,\n \"includeAll\": true,\n \ - \ \"label\": null,\n \"multi\": false,\n \"name\"\ - : \"instance\",\n \"options\": [\n\n ],\n \ - \ \"query\": \"label_values(process_cpu_seconds_total{job=\\\"kube-scheduler\\\ - \"}, instance)\",\n \"refresh\": 2,\n \"regex\"\ - : \"\",\n \"sort\": 1,\n \"tagValuesQuery\": \"\"\ - ,\n \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / Scheduler\",\n\ - \ \"uid\": \"2e6b6a3b4bddf1427b3a55aa1311c656\",\n \"version\": 0\n}" + scheduler.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 2, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(up{job=\"kube-scheduler\"})", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Up", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "min" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 3, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(scheduler_e2e_scheduling_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} e2e", + "refId": "A" + }, + { + "expr": "sum(rate(scheduler_binding_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} binding", + "refId": "B" + }, + { + "expr": "sum(rate(scheduler_scheduling_algorithm_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} scheduling algorithm", + "refId": "C" + }, + { + "expr": "sum(rate(scheduler_volume_scheduling_duration_seconds_count{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])) by (instance)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} volume", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Scheduling Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 4, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(scheduler_e2e_scheduling_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} e2e", + "refId": "A" + }, + { + "expr": "histogram_quantile(0.99, sum(rate(scheduler_binding_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} binding", + "refId": "B" + }, + { + "expr": "histogram_quantile(0.99, sum(rate(scheduler_scheduling_algorithm_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} scheduling algorithm", + "refId": "C" + }, + { + "expr": "histogram_quantile(0.99, sum(rate(scheduler_volume_scheduling_duration_seconds_bucket{job=\"kube-scheduler\",instance=~\"$instance\"}[5m])) by (instance, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}} volume", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Scheduling latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 5, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"2..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "2xx", + "refId": "A" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"3..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "3xx", + "refId": "B" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"4..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "4xx", + "refId": "C" + }, + { + "expr": "sum(rate(rest_client_requests_total{job=\"kube-scheduler\", instance=~\"$instance\",code=~\"5..\"}[5m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "5xx", + "refId": "D" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Kube API Request Rate", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "ops", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 6, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 8, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-scheduler\", instance=~\"$instance\", verb=\"POST\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Post Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 7, + "legend": { + "alignAsTable": "true", + "avg": false, + "current": "true", + "max": false, + "min": false, + "rightSide": "true", + "show": "true", + "total": false, + "values": "true" + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "histogram_quantile(0.99, sum(rate(rest_client_request_latency_seconds_bucket{job=\"kube-scheduler\", instance=~\"$instance\", verb=\"GET\"}[5m])) by (verb, url, le))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{verb}} {{url}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Get Request Latency 99th Quantile", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 8, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "process_resident_memory_bytes{job=\"kube-scheduler\", instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Memory", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(process_cpu_seconds_total{job=\"kube-scheduler\", instance=~\"$instance\"}[5m])", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU usage", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 4, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{job=\"kube-scheduler\",instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Goroutines", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "instance", + "options": [ + ], + "query": "label_values(process_cpu_seconds_total{job=\"kube-scheduler\"}, instance)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Scheduler", + "uid": "2e6b6a3b4bddf1427b3a55aa1311c656", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -15836,451 +30432,876 @@ metadata: --- apiVersion: v1 data: - statefulset.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n \ - \ ],\n \"annotations\": {\n \"list\": [\n\n ]\n },\n \ - \ \"editable\": false,\n \"gnetId\": null,\n \"graphTooltip\": 0,\n \"\ - hideControls\": false,\n \"id\": null,\n \"links\": [\n\n ],\n \"\ - refresh\": \"\",\n \"rows\": [\n {\n \"collapse\": false,\n\ - \ \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"#299c46\",\n \"rgba(237,\ - \ 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 2,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"cores\",\n \"postfixFontSize\": \"50%\",\n\ - \ \"prefix\": \"\",\n \"prefixFontSize\"\ - : \"50%\",\n \"rangeMaps\": [\n {\n\ - \ \"from\": \"null\",\n \ - \ \"text\": \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 4,\n\ - \ \"sparkline\": {\n \"fillColor\":\ - \ \"rgba(31, 118, 189, 0.18)\",\n \"lineColor\": \"rgb(31,\ - \ 120, 193)\",\n \"show\": true\n },\n\ - \ \"tableColumn\": \"\",\n \"targets\":\ - \ [\n {\n \"expr\": \"sum(rate(container_cpu_usage_seconds_total{job=\\\ - \"kubelet\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", pod=~\\\ - \"$statefulset.*\\\"}[3m]))\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\"\n\ - \ }\n ],\n \"thresholds\"\ - : \"\",\n \"title\": \"CPU\",\n \"tooltip\"\ - : {\n \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\"\ - : \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"0\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\ - \n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 3,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"GB\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 4,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"show\"\ - : true\n },\n \"tableColumn\": \"\",\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(container_memory_usage_bytes{job=\\\"kubelet\\\"\ - , cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", pod=~\\\"$statefulset.*\\\ - \"}) / 1024^3\",\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\"\ - : \"\",\n \"title\": \"Memory\",\n \"tooltip\"\ - : {\n \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\"\ - : \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"0\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\ - \n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 4,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"Bps\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 4,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"show\"\ - : true\n },\n \"tableColumn\": \"\",\n \ - \ \"targets\": [\n {\n \ - \ \"expr\": \"sum(rate(container_network_transmit_bytes_total{job=\\\ - \"kubelet\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", pod=~\\\ - \"$statefulset.*\\\"}[3m])) + sum(rate(container_network_receive_bytes_total{cluster=\\\ - \"$cluster\\\", namespace=\\\"$namespace\\\",pod=~\\\"$statefulset.*\\\"}[3m]))\"\ - ,\n \"format\": \"time_series\",\n \ - \ \"intervalFactor\": 2,\n \"legendFormat\"\ - : \"\",\n \"refId\": \"A\"\n \ - \ }\n ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Network\",\n \"tooltip\": {\n\ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\":\ - \ \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"0\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\ - \n }\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": false,\n \"title\": \"Dashboard Row\",\n \ - \ \"titleSize\": \"h6\",\n \"type\": \"row\"\n },\n \ - \ {\n \"collapse\": false,\n \"collapsed\": false,\n\ - \ \"height\": \"100px\",\n \"panels\": [\n \ - \ {\n \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"#299c46\",\n \"rgba(237,\ - \ 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 5,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 3,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"max(kube_statefulset_replicas{job=\\\"kube-state-metrics\\\ - \", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\", statefulset=\\\"$statefulset\\\ - \"}) without (instance, pod)\",\n \"format\": \"time_series\"\ - ,\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"\",\n \"refId\": \"A\"\n\ - \ }\n ],\n \"thresholds\"\ - : \"\",\n \"title\": \"Desired Replicas\",\n \ - \ \"tooltip\": {\n \"shared\": false\n \ - \ },\n \"type\": \"singlestat\",\n \ - \ \"valueFontSize\": \"80%\",\n \"valueMaps\": [\n \ - \ {\n \"op\": \"=\",\n \ - \ \"text\": \"0\",\n \"value\": \"\ - null\"\n }\n ],\n \ - \ \"valueName\": \"current\"\n },\n {\n \ - \ \"cacheTimeout\": null,\n \"colorBackground\"\ - : false,\n \"colorValue\": false,\n \"colors\"\ - : [\n \"#299c46\",\n \"rgba(237,\ - \ 129, 40, 0.89)\",\n \"#d44a3a\"\n \ - \ ],\n \"datasource\": \"$datasource\",\n \ - \ \"format\": \"none\",\n \"gauge\": {\n \ - \ \"maxValue\": 100,\n \"minValue\": 0,\n \ - \ \"show\": false,\n \"thresholdLabels\"\ - : false,\n \"thresholdMarkers\": true\n \ - \ },\n \"gridPos\": {\n\n },\n \ - \ \"id\": 6,\n \"interval\": null,\n \ - \ \"links\": [\n\n ],\n \"mappingType\"\ - : 1,\n \"mappingTypes\": [\n {\n \ - \ \"name\": \"value to text\",\n \ - \ \"value\": 1\n },\n {\n\ - \ \"name\": \"range to text\",\n \ - \ \"value\": 2\n }\n ],\n \ - \ \"maxDataPoints\": 100,\n \"nullPointMode\"\ - : \"connected\",\n \"nullText\": null,\n \ - \ \"postfix\": \"\",\n \"postfixFontSize\": \"50%\",\n \ - \ \"prefix\": \"\",\n \"prefixFontSize\": \"\ - 50%\",\n \"rangeMaps\": [\n {\n \ - \ \"from\": \"null\",\n \"text\"\ - : \"N/A\",\n \"to\": \"null\"\n \ - \ }\n ],\n \"span\": 3,\n \ - \ \"sparkline\": {\n \"fillColor\": \"rgba(31,\ - \ 118, 189, 0.18)\",\n \"full\": false,\n \ - \ \"lineColor\": \"rgb(31, 120, 193)\",\n \"\ - show\": false\n },\n \"tableColumn\": \"\ - \",\n \"targets\": [\n {\n \ - \ \"expr\": \"min(kube_statefulset_status_replicas_current{job=\\\ - \"kube-state-metrics\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", statefulset=\\\"$statefulset\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Replicas of current version\",\n \"tooltip\"\ - : {\n \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\"\ - : \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"0\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\ - \n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 7,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 3,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120,\ - \ 193)\",\n \"show\": false\n },\n \ - \ \"tableColumn\": \"\",\n \"targets\": [\n\ - \ {\n \"expr\": \"max(kube_statefulset_status_observed_generation{job=\\\ - \"kube-state-metrics\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \", statefulset=\\\"$statefulset\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"\ - intervalFactor\": 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n \ - \ ],\n \"thresholds\": \"\",\n \ - \ \"title\": \"Observed Generation\",\n \"tooltip\": {\n\ - \ \"shared\": false\n },\n \ - \ \"type\": \"singlestat\",\n \"valueFontSize\":\ - \ \"80%\",\n \"valueMaps\": [\n {\n\ - \ \"op\": \"=\",\n \"text\"\ - : \"0\",\n \"value\": \"null\"\n \ - \ }\n ],\n \"valueName\": \"current\"\ - \n },\n {\n \"cacheTimeout\"\ - : null,\n \"colorBackground\": false,\n \ - \ \"colorValue\": false,\n \"colors\": [\n \ - \ \"#299c46\",\n \"rgba(237, 129, 40, 0.89)\",\n\ - \ \"#d44a3a\"\n ],\n \ - \ \"datasource\": \"$datasource\",\n \"format\": \"none\"\ - ,\n \"gauge\": {\n \"maxValue\": 100,\n\ - \ \"minValue\": 0,\n \"show\": false,\n\ - \ \"thresholdLabels\": false,\n \ - \ \"thresholdMarkers\": true\n },\n \"gridPos\"\ - : {\n\n },\n \"id\": 8,\n \ - \ \"interval\": null,\n \"links\": [\n\n \ - \ ],\n \"mappingType\": 1,\n \"mappingTypes\"\ - : [\n {\n \"name\": \"value\ - \ to text\",\n \"value\": 1\n \ - \ },\n {\n \"name\": \"range\ - \ to text\",\n \"value\": 2\n \ - \ }\n ],\n \"maxDataPoints\": 100,\n \ - \ \"nullPointMode\": \"connected\",\n \"\ - nullText\": null,\n \"postfix\": \"\",\n \ - \ \"postfixFontSize\": \"50%\",\n \"prefix\": \"\",\n \ - \ \"prefixFontSize\": \"50%\",\n \"rangeMaps\"\ - : [\n {\n \"from\": \"null\"\ - ,\n \"text\": \"N/A\",\n \ - \ \"to\": \"null\"\n }\n ],\n \ - \ \"span\": 3,\n \"sparkline\": {\n \ - \ \"fillColor\": \"rgba(31, 118, 189, 0.18)\",\n \ - \ \"full\": false,\n \"lineColor\": \"rgb(31, 120,\ - \ 193)\",\n \"show\": false\n },\n \ - \ \"tableColumn\": \"\",\n \"targets\": [\n\ - \ {\n \"expr\": \"max(kube_statefulset_metadata_generation{job=\\\ - \"kube-state-metrics\\\", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"\",\n \ - \ \"refId\": \"A\"\n }\n ],\n\ - \ \"thresholds\": \"\",\n \"title\": \"\ - Metadata Generation\",\n \"tooltip\": {\n \ - \ \"shared\": false\n },\n \"type\"\ - : \"singlestat\",\n \"valueFontSize\": \"80%\",\n \ - \ \"valueMaps\": [\n {\n \ - \ \"op\": \"=\",\n \"text\": \"0\",\n \ - \ \"value\": \"null\"\n }\n \ - \ ],\n \"valueName\": \"current\"\n \ - \ }\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n },\n {\n \"collapse\"\ - : false,\n \"collapsed\": false,\n \"panels\": [\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 1,\n \"gridPos\"\ - : {\n\n },\n \"id\": 9,\n \ - \ \"legend\": {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 1,\n \"links\": [\n\n \ - \ ],\n \"nullPointMode\": \"null\",\n \ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"stack\": false,\n \"steppedLine\": false,\n\ - \ \"targets\": [\n {\n \ - \ \"expr\": \"max(kube_statefulset_replicas{job=\\\"kube-state-metrics\\\ - \", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\", namespace=\\\"\ - $namespace\\\"}) without (instance, pod)\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 2,\n \ - \ \"legendFormat\": \"replicas specified\",\n \ - \ \"refId\": \"A\"\n },\n \ - \ {\n \"expr\": \"max(kube_statefulset_status_replicas{job=\\\ - \"kube-state-metrics\\\", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"replicas created\",\n \ - \ \"refId\": \"B\"\n },\n \ - \ {\n \"expr\": \"min(kube_statefulset_status_replicas_ready{job=\\\ - \"kube-state-metrics\\\", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"ready\",\n \ - \ \"refId\": \"C\"\n },\n \ - \ {\n \"expr\": \"min(kube_statefulset_status_replicas_current{job=\\\ - \"kube-state-metrics\\\", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"replicas of current version\"\ - ,\n \"refId\": \"D\"\n },\n\ - \ {\n \"expr\": \"min(kube_statefulset_status_replicas_updated{job=\\\ - \"kube-state-metrics\\\", statefulset=\\\"$statefulset\\\", cluster=\\\"$cluster\\\ - \", namespace=\\\"$namespace\\\"}) without (instance, pod)\",\n \ - \ \"format\": \"time_series\",\n \"intervalFactor\"\ - : 2,\n \"legendFormat\": \"updated\",\n \ - \ \"refId\": \"E\"\n }\n \ - \ ],\n \"thresholds\": [\n\n ],\n \ - \ \"timeFrom\": null,\n \"timeShift\": null,\n\ - \ \"title\": \"Replicas\",\n \"tooltip\"\ - : {\n \"shared\": false,\n \"sort\"\ - : 0,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\"\ - : {\n \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"short\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\": true\n \ - \ },\n {\n \"format\"\ - : \"short\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": null,\n \"show\"\ - : true\n }\n ]\n }\n\ - \ ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": false,\n\ - \ \"title\": \"Dashboard Row\",\n \"titleSize\": \"h6\"\ - ,\n \"type\": \"row\"\n }\n ],\n \"schemaVersion\": 14,\n\ - \ \"style\": \"dark\",\n \"tags\": [\n \"kubernetes-mixin\"\n \ - \ ],\n \"templating\": {\n \"list\": [\n {\n \ - \ \"current\": {\n \"text\": \"Prometheus\",\n \ - \ \"value\": \"Prometheus\"\n },\n \"\ - hide\": 0,\n \"label\": null,\n \"name\": \"datasource\"\ - ,\n \"options\": [\n\n ],\n \"query\"\ - : \"prometheus\",\n \"refresh\": 1,\n \"regex\"\ - : \"\",\n \"type\": \"datasource\"\n },\n \ - \ {\n \"allValue\": null,\n \"current\": {\n\n\ - \ },\n \"datasource\": \"$datasource\",\n \ - \ \"hide\": 2,\n \"includeAll\": false,\n \ - \ \"label\": \"cluster\",\n \"multi\": false,\n \ - \ \"name\": \"cluster\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_statefulset_metadata_generation,\ - \ cluster)\",\n \"refresh\": 2,\n \"regex\": \"\"\ - ,\n \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ },\n {\n \"allValue\": null,\n \ - \ \"current\": {\n\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 0,\n \"includeAll\"\ - : false,\n \"label\": \"Namespace\",\n \"multi\"\ - : false,\n \"name\": \"namespace\",\n \"options\"\ - : [\n\n ],\n \"query\": \"label_values(kube_statefulset_metadata_generation{job=\\\ - \"kube-state-metrics\\\", cluster=\\\"$cluster\\\"}, namespace)\",\n \ - \ \"refresh\": 2,\n \"regex\": \"\",\n \"\ - sort\": 1,\n \"tagValuesQuery\": \"\",\n \"tags\"\ - : [\n\n ],\n \"tagsQuery\": \"\",\n \ - \ \"type\": \"query\",\n \"useTags\": false\n },\n\ - \ {\n \"allValue\": null,\n \"current\"\ - : {\n\n },\n \"datasource\": \"$datasource\",\n\ - \ \"hide\": 0,\n \"includeAll\": false,\n \ - \ \"label\": \"Name\",\n \"multi\": false,\n \ - \ \"name\": \"statefulset\",\n \"options\": [\n\n \ - \ ],\n \"query\": \"label_values(kube_statefulset_metadata_generation{job=\\\ - \"kube-state-metrics\\\", cluster=\\\"$cluster\\\", namespace=\\\"$namespace\\\ - \"}, statefulset)\",\n \"refresh\": 2,\n \"regex\"\ - : \"\",\n \"sort\": 1,\n \"tagValuesQuery\": \"\"\ - ,\n \"tags\": [\n\n ],\n \"tagsQuery\"\ - : \"\",\n \"type\": \"query\",\n \"useTags\": false\n\ - \ }\n ]\n },\n \"time\": {\n \"from\": \"now-1h\"\ - ,\n \"to\": \"now\"\n },\n \"timepicker\": {\n \"refresh_intervals\"\ - : [\n \"5s\",\n \"10s\",\n \"30s\",\n \ - \ \"1m\",\n \"5m\",\n \"15m\",\n \"30m\"\ - ,\n \"1h\",\n \"2h\",\n \"1d\"\n ],\n\ - \ \"time_options\": [\n \"5m\",\n \"15m\",\n \ - \ \"1h\",\n \"6h\",\n \"12h\",\n \"24h\"\ - ,\n \"2d\",\n \"7d\",\n \"30d\"\n ]\n\ - \ },\n \"timezone\": \"\",\n \"title\": \"Kubernetes / StatefulSets\"\ - ,\n \"uid\": \"a31c1f46e6f727cb37c0d731a7245005\",\n \"version\": 0\n}" + statefulset.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + ] + }, + "editable": false, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "refresh": "", + "rows": [ + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 2, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "cores", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 4, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(rate(container_cpu_usage_seconds_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}[3m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "CPU", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 3, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "GB", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 4, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(container_memory_usage_bytes{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}) / 1024^3", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Memory", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 4, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "Bps", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 4, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(rate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$statefulset.*\"}[3m])) + sum(rate(container_network_receive_bytes_total{cluster=\"$cluster\", namespace=\"$namespace\",pod=~\"$statefulset.*\"}[3m]))", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Network", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "height": "100px", + "panels": [ + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 5, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Desired Replicas", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 6, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Replicas of current version", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 7, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "max(kube_statefulset_status_observed_generation{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", statefulset=\"$statefulset\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Observed Generation", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "$datasource", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + }, + "id": 8, + "interval": null, + "links": [ + ], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "span": 3, + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false + }, + "tableColumn": "", + "targets": [ + { + "expr": "max(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "", + "title": "Metadata Generation", + "tooltip": { + "shared": false + }, + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "gridPos": { + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ + ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "max(kube_statefulset_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "replicas specified", + "refId": "A" + }, + { + "expr": "max(kube_statefulset_status_replicas{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "replicas created", + "refId": "B" + }, + { + "expr": "min(kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "ready", + "refId": "C" + }, + { + "expr": "min(kube_statefulset_status_replicas_current{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "replicas of current version", + "refId": "D" + }, + { + "expr": "min(kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\", statefulset=\"$statefulset\", cluster=\"$cluster\", namespace=\"$namespace\"}) without (instance, pod)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "updated", + "refId": "E" + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Replicas", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6", + "type": "row" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [ + ], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": "cluster", + "multi": false, + "name": "cluster", + "options": [ + ], + "query": "label_values(kube_statefulset_metadata_generation, cluster)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "Namespace", + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": "Name", + "multi": false, + "name": "statefulset", + "options": [ + ], + "query": "label_values(kube_statefulset_metadata_generation{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\"}, statefulset)", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / StatefulSets", + "uid": "a31c1f46e6f727cb37c0d731a7245005", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -16297,527 +31318,1102 @@ metadata: --- apiVersion: v1 data: - workload-total.json: "{\n \"__inputs\": [\n\n ],\n \"__requires\": [\n\n\ - \ ],\n \"annotations\": {\n \"list\": [\n {\n \ - \ \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n\ - \ \"enable\": true,\n \"hide\": true,\n \ - \ \"iconColor\": \"rgba(0, 211, 255, 1)\",\n \"name\": \"\ - Annotations & Alerts\",\n \"type\": \"dashboard\"\n \ - \ }\n ]\n },\n \"editable\": true,\n \"gnetId\": null,\n \"\ - graphTooltip\": 0,\n \"hideControls\": false,\n \"id\": null,\n \"links\"\ - : [\n\n ],\n \"panels\": [\n {\n \"collapse\": false,\n\ - \ \"collapsed\": false,\n \"gridPos\": {\n \ - \ \"h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 0\n },\n \"id\": 2,\n \"panels\"\ - : [\n\n ],\n \"repeat\": null,\n \"repeatIteration\"\ - : null,\n \"repeatRowId\": null,\n \"showTitle\": true,\n\ - \ \"title\": \"Current Bandwidth\",\n \"titleSize\": \"\ - h6\",\n \"type\": \"row\"\n },\n {\n \"aliasColors\"\ - : {\n\n },\n \"breakpoint\": \"50%\",\n \"cacheTimeout\"\ - : null,\n \"combine\": {\n \"label\": \"Others\",\n\ - \ \"threshold\": 0\n },\n \"datasource\"\ - : \"$datasource\",\n \"fontSize\": \"80%\",\n \"format\"\ - : \"Bps\",\n \"gridPos\": {\n \"h\": 9,\n \ - \ \"w\": 12,\n \"x\": 0,\n \"y\": 1\n \ - \ },\n \"id\": 3,\n \"interval\": null,\n \ - \ \"legend\": {\n \"percentage\": true,\n \"\ - percentageDecimals\": null,\n \"show\": true,\n \ - \ \"values\": true\n },\n \"legendType\": \"Right side\"\ - ,\n \"maxDataPoints\": 3,\n \"nullPointMode\": \"connected\"\ - ,\n \"pieType\": \"donut\",\n \"targets\": [\n \ - \ {\n \"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\",\n \"format\"\ - : \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\": \"{{pod}}\"\ - ,\n \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Current Rate of Bytes Received\",\n \"type\"\ - : \"grafana-piechart-panel\",\n \"valueName\": \"current\"\n \ - \ },\n {\n \"aliasColors\": {\n\n },\n \ - \ \"breakpoint\": \"50%\",\n \"cacheTimeout\": null,\n \ - \ \"combine\": {\n \"label\": \"Others\",\n \"\ - threshold\": 0\n },\n \"datasource\": \"$datasource\",\n\ - \ \"fontSize\": \"80%\",\n \"format\": \"Bps\",\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 1\n },\n \ - \ \"id\": 4,\n \"interval\": null,\n \"legend\": {\n\ - \ \"percentage\": true,\n \"percentageDecimals\"\ - : null,\n \"show\": true,\n \"values\": true\n \ - \ },\n \"legendType\": \"Right side\",\n \"maxDataPoints\"\ - : 3,\n \"nullPointMode\": \"connected\",\n \"pieType\":\ - \ \"donut\",\n \"targets\": [\n {\n \ - \ \"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\",\n \"format\"\ - : \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \"legendFormat\": \"{{pod}}\"\ - ,\n \"refId\": \"A\"\n }\n ],\n \ - \ \"title\": \"Current Rate of Bytes Transmitted\",\n \"\ - type\": \"grafana-piechart-panel\",\n \"valueName\": \"current\"\n\ - \ },\n {\n \"collapse\": true,\n \"collapsed\"\ - : true,\n \"gridPos\": {\n \"h\": 1,\n \ - \ \"w\": 24,\n \"x\": 0,\n \"y\": 10\n \ - \ },\n \"id\": 5,\n \"panels\": [\n {\n\ - \ \"aliasColors\": {\n\n },\n \ - \ \"breakpoint\": \"50%\",\n \"cacheTimeout\": null,\n\ - \ \"combine\": {\n \"label\": \"Others\"\ - ,\n \"threshold\": 0\n },\n \ - \ \"datasource\": \"$datasource\",\n \"fontSize\"\ - : \"80%\",\n \"format\": \"Bps\",\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 11\n \ - \ },\n \"id\": 6,\n \"interval\"\ - : null,\n \"legend\": {\n \"percentage\"\ - : true,\n \"percentageDecimals\": null,\n \ - \ \"show\": true,\n \"values\": true\n \ - \ },\n \"legendType\": \"Right side\",\n \ - \ \"maxDataPoints\": 3,\n \"nullPointMode\":\ - \ \"connected\",\n \"pieType\": \"donut\",\n \ - \ \"targets\": [\n {\n \ - \ \"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\",\n \"\ - format\": \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"refId\": \"\ - A\"\n }\n ],\n \"\ - title\": \"Average Rate of Bytes Received\",\n \"type\": \"\ - grafana-piechart-panel\",\n \"valueName\": \"current\"\n \ - \ },\n {\n \"aliasColors\": {\n\ - \n },\n \"breakpoint\": \"50%\",\n \ - \ \"cacheTimeout\": null,\n \"combine\": {\n\ - \ \"label\": \"Others\",\n \"threshold\"\ - : 0\n },\n \"datasource\": \"$datasource\"\ - ,\n \"fontSize\": \"80%\",\n \"format\"\ - : \"Bps\",\n \"gridPos\": {\n \"h\"\ - : 9,\n \"w\": 12,\n \"x\": 12,\n\ - \ \"y\": 11\n },\n \ - \ \"id\": 7,\n \"interval\": null,\n \"\ - legend\": {\n \"percentage\": true,\n \ - \ \"percentageDecimals\": null,\n \"show\": true,\n\ - \ \"values\": true\n },\n \ - \ \"legendType\": \"Right side\",\n \"maxDataPoints\"\ - : 3,\n \"nullPointMode\": \"connected\",\n \ - \ \"pieType\": \"donut\",\n \"targets\": [\n \ - \ {\n \"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\",\n \"\ - format\": \"time_series\",\n \"instant\": null,\n \ - \ \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"refId\": \"\ - A\"\n }\n ],\n \"\ - title\": \"Average Rate of Bytes Transmitted\",\n \"type\"\ - : \"grafana-piechart-panel\",\n \"valueName\": \"current\"\n\ - \ }\n ],\n \"repeat\": null,\n \ - \ \"repeatIteration\": null,\n \"repeatRowId\": null,\n \ - \ \"showTitle\": true,\n \"title\": \"Average Bandwidth\",\n \ - \ \"titleSize\": \"h6\",\n \"type\": \"row\"\n },\n \ - \ {\n \"collapse\": false,\n \"collapsed\": false,\n\ - \ \"gridPos\": {\n \"h\": 1,\n \"w\"\ - : 24,\n \"x\": 0,\n \"y\": 11\n },\n\ - \ \"id\": 8,\n \"panels\": [\n\n ],\n \ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \"\ - repeatRowId\": null,\n \"showTitle\": true,\n \"title\"\ - : \"Bandwidth HIstory\",\n \"titleSize\": \"h6\",\n \"type\"\ - : \"row\"\n },\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 2,\n \"gridPos\": {\n \"h\": 9,\n\ - \ \"w\": 12,\n \"x\": 0,\n \"y\"\ - : 12\n },\n \"id\": 9,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n \ - \ \"current\": false,\n \"hideEmpty\": true,\n \ - \ \"hideZero\": true,\n \"max\": false,\n \ - \ \"min\": false,\n \"rightSide\": false,\n \"\ - show\": true,\n \"total\": false,\n \"values\":\ - \ false\n },\n \"lines\": true,\n \"linewidth\"\ - : 2,\n \"links\": [\n\n ],\n \"minSpan\": 12,\n\ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n \"\ - repeat\": null,\n \"seriesOverrides\": [\n\n ],\n \ - \ \"spaceLength\": 10,\n \"span\": 12,\n \"stack\"\ - : true,\n \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"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\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"refId\": \"A\",\n\ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Receive Bandwidth\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \"label\"\ - : null,\n \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \"bars\"\ - : false,\n \"dashLength\": 10,\n \"dashes\": false,\n \ - \ \"datasource\": \"$datasource\",\n \"fill\": 2,\n \ - \ \"gridPos\": {\n \"h\": 9,\n \"w\": 12,\n\ - \ \"x\": 12,\n \"y\": 12\n },\n \ - \ \"id\": 10,\n \"legend\": {\n \"alignAsTable\"\ - : false,\n \"avg\": false,\n \"current\": false,\n\ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n },\n \ - \ \"lines\": true,\n \"linewidth\": 2,\n \"links\"\ - : [\n\n ],\n \"minSpan\": 12,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \"percentage\"\ - : false,\n \"pointradius\": 5,\n \"points\": false,\n \ - \ \"renderer\": \"flot\",\n \"repeat\": null,\n \ - \ \"seriesOverrides\": [\n\n ],\n \"spaceLength\": 10,\n\ - \ \"span\": 12,\n \"stack\": true,\n \"steppedLine\"\ - : false,\n \"targets\": [\n {\n \"\ - 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\",\n \"format\"\ - : \"time_series\",\n \"intervalFactor\": 1,\n \ - \ \"legendFormat\": \"{{pod}}\",\n \"refId\": \"A\",\n\ - \ \"step\": 10\n }\n ],\n \ - \ \"thresholds\": [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Transmit Bandwidth\"\ - ,\n \"tooltip\": {\n \"shared\": true,\n \ - \ \"sort\": 2,\n \"value_type\": \"individual\"\n \ - \ },\n \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\",\n \ - \ \"name\": null,\n \"show\": true,\n \"values\"\ - : [\n\n ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"Bps\",\n \"label\"\ - : null,\n \"logBase\": 1,\n \"max\": null,\n\ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\": \"Bps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\": 0,\n \ - \ \"show\": true\n }\n ]\n },\n \ - \ {\n \"collapse\": true,\n \"collapsed\": true,\n \ - \ \"gridPos\": {\n \"h\": 1,\n \"w\": 24,\n\ - \ \"x\": 0,\n \"y\": 21\n },\n \ - \ \"id\": 11,\n \"panels\": [\n {\n \ - \ \"aliasColors\": {\n\n },\n \"\ - bars\": false,\n \"dashLength\": 10,\n \"\ - dashes\": false,\n \"datasource\": \"$datasource\",\n \ - \ \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 22\n },\n\ - \ \"id\": 12,\n \"legend\": {\n \ - \ \"alignAsTable\": false,\n \"avg\": false,\n\ - \ \"current\": false,\n \"hideEmpty\"\ - : true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n \ - \ \"rightSide\": false,\n \"show\": true,\n \ - \ \"total\": false,\n \"values\": false\n\ - \ },\n \"lines\": true,\n \ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \"nullPointMode\"\ - : \"connected\",\n \"paceLength\": 10,\n \ - \ \"percentage\": false,\n \"pointradius\": 5,\n \ - \ \"points\": false,\n \"renderer\": \"flot\",\n\ - \ \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_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\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n\ - \ \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n \ - \ \"bars\": false,\n \"dashLength\": 10,\n \ - \ \"dashes\": false,\n \"datasource\": \"$datasource\"\ - ,\n \"fill\": 2,\n \"gridPos\": {\n \ - \ \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 22\n \ - \ },\n \"id\": 13,\n \"legend\": {\n\ - \ \"alignAsTable\": false,\n \"\ - avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n \ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_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\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n\ - \ \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\": \"time\"\ - ,\n \"name\": null,\n \"show\":\ - \ true,\n \"values\": [\n\n ]\n\ - \ },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\": 1,\n \ - \ \"max\": null,\n \"min\"\ - : 0,\n \"show\": true\n },\n\ - \ {\n \"format\": \"pps\",\n\ - \ \"label\": null,\n \"\ - logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ }\n ]\n }\n ],\n\ - \ \"repeat\": null,\n \"repeatIteration\": null,\n \ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Packets\",\n \"titleSize\": \"h6\",\n \"\ - type\": \"row\"\n },\n {\n \"collapse\": true,\n \ - \ \"collapsed\": true,\n \"gridPos\": {\n \"\ - h\": 1,\n \"w\": 24,\n \"x\": 0,\n \ - \ \"y\": 22\n },\n \"id\": 14,\n \"panels\"\ - : [\n {\n \"aliasColors\": {\n\n \ - \ },\n \"bars\": false,\n \"dashLength\"\ - : 10,\n \"dashes\": false,\n \"datasource\"\ - : \"$datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 0,\n \"y\": 23\n \ - \ },\n \"id\": 15,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_receive_packets_dropped_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\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n\ - \ \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Received Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n \ - \ \"type\": \"graph\",\n \"xaxis\": {\n \ - \ \"buckets\": null,\n \"mode\":\ - \ \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n },\n \ - \ {\n \"aliasColors\": {\n\n },\n\ - \ \"bars\": false,\n \"dashLength\": 10,\n\ - \ \"dashes\": false,\n \"datasource\": \"\ - $datasource\",\n \"fill\": 2,\n \"gridPos\"\ - : {\n \"h\": 9,\n \"w\": 12,\n \ - \ \"x\": 12,\n \"y\": 23\n \ - \ },\n \"id\": 16,\n \"legend\"\ - : {\n \"alignAsTable\": false,\n \ - \ \"avg\": false,\n \"current\": false,\n \ - \ \"hideEmpty\": true,\n \"hideZero\": true,\n\ - \ \"max\": false,\n \"min\": false,\n\ - \ \"rightSide\": false,\n \"show\"\ - : true,\n \"total\": false,\n \"\ - values\": false\n },\n \"lines\": true,\n\ - \ \"linewidth\": 2,\n \"links\": [\n\n \ - \ ],\n \"minSpan\": 12,\n \ - \ \"nullPointMode\": \"connected\",\n \"paceLength\": 10,\n\ - \ \"percentage\": false,\n \"pointradius\"\ - : 5,\n \"points\": false,\n \"renderer\"\ - : \"flot\",\n \"repeat\": null,\n \"seriesOverrides\"\ - : [\n\n ],\n \"spaceLength\": 10,\n \ - \ \"span\": 12,\n \"stack\": true,\n \ - \ \"steppedLine\": false,\n \"targets\": [\n \ - \ {\n \"expr\": \"sort_desc(sum(irate(container_network_transmit_packets_dropped_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\",\n \"\ - format\": \"time_series\",\n \"intervalFactor\": 1,\n\ - \ \"legendFormat\": \"{{pod}}\",\n \ - \ \"refId\": \"A\",\n \"step\": 10\n \ - \ }\n ],\n \"thresholds\"\ - : [\n\n ],\n \"timeFrom\": null,\n \ - \ \"timeShift\": null,\n \"title\": \"Rate of\ - \ Transmitted Packets Dropped\",\n \"tooltip\": {\n \ - \ \"shared\": true,\n \"sort\": 2,\n \ - \ \"value_type\": \"individual\"\n },\n\ - \ \"type\": \"graph\",\n \"xaxis\": {\n\ - \ \"buckets\": null,\n \"mode\"\ - : \"time\",\n \"name\": null,\n \ - \ \"show\": true,\n \"values\": [\n\n \ - \ ]\n },\n \"yaxes\": [\n \ - \ {\n \"format\": \"pps\",\n \ - \ \"label\": null,\n \"logBase\"\ - : 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n \ - \ },\n {\n \"format\":\ - \ \"pps\",\n \"label\": null,\n \ - \ \"logBase\": 1,\n \"max\": null,\n \ - \ \"min\": 0,\n \"show\": true\n\ - \ }\n ]\n }\n \ - \ ],\n \"repeat\": null,\n \"repeatIteration\": null,\n\ - \ \"repeatRowId\": null,\n \"showTitle\": true,\n \ - \ \"title\": \"Errors\",\n \"titleSize\": \"h6\",\n \ - \ \"type\": \"row\"\n }\n ],\n \"refresh\": \"30s\",\n \"rows\"\ - : [\n\n ],\n \"schemaVersion\": 18,\n \"style\": \"dark\",\n \"tags\"\ - : [\n \"kubernetes-mixin\"\n ],\n \"templating\": {\n \"list\"\ - : [\n {\n \"current\": {\n \"text\"\ - : \"Prometheus\",\n \"value\": \"Prometheus\"\n \ - \ },\n \"hide\": 0,\n \"label\": null,\n \ - \ \"name\": \"datasource\",\n \"options\": [],\n \ - \ \"query\": \"prometheus\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"type\": \"datasource\"\n \ - \ },\n {\n \"allValue\": \".+\",\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"kube-system\",\n \"value\": \"kube-system\"\ - \n },\n \"datasource\": \"$datasource\",\n \ - \ \"definition\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"hide\": 0,\n \"includeAll\"\ - : true,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"namespace\",\n \"options\": [\n\n\ - \ ],\n \"query\": \"label_values(container_network_receive_packets_total,\ - \ namespace)\",\n \"refresh\": 1,\n \"regex\": \"\ - \",\n \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"query\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n \ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"\",\n \ - \ \"value\": \"\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"definition\": \"label_values(mixin_pod_workload{namespace=~\\\ - \"$namespace\\\"}, workload)\",\n \"hide\": 0,\n \ - \ \"includeAll\": false,\n \"label\": null,\n \"\ - multi\": false,\n \"name\": \"workload\",\n \"options\"\ - : [\n\n ],\n \"query\": \"label_values(mixin_pod_workload{namespace=~\\\ - \"$namespace\\\"}, workload)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 1,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n \ - \ \"type\": \"query\",\n \"useTags\": false\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \"\ - auto_min\": \"10s\",\n \"current\": {\n \"text\"\ - : \"deployment\",\n \"value\": \"deployment\"\n \ - \ },\n \"datasource\": \"$datasource\",\n \"\ - definition\": \"label_values(mixin_pod_workload{namespace=~\\\"$namespace\\\"\ - , workload=~\\\"$workload\\\"}, workload_type)\",\n \"hide\": 0,\n\ - \ \"includeAll\": false,\n \"label\": null,\n \ - \ \"multi\": false,\n \"name\": \"type\",\n \ - \ \"options\": [\n\n ],\n \"query\": \"\ - label_values(mixin_pod_workload{namespace=~\\\"$namespace\\\", workload=~\\\"\ - $workload\\\"}, workload_type)\",\n \"refresh\": 1,\n \ - \ \"regex\": \"\",\n \"skipUrlSync\": false,\n \ - \ \"sort\": 0,\n \"tagValuesQuery\": \"\",\n \ - \ \"tags\": [\n\n ],\n \"tagsQuery\": \"\",\n\ - \ \"type\": \"query\",\n \"useTags\": false\n \ - \ },\n {\n \"allValue\": null,\n \ - \ \"auto\": false,\n \"auto_count\": 30,\n \ - \ \"auto_min\": \"10s\",\n \"current\": {\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n },\n\ - \ \"datasource\": \"$datasource\",\n \"hide\": 0,\n\ - \ \"includeAll\": false,\n \"label\": null,\n \ - \ \"multi\": false,\n \"name\": \"resolution\",\n\ - \ \"options\": [\n {\n \ - \ \"selected\": false,\n \"text\": \"30s\",\n \ - \ \"value\": \"30s\"\n },\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"5m\",\n \"value\": \"5m\"\n \ - \ },\n {\n \"selected\": false,\n\ - \ \"text\": \"1h\",\n \"value\"\ - : \"1h\"\n }\n ],\n \"query\"\ - : \"30s,5m,1h\",\n \"refresh\": 2,\n \"regex\":\ - \ \"\",\n \"skipUrlSync\": false,\n \"sort\": 1,\n\ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n \ - \ ],\n \"tagsQuery\": \"\",\n \"type\"\ - : \"interval\",\n \"useTags\": false\n },\n \ - \ {\n \"allValue\": null,\n \"auto\": false,\n\ - \ \"auto_count\": 30,\n \"auto_min\": \"10s\",\n\ - \ \"current\": {\n \"text\": \"5m\",\n \ - \ \"value\": \"5m\"\n },\n \"datasource\"\ - : \"$datasource\",\n \"hide\": 2,\n \"includeAll\"\ - : false,\n \"label\": null,\n \"multi\": false,\n\ - \ \"name\": \"interval\",\n \"options\": [\n \ - \ {\n \"selected\": true,\n \ - \ \"text\": \"4h\",\n \"value\": \"4h\"\n \ - \ }\n ],\n \"query\": \"4h\",\n\ - \ \"refresh\": 2,\n \"regex\": \"\",\n \ - \ \"skipUrlSync\": false,\n \"sort\": 1,\n \ - \ \"tagValuesQuery\": \"\",\n \"tags\": [\n\n ],\n\ - \ \"tagsQuery\": \"\",\n \"type\": \"interval\"\ - ,\n \"useTags\": false\n }\n ]\n },\n \"\ - time\": {\n \"from\": \"now-1h\",\n \"to\": \"now\"\n },\n \ - \ \"timepicker\": {\n \"refresh_intervals\": [\n \"5s\",\n\ - \ \"10s\",\n \"30s\",\n \"1m\",\n \ - \ \"5m\",\n \"15m\",\n \"30m\",\n \"1h\",\n \ - \ \"2h\",\n \"1d\"\n ],\n \"time_options\"\ - : [\n \"5m\",\n \"15m\",\n \"1h\",\n \ - \ \"6h\",\n \"12h\",\n \"24h\",\n \"2d\",\n\ - \ \"7d\",\n \"30d\"\n ]\n },\n \"timezone\"\ - : \"\",\n \"title\": \"Kubernetes / Networking / Workload\",\n \"uid\":\ - \ \"728bf77cc1166d2f3133bf25846876cc\",\n \"version\": 0\n}" + workload-total.json: |- + { + "__inputs": [ + ], + "__requires": [ + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": null, + "links": [ + ], + "panels": [ + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 2, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Current Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 3, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 4, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Current Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 5, + "panels": [ + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 11 + }, + "id": 6, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Average Rate of Bytes Received", + "type": "grafana-piechart-panel", + "valueName": "current" + }, + { + "aliasColors": { + }, + "breakpoint": "50%", + "cacheTimeout": null, + "combine": { + "label": "Others", + "threshold": 0 + }, + "datasource": "$datasource", + "fontSize": "80%", + "format": "Bps", + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 7, + "interval": null, + "legend": { + "percentage": true, + "percentageDecimals": null, + "show": true, + "values": true + }, + "legendType": "Right side", + "maxDataPoints": 3, + "nullPointMode": "connected", + "pieType": "donut", + "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" + } + ], + "title": "Average Rate of Bytes Transmitted", + "type": "grafana-piechart-panel", + "valueName": "current" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Average Bandwidth", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": false, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 8, + "panels": [ + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Bandwidth HIstory", + "titleSize": "h6", + "type": "row" + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 12 + }, + "id": 9, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Receive Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 12 + }, + "id": 10, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Transmit Bandwidth", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "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, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 11, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 22 + }, + "id": 12, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 22 + }, + "id": 13, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Packets", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 22 + }, + "id": 14, + "panels": [ + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 23 + }, + "id": 15, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_receive_packets_dropped_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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Received Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + }, + { + "aliasColors": { + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 2, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 23 + }, + "id": 16, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [ + ], + "minSpan": 12, + "nullPointMode": "connected", + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ + ], + "spaceLength": 10, + "span": 12, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sort_desc(sum(irate(container_network_transmit_packets_dropped_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", + "intervalFactor": 1, + "legendFormat": "{{pod}}", + "refId": "A", + "step": 10 + } + ], + "thresholds": [ + ], + "timeFrom": null, + "timeShift": null, + "title": "Rate of Transmitted Packets Dropped", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ + ] + }, + "yaxes": [ + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": 0, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Errors", + "titleSize": "h6", + "type": "row" + } + ], + "refresh": "30s", + "rows": [ + ], + "schemaVersion": 18, + "style": "dark", + "tags": [ + "kubernetes-mixin" + ], + "templating": { + "list": [ + { + "current": { + "text": "Prometheus", + "value": "Prometheus" + }, + "hide": 0, + "label": null, + "name": "datasource", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "allValue": ".+", + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "kube-system", + "value": "kube-system" + }, + "datasource": "$datasource", + "definition": "label_values(container_network_receive_packets_total, namespace)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "namespace", + "options": [ + ], + "query": "label_values(container_network_receive_packets_total, namespace)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "", + "value": "" + }, + "datasource": "$datasource", + "definition": "label_values(mixin_pod_workload{namespace=~\"$namespace\"}, workload)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "workload", + "options": [ + ], + "query": "label_values(mixin_pod_workload{namespace=~\"$namespace\"}, workload)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "deployment", + "value": "deployment" + }, + "datasource": "$datasource", + "definition": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\"}, workload_type)", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "type", + "options": [ + ], + "query": "label_values(mixin_pod_workload{namespace=~\"$namespace\", workload=~\"$workload\"}, workload_type)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "resolution", + "options": [ + { + "selected": false, + "text": "30s", + "value": "30s" + }, + { + "selected": true, + "text": "5m", + "value": "5m" + }, + { + "selected": false, + "text": "1h", + "value": "1h" + } + ], + "query": "30s,5m,1h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + }, + { + "allValue": null, + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "5m", + "value": "5m" + }, + "datasource": "$datasource", + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "interval", + "options": [ + { + "selected": true, + "text": "4h", + "value": "4h" + } + ], + "query": "4h", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [ + ], + "tagsQuery": "", + "type": "interval", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Kubernetes / Networking / Workload", + "uid": "728bf77cc1166d2f3133bf25846876cc", + "version": 0 + } kind: ConfigMap metadata: labels: @@ -17665,11 +33261,9 @@ spec: ConfigMaps properties: configMapRef: - description: 'ConfigMapEnvSource selects a ConfigMap to - populate the environment variables with. - - The contents of the target ConfigMap''s Data field will - represent the key-value pairs as environment variables.' + description: |- + ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. + The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' @@ -17682,11 +33276,9 @@ spec: in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: - description: 'SecretEnvSource selects a Secret to populate - the environment variables with. - - The contents of the target Secret''s Data field will represent - the key-value pairs as environment variables.' + description: |- + SecretEnvSource selects a Secret to populate the environment variables with. + The contents of the target Secret's Data field will represent the key-value pairs as environment variables. properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' @@ -18389,23 +33981,10 @@ spec: type: string type: array generateName: - description: 'GenerateName is an optional prefix, used by the server, - to generate a unique name ONLY IF the Name field has not been - provided. If this field is used, the name returned to the client - will be different than the name passed. This value will also be - combined with a unique suffix. The provided value has the same - validation rules as the Name field, and may be truncated by the - length of the suffix required to make the value unique on the - server. - - If this field is specified and the generated name exists, the - server will NOT return a 409 - instead, it will either return - 201 Created or 500 with Reason ServerTimeout indicating a unique - name could not be found in the time allotted, and the client should - retry (optionally after the time indicated in the Retry-After - header). - - Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency' + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency type: string generation: description: A sequence number representing a specific generation @@ -18466,16 +34045,11 @@ spec: multiple errors are encountered. properties: field: - description: "The field of the resource that has\ - \ caused this error, as named by its JSON serialization.\ - \ May include dot and postfix notation for nested\ - \ attributes. Arrays are zero-indexed. Fields\ - \ may appear more than once in an array of causes\ - \ due to fields having multiple errors. Optional.\n\ - Examples:\n \"name\" - the field \"name\" on\ - \ the current resource\n \"items[0].name\"\ - \ - the field \"name\" on the first array entry\ - \ in \"items\"" + description: |- + The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. + Examples: + "name" - the field "name" on the current resource + "items[0].name" - the field "name" on the first array entry in "items" type: string message: description: A human-readable description of the @@ -18583,13 +34157,9 @@ spec: definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string namespace: - description: 'Namespace defines the space within each name must - be unique. An empty namespace is equivalent to the "default" namespace, - but "default" is the canonical representation. Not all objects - are required to be scoped to a namespace - the value of this field - for those objects will be empty. - - Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' + description: |- + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: description: List of objects depended by this object. If ALL objects @@ -18633,27 +34203,18 @@ spec: - uid type: array resourceVersion: - description: 'An opaque value that represents the internal version - of this object that can be used by clients to determine when objects - have changed. May be used for optimistic concurrency, change detection, - and the watch operation on a resource or set of resources. Clients - must treat these values as opaque and passed unmodified back to - the server. They may only be valid for a particular resource or - set of resources. - - Populated by the system. Read-only. Value must be treated as opaque - by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' + description: |- + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency type: string selfLink: description: SelfLink is a URL representing this object. Populated by the system. Read-only. type: string uid: - description: 'UID is the unique in time and space value for this - object. It is typically generated by the server on successful - creation of a resource and is not allowed to change on PUT operations. - - Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids type: string priorityClassName: description: Priority class assigned to the Pods @@ -18703,16 +34264,10 @@ spec: of PodSecurityContext. properties: fsGroup: - description: 'A special supplemental group that applies to all containers - in a pod. Some volume types allow the Kubelet to change the ownership - of that volume to be owned by the pod: - - 1. The owning GID will be the FSGroup 2. The setgid bit is set - (new files created in the volume will be owned by FSGroup) 3. - The permission bits are OR''d with rw-rw---- - - If unset, the Kubelet will not modify the ownership and permissions - of any volume.' + description: |- + A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: + 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- + If unset, the Kubelet will not modify the ownership and permissions of any volume. format: int64 type: integer runAsGroup: @@ -18875,24 +34430,10 @@ spec: type: string type: array generateName: - description: 'GenerateName is an optional prefix, used by - the server, to generate a unique name ONLY IF the Name - field has not been provided. If this field is used, the - name returned to the client will be different than the - name passed. This value will also be combined with a unique - suffix. The provided value has the same validation rules - as the Name field, and may be truncated by the length - of the suffix required to make the value unique on the - server. - - If this field is specified and the generated name exists, - the server will NOT return a 409 - instead, it will either - return 201 Created or 500 with Reason ServerTimeout indicating - a unique name could not be found in the time allotted, - and the client should retry (optionally after the time - indicated in the Retry-After header). - - Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency' + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency type: string generation: description: A sequence number representing a specific generation @@ -18957,18 +34498,11 @@ spec: when multiple errors are encountered. properties: field: - description: "The field of the resource\ - \ that has caused this error, as named\ - \ by its JSON serialization. May include\ - \ dot and postfix notation for nested\ - \ attributes. Arrays are zero-indexed.\ - \ Fields may appear more than once\ - \ in an array of causes due to fields\ - \ having multiple errors. Optional.\n\ - Examples:\n \"name\" - the field \"\ - name\" on the current resource\n \"\ - items[0].name\" - the field \"name\"\ - \ on the first array entry in \"items\"" + description: |- + The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. + Examples: + "name" - the field "name" on the current resource + "items[0].name" - the field "name" on the first array entry in "items" type: string message: description: A human-readable description @@ -19084,13 +34618,9 @@ spec: More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string namespace: - description: 'Namespace defines the space within each name - must be unique. An empty namespace is equivalent to the - "default" namespace, but "default" is the canonical representation. - Not all objects are required to be scoped to a namespace - - the value of this field for those objects will be empty. - - Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' + description: |- + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: description: List of objects depended by this object. If @@ -19136,29 +34666,18 @@ spec: - uid type: array resourceVersion: - description: 'An opaque value that represents the internal - version of this object that can be used by clients to - determine when objects have changed. May be used for optimistic - concurrency, change detection, and the watch operation - on a resource or set of resources. Clients must treat - these values as opaque and passed unmodified back to the - server. They may only be valid for a particular resource - or set of resources. - - Populated by the system. Read-only. Value must be treated - as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' + description: |- + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency type: string selfLink: description: SelfLink is a URL representing this object. Populated by the system. Read-only. type: string uid: - description: 'UID is the unique in time and space value - for this object. It is typically generated by the server - on successful creation of a resource and is not allowed - to change on PUT operations. - - Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids type: string spec: description: PersistentVolumeClaimSpec describes the common @@ -20612,12 +36131,9 @@ spec: ConfigMaps properties: configMapRef: - description: 'ConfigMapEnvSource selects a ConfigMap to - populate the environment variables with. - - - The contents of the target ConfigMap''s Data field will - represent the key-value pairs as environment variables.' + description: |- + ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. + The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' @@ -20631,12 +36147,9 @@ spec: in the ConfigMap. Must be a C_IDENTIFIER. type: string secretRef: - description: 'SecretEnvSource selects a Secret to populate - the environment variables with. - - - The contents of the target Secret''s Data field will represent - the key-value pairs as environment variables.' + description: |- + SecretEnvSource selects a Secret to populate the environment variables with. + The contents of the target Secret's Data field will represent the key-value pairs as environment variables. properties: name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' @@ -21396,25 +36909,10 @@ spec: type: string type: array generateName: - description: 'GenerateName is an optional prefix, used by the server, - to generate a unique name ONLY IF the Name field has not been - provided. If this field is used, the name returned to the client - will be different than the name passed. This value will also be - combined with a unique suffix. The provided value has the same - validation rules as the Name field, and may be truncated by the - length of the suffix required to make the value unique on the - server. - - - If this field is specified and the generated name exists, the - server will NOT return a 409 - instead, it will either return - 201 Created or 500 with Reason ServerTimeout indicating a unique - name could not be found in the time allotted, and the client should - retry (optionally after the time indicated in the Retry-After - header). - - - Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency' + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency type: string generation: description: A sequence number representing a specific generation @@ -21476,16 +36974,11 @@ spec: multiple errors are encountered. properties: field: - description: "The field of the resource that has\ - \ caused this error, as named by its JSON serialization.\ - \ May include dot and postfix notation for nested\ - \ attributes. Arrays are zero-indexed. Fields\ - \ may appear more than once in an array of causes\ - \ due to fields having multiple errors. Optional.\n\ - \nExamples:\n \"name\" - the field \"name\"\ - \ on the current resource\n \"items[0].name\"\ - \ - the field \"name\" on the first array entry\ - \ in \"items\"" + description: |- + The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. + Examples: + "name" - the field "name" on the current resource + "items[0].name" - the field "name" on the first array entry in "items" type: string message: description: A human-readable description of the @@ -21591,16 +37084,9 @@ spec: http://kubernetes.io/docs/user-guide/labels' type: object managedFields: - description: 'ManagedFields maps workflow-id and version to the - set of fields that are managed by that workflow. This is mostly - for internal housekeeping, and users typically shouldn''t need - to set or understand this field. A workflow can be the user''s - name, a controller''s name, or the name of a specific apply path - like "ci-cd". The set of fields is always in the version that - the workflow used when modifying the object. - - - This field is alpha and can be changed or removed without notice.' + description: |- + ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. + This field is alpha and can be changed or removed without notice. items: description: ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies @@ -21642,14 +37128,9 @@ spec: definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string namespace: - description: 'Namespace defines the space within each name must - be unique. An empty namespace is equivalent to the "default" namespace, - but "default" is the canonical representation. Not all objects - are required to be scoped to a namespace - the value of this field - for those objects will be empty. - - - Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' + description: |- + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: description: List of objects depended by this object. If ALL objects @@ -21694,29 +37175,18 @@ spec: type: object type: array resourceVersion: - description: 'An opaque value that represents the internal version - of this object that can be used by clients to determine when objects - have changed. May be used for optimistic concurrency, change detection, - and the watch operation on a resource or set of resources. Clients - must treat these values as opaque and passed unmodified back to - the server. They may only be valid for a particular resource or - set of resources. - - - Populated by the system. Read-only. Value must be treated as opaque - by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' + description: |- + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency type: string selfLink: description: SelfLink is a URL representing this object. Populated by the system. Read-only. type: string uid: - description: 'UID is the unique in time and space value for this - object. It is typically generated by the server on successful - creation of a resource and is not allowed to change on PUT operations. - - - Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids type: string type: object podMonitorNamespaceSelector: @@ -22265,18 +37735,10 @@ spec: of PodSecurityContext. properties: fsGroup: - description: 'A special supplemental group that applies to all containers - in a pod. Some volume types allow the Kubelet to change the ownership - of that volume to be owned by the pod: - - - 1. The owning GID will be the FSGroup 2. The setgid bit is set - (new files created in the volume will be owned by FSGroup) 3. - The permission bits are OR''d with rw-rw---- - - - If unset, the Kubelet will not modify the ownership and permissions - of any volume.' + description: |- + A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: + 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- + If unset, the Kubelet will not modify the ownership and permissions of any volume. format: int64 type: integer runAsGroup: @@ -22531,26 +37993,10 @@ spec: type: string type: array generateName: - description: 'GenerateName is an optional prefix, used by - the server, to generate a unique name ONLY IF the Name - field has not been provided. If this field is used, the - name returned to the client will be different than the - name passed. This value will also be combined with a unique - suffix. The provided value has the same validation rules - as the Name field, and may be truncated by the length - of the suffix required to make the value unique on the - server. - - - If this field is specified and the generated name exists, - the server will NOT return a 409 - instead, it will either - return 201 Created or 500 with Reason ServerTimeout indicating - a unique name could not be found in the time allotted, - and the client should retry (optionally after the time - indicated in the Retry-After header). - - - Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency' + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency type: string generation: description: A sequence number representing a specific generation @@ -22616,19 +38062,11 @@ spec: when multiple errors are encountered. properties: field: - description: "The field of the resource\ - \ that has caused this error, as named\ - \ by its JSON serialization. May include\ - \ dot and postfix notation for nested\ - \ attributes. Arrays are zero-indexed.\ - \ Fields may appear more than once\ - \ in an array of causes due to fields\ - \ having multiple errors. Optional.\n\ - \nExamples:\n \"name\" - the field\ - \ \"name\" on the current resource\n\ - \ \"items[0].name\" - the field \"\ - name\" on the first array entry in \"\ - items\"" + description: |- + The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. + Examples: + "name" - the field "name" on the current resource + "items[0].name" - the field "name" on the first array entry in "items" type: string message: description: A human-readable description @@ -22741,18 +38179,9 @@ spec: More info: http://kubernetes.io/docs/user-guide/labels' type: object managedFields: - description: 'ManagedFields maps workflow-id and version - to the set of fields that are managed by that workflow. - This is mostly for internal housekeeping, and users typically - shouldn''t need to set or understand this field. A workflow - can be the user''s name, a controller''s name, or the - name of a specific apply path like "ci-cd". The set of - fields is always in the version that the workflow used - when modifying the object. - - - This field is alpha and can be changed or removed without - notice.' + description: |- + ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. + This field is alpha and can be changed or removed without notice. items: description: ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset @@ -22798,14 +38227,9 @@ spec: More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string namespace: - description: 'Namespace defines the space within each name - must be unique. An empty namespace is equivalent to the - "default" namespace, but "default" is the canonical representation. - Not all objects are required to be scoped to a namespace - - the value of this field for those objects will be empty. - - - Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' + description: |- + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: description: List of objects depended by this object. If @@ -22852,31 +38276,18 @@ spec: type: object type: array resourceVersion: - description: 'An opaque value that represents the internal - version of this object that can be used by clients to - determine when objects have changed. May be used for optimistic - concurrency, change detection, and the watch operation - on a resource or set of resources. Clients must treat - these values as opaque and passed unmodified back to the - server. They may only be valid for a particular resource - or set of resources. - - - Populated by the system. Read-only. Value must be treated - as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' + description: |- + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency type: string selfLink: description: SelfLink is a URL representing this object. Populated by the system. Read-only. type: string uid: - description: 'UID is the unique in time and space value - for this object. It is typically generated by the server - on successful creation of a resource and is not allowed - to change on PUT operations. - - - Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids type: string type: object spec: @@ -23277,23 +38688,10 @@ spec: type: string type: array generateName: - description: 'GenerateName is an optional prefix, used by the server, - to generate a unique name ONLY IF the Name field has not been provided. - If this field is used, the name returned to the client will be different - than the name passed. This value will also be combined with a unique - suffix. The provided value has the same validation rules as the Name - field, and may be truncated by the length of the suffix required to - make the value unique on the server. - - - If this field is specified and the generated name exists, the server - will NOT return a 409 - instead, it will either return 201 Created - or 500 with Reason ServerTimeout indicating a unique name could not - be found in the time allotted, and the client should retry (optionally - after the time indicated in the Retry-After header). - - - Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency' + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. + If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). + Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency type: string generation: description: A sequence number representing a specific generation of @@ -23355,15 +38753,11 @@ spec: errors are encountered. properties: field: - description: "The field of the resource that has caused\ - \ this error, as named by its JSON serialization.\ - \ May include dot and postfix notation for nested\ - \ attributes. Arrays are zero-indexed. Fields may\ - \ appear more than once in an array of causes due\ - \ to fields having multiple errors. Optional.\n\n\ - Examples:\n \"name\" - the field \"name\" on the\ - \ current resource\n \"items[0].name\" - the field\ - \ \"name\" on the first array entry in \"items\"" + description: |- + The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. + Examples: + "name" - the field "name" on the current resource + "items[0].name" - the field "name" on the first array entry in "items" type: string message: description: A human-readable description of the cause @@ -23465,16 +38859,9 @@ spec: replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' type: object managedFields: - description: 'ManagedFields maps workflow-id and version to the set - of fields that are managed by that workflow. This is mostly for internal - housekeeping, and users typically shouldn''t need to set or understand - this field. A workflow can be the user''s name, a controller''s name, - or the name of a specific apply path like "ci-cd". The set of fields - is always in the version that the workflow used when modifying the - object. - - - This field is alpha and can be changed or removed without notice.' + description: |- + ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object. + This field is alpha and can be changed or removed without notice. items: description: ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. @@ -23515,14 +38902,9 @@ spec: Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' type: string namespace: - description: 'Namespace defines the space within each name must be unique. - An empty namespace is equivalent to the "default" namespace, but "default" - is the canonical representation. Not all objects are required to be - scoped to a namespace - the value of this field for those objects - will be empty. - - - Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces' + description: |- + Namespace defines the space within each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty. + Must be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces type: string ownerReferences: description: List of objects depended by this object. If ALL objects @@ -23566,29 +38948,18 @@ spec: type: object type: array resourceVersion: - description: 'An opaque value that represents the internal version of - this object that can be used by clients to determine when objects - have changed. May be used for optimistic concurrency, change detection, - and the watch operation on a resource or set of resources. Clients - must treat these values as opaque and passed unmodified back to the - server. They may only be valid for a particular resource or set of - resources. - - - Populated by the system. Read-only. Value must be treated as opaque - by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency' + description: |- + An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. + Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency type: string selfLink: description: SelfLink is a URL representing this object. Populated by the system. Read-only. type: string uid: - description: 'UID is the unique in time and space value for this object. - It is typically generated by the server on successful creation of - a resource and is not allowed to change on PUT operations. - - - Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: |- + UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. + Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids type: string type: object spec: @@ -24948,8 +40319,7 @@ spec: - --web.listen-address=0.0.0.0:9100 - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/) - --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$ - image: '{%- endraw -%}{{ build_image_name("node-exporter", False) }}{%- raw - -%}:v0.18.1' + image: {% endraw -%}{{ build_image_name("node-exporter", False) }}{%- raw %}:v0.18.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -25007,7 +40377,7 @@ metadata: name: prometheus-operator-grafana namespace: metalk8s-monitoring spec: - replicas: 1 + replicas: {% endraw -%}{{ grafana.spec.deployment.replicas }}{%- raw %} selector: matchLabels: app: grafana @@ -25033,8 +40403,7 @@ spec: value: /tmp/dashboards - name: RESOURCE value: both - image: '{%- endraw -%}{{ build_image_name("k8s-sidecar", False) }}{%- raw - -%}:0.1.20' + image: {% endraw -%}{{ build_image_name("k8s-sidecar", False) }}{%- raw %}:0.1.20 imagePullPolicy: IfNotPresent name: grafana-sc-dashboard resources: {} @@ -25052,7 +40421,7 @@ spec: secretKeyRef: key: admin-password name: prometheus-operator-grafana - image: '{%- endraw -%}{{ build_image_name("grafana", False) }}{%- raw -%}:6.4.2' + image: {% endraw -%}{{ build_image_name("grafana", False) }}{%- raw %}:6.4.2 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 10 @@ -25097,8 +40466,7 @@ spec: value: /etc/grafana/provisioning/datasources - name: RESOURCE value: both - image: '{%- endraw -%}{{ build_image_name("k8s-sidecar", False) }}{%- raw - -%}:0.1.20' + image: {% endraw -%}{{ build_image_name("k8s-sidecar", False) }}{%- raw %}:0.1.20 imagePullPolicy: IfNotPresent name: grafana-sc-datasources resources: {} @@ -25180,8 +40548,7 @@ spec: - --collectors=services - --collectors=statefulsets - --collectors=storageclasses - image: '{%- endraw -%}{{ build_image_name("kube-state-metrics", False) }}{%- - raw -%}:v1.8.0' + image: {% endraw -%}{{ build_image_name("kube-state-metrics", False) }}{%- raw %}:v1.8.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -25248,14 +40615,11 @@ spec: - --kubelet-service=kube-system/prometheus-operator-kubelet - --logtostderr=true - --localhost=127.0.0.1 - - --prometheus-config-reloader={%- endraw -%}{{ build_image_name("prometheus-config-reloader", - False) }}{%- raw -%}:v0.34.0 - - --config-reloader-image={%- endraw -%}{{ build_image_name("configmap-reload", - False) }}{%- raw -%}:v0.0.1 + - --prometheus-config-reloader={% endraw -%}{{ build_image_name("prometheus-config-reloader", False) }}{%- raw %}:v0.34.0 + - --config-reloader-image={% endraw -%}{{ build_image_name("configmap-reload", False) }}{%- raw %}:v0.0.1 - --config-reloader-cpu=100m - --config-reloader-memory=25Mi - image: '{%- endraw -%}{{ build_image_name("prometheus-operator", False) }}{%- - raw -%}:v0.34.0' + image: {% endraw -%}{{ build_image_name("prometheus-operator", False) }}{%- raw %}:v0.34.0 imagePullPolicy: IfNotPresent name: prometheus-operator ports: @@ -25329,7 +40693,7 @@ spec: app: alertmanager topologyKey: kubernetes.io/hostname weight: 100 - baseImage: '{%- endraw -%}{{ build_image_name("alertmanager", False) }}{%- raw -%}' + baseImage: {% endraw -%}{{ build_image_name("alertmanager", False) }}{%- raw %} externalUrl: http://prometheus-operator-alertmanager.metalk8s-monitoring:9093 listenLocal: false logFormat: logfmt @@ -25337,7 +40701,7 @@ spec: nodeSelector: node-role.kubernetes.io/infra: '' paused: false - replicas: 1 + replicas: {% endraw -%}{{ alertmanager.spec.deployment.replicas }}{%- raw %} retention: 120h routePrefix: / securityContext: @@ -25396,7 +40760,7 @@ spec: namespace: metalk8s-monitoring pathPrefix: / port: web - baseImage: '{%- endraw -%}{{ build_image_name("prometheus", False) }}{%- raw -%}' + baseImage: {% endraw -%}{{ build_image_name("prometheus", False) }}{%- raw %} enableAdminAPI: false externalUrl: http://prometheus-operator-prometheus.metalk8s-monitoring:9090 listenLocal: false @@ -25409,7 +40773,7 @@ spec: podMonitorSelector: matchLabels: release: prometheus-operator - replicas: 1 + replicas: {% endraw -%}{{ prometheus.spec.deployment.replicas }}{%- raw %} retention: 10d routePrefix: / ruleNamespaceSelector: {} @@ -25487,10 +40851,10 @@ spec: - alert: AlertmanagerMembersInconsistent annotations: message: Alertmanager has not found all other members of the cluster. - expr: "alertmanager_cluster_members{job=\"prometheus-operator-alertmanager\"\ - ,namespace=\"metalk8s-monitoring\"}\n != on (service) GROUP_LEFT()\ncount\ - \ by (service) (alertmanager_cluster_members{job=\"prometheus-operator-alertmanager\"\ - ,namespace=\"metalk8s-monitoring\"})" + expr: |- + alertmanager_cluster_members{job="prometheus-operator-alertmanager",namespace="metalk8s-monitoring"} + != on (service) GROUP_LEFT() + count by (service) (alertmanager_cluster_members{job="prometheus-operator-alertmanager",namespace="metalk8s-monitoring"}) for: 5m labels: severity: critical @@ -25541,9 +40905,11 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": {{ $value }}% of requests for {{ $labels.grpc_method }} failed on etcd instance {{ $labels.instance }}.' - expr: "100 * sum(rate(grpc_server_handled_total{job=~\".*etcd.*\", grpc_code!=\"\ - OK\"}[5m])) BY (job, instance, grpc_service, grpc_method)\n /\nsum(rate(grpc_server_handled_total{job=~\"\ - .*etcd.*\"}[5m])) BY (job, instance, grpc_service, grpc_method)\n > 1" + expr: |- + 100 * sum(rate(grpc_server_handled_total{job=~".*etcd.*", grpc_code!="OK"}[5m])) BY (job, instance, grpc_service, grpc_method) + / + sum(rate(grpc_server_handled_total{job=~".*etcd.*"}[5m])) BY (job, instance, grpc_service, grpc_method) + > 1 for: 10m labels: severity: warning @@ -25551,9 +40917,11 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": {{ $value }}% of requests for {{ $labels.grpc_method }} failed on etcd instance {{ $labels.instance }}.' - expr: "100 * sum(rate(grpc_server_handled_total{job=~\".*etcd.*\", grpc_code!=\"\ - OK\"}[5m])) BY (job, instance, grpc_service, grpc_method)\n /\nsum(rate(grpc_server_handled_total{job=~\"\ - .*etcd.*\"}[5m])) BY (job, instance, grpc_service, grpc_method)\n > 5" + expr: |- + 100 * sum(rate(grpc_server_handled_total{job=~".*etcd.*", grpc_code!="OK"}[5m])) BY (job, instance, grpc_service, grpc_method) + / + sum(rate(grpc_server_handled_total{job=~".*etcd.*"}[5m])) BY (job, instance, grpc_service, grpc_method) + > 5 for: 5m labels: severity: critical @@ -25561,10 +40929,9 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": gRPC requests to {{ $labels.grpc_method }} are taking {{ $value }}s on etcd instance {{ $labels.instance }}.' - expr: 'histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{job=~".*etcd.*", - grpc_type="unary"}[5m])) by (job, instance, grpc_service, grpc_method, le)) - - > 0.15' + expr: |- + histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{job=~".*etcd.*", grpc_type="unary"}[5m])) by (job, instance, grpc_service, grpc_method, le)) + > 0.15 for: 10m labels: severity: critical @@ -25572,9 +40939,9 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": member communication with {{ $labels.To }} is taking {{ $value }}s on etcd instance {{ $labels.instance }}.' - expr: 'histogram_quantile(0.99, rate(etcd_network_peer_round_trip_time_seconds_bucket{job=~".*etcd.*"}[5m])) - - > 0.15' + expr: |- + histogram_quantile(0.99, rate(etcd_network_peer_round_trip_time_seconds_bucket{job=~".*etcd.*"}[5m])) + > 0.15 for: 10m labels: severity: warning @@ -25590,9 +40957,9 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": 99th percentile fync durations are {{ $value }}s on etcd instance {{ $labels.instance }}.' - expr: 'histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=~".*etcd.*"}[5m])) - - > 0.5' + expr: |- + histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket{job=~".*etcd.*"}[5m])) + > 0.5 for: 10m labels: severity: warning @@ -25600,9 +40967,9 @@ spec: annotations: message: 'etcd cluster "{{ $labels.job }}": 99th percentile commit durations {{ $value }}s on etcd instance {{ $labels.instance }}.' - expr: 'histogram_quantile(0.99, rate(etcd_disk_backend_commit_duration_seconds_bucket{job=~".*etcd.*"}[5m])) - - > 0.25' + expr: |- + histogram_quantile(0.99, rate(etcd_disk_backend_commit_duration_seconds_bucket{job=~".*etcd.*"}[5m])) + > 0.25 for: 10m labels: severity: warning @@ -25610,10 +40977,9 @@ spec: annotations: message: '{{ $value }}% of requests for {{ $labels.method }} failed on etcd instance {{ $labels.instance }}' - expr: 'sum(rate(etcd_http_failed_total{job=~".*etcd.*", code!="404"}[5m])) BY - (method) / sum(rate(etcd_http_received_total{job=~".*etcd.*"}[5m])) - - BY (method) > 0.01' + expr: |- + sum(rate(etcd_http_failed_total{job=~".*etcd.*", code!="404"}[5m])) BY (method) / sum(rate(etcd_http_received_total{job=~".*etcd.*"}[5m])) + BY (method) > 0.01 for: 10m labels: severity: warning @@ -25621,10 +40987,9 @@ spec: annotations: message: '{{ $value }}% of requests for {{ $labels.method }} failed on etcd instance {{ $labels.instance }}.' - expr: 'sum(rate(etcd_http_failed_total{job=~".*etcd.*", code!="404"}[5m])) BY - (method) / sum(rate(etcd_http_received_total{job=~".*etcd.*"}[5m])) - - BY (method) > 0.05' + expr: |- + sum(rate(etcd_http_failed_total{job=~".*etcd.*", code!="404"}[5m])) BY (method) / sum(rate(etcd_http_received_total{job=~".*etcd.*"}[5m])) + BY (method) > 0.05 for: 10m labels: severity: critical @@ -25632,9 +40997,9 @@ spec: annotations: message: etcd instance {{ $labels.instance }} HTTP requests to {{ $labels.method }} are slow. - expr: 'histogram_quantile(0.99, rate(etcd_http_successful_duration_seconds_bucket[5m])) - - > 0.15' + expr: |- + histogram_quantile(0.99, rate(etcd_http_successful_duration_seconds_bucket[5m])) + > 0.15 for: 10m labels: severity: warning @@ -25667,20 +41032,12 @@ spec: severity: warning - alert: Watchdog annotations: - message: 'This is an alert meant to ensure that the entire alerting pipeline - is functional. - + message: |- + This is an alert meant to ensure that the entire alerting pipeline is functional. This alert is always firing, therefore it should always be firing in Alertmanager - - and always fire against a receiver. There are integrations with various - notification - - mechanisms that send a notification when this alert is not firing. For example - the - + and always fire against a receiver. There are integrations with various notification + mechanisms that send a notification when this alert is not firing. For example the "DeadMansSnitch" integration in PagerDuty. - - ' expr: vector(1) labels: severity: none @@ -25705,58 +41062,74 @@ spec: - expr: sum(rate(container_cpu_usage_seconds_total{job="kubelet", image!="", container!="POD"}[5m])) by (namespace) record: namespace:container_cpu_usage_seconds_total:sum_rate - - expr: "sum by (namespace, pod, container) (\n rate(container_cpu_usage_seconds_total{job=\"\ - kubelet\", image!=\"\", container!=\"POD\"}[5m])\n) * on (namespace, pod)\ - \ group_left(node) max by(namespace, pod, node) (kube_pod_info)" + - expr: |- + sum by (namespace, pod, container) ( + rate(container_cpu_usage_seconds_total{job="kubelet", image!="", container!="POD"}[5m]) + ) * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info) record: node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate - - expr: 'container_memory_working_set_bytes{job="kubelet", image!=""} - - * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info)' + - expr: |- + container_memory_working_set_bytes{job="kubelet", image!=""} + * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info) record: node_namespace_pod_container:container_memory_working_set_bytes - - expr: 'container_memory_rss{job="kubelet", image!=""} - - * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info)' + - expr: |- + container_memory_rss{job="kubelet", image!=""} + * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info) record: node_namespace_pod_container:container_memory_rss - - expr: 'container_memory_cache{job="kubelet", image!=""} - - * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info)' + - expr: |- + container_memory_cache{job="kubelet", image!=""} + * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info) record: node_namespace_pod_container:container_memory_cache - - expr: 'container_memory_swap{job="kubelet", image!=""} - - * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info)' + - expr: |- + container_memory_swap{job="kubelet", image!=""} + * on (namespace, pod) group_left(node) max by(namespace, pod, node) (kube_pod_info) record: node_namespace_pod_container:container_memory_swap - expr: sum(container_memory_usage_bytes{job="kubelet", image!="", container!="POD"}) by (namespace) record: namespace:container_memory_usage_bytes:sum - - expr: "sum by (namespace, label_name) (\n sum(kube_pod_container_resource_requests_memory_bytes{job=\"\ - kube-state-metrics\"} * on (endpoint, instance, job, namespace, pod, service)\ - \ group_left(phase) (kube_pod_status_phase{phase=~\"Pending|Running\"} ==\ - \ 1)) by (namespace, pod)\n * on (namespace, pod)\n group_left(label_name)\ - \ kube_pod_labels{job=\"kube-state-metrics\"}\n)" + - expr: |- + sum by (namespace, label_name) ( + sum(kube_pod_container_resource_requests_memory_bytes{job="kube-state-metrics"} * on (endpoint, instance, job, namespace, pod, service) group_left(phase) (kube_pod_status_phase{phase=~"Pending|Running"} == 1)) by (namespace, pod) + * on (namespace, pod) + group_left(label_name) kube_pod_labels{job="kube-state-metrics"} + ) record: namespace:kube_pod_container_resource_requests_memory_bytes:sum - - expr: "sum by (namespace, label_name) (\n sum(kube_pod_container_resource_requests_cpu_cores{job=\"\ - kube-state-metrics\"} * on (endpoint, instance, job, namespace, pod, service)\ - \ group_left(phase) (kube_pod_status_phase{phase=~\"Pending|Running\"} ==\ - \ 1)) by (namespace, pod)\n * on (namespace, pod)\n group_left(label_name)\ - \ kube_pod_labels{job=\"kube-state-metrics\"}\n)" + - expr: |- + sum by (namespace, label_name) ( + sum(kube_pod_container_resource_requests_cpu_cores{job="kube-state-metrics"} * on (endpoint, instance, job, namespace, pod, service) group_left(phase) (kube_pod_status_phase{phase=~"Pending|Running"} == 1)) by (namespace, pod) + * on (namespace, pod) + group_left(label_name) kube_pod_labels{job="kube-state-metrics"} + ) record: namespace:kube_pod_container_resource_requests_cpu_cores:sum - - expr: "sum(\n label_replace(\n label_replace(\n kube_pod_owner{job=\"\ - kube-state-metrics\", owner_kind=\"ReplicaSet\"},\n \"replicaset\", \"\ - $1\", \"owner_name\", \"(.*)\"\n ) * on(replicaset, namespace) group_left(owner_name)\ - \ kube_replicaset_owner{job=\"kube-state-metrics\"},\n \"workload\", \"\ - $1\", \"owner_name\", \"(.*)\"\n )\n) by (namespace, workload, pod)" + - expr: |- + sum( + label_replace( + label_replace( + kube_pod_owner{job="kube-state-metrics", owner_kind="ReplicaSet"}, + "replicaset", "$1", "owner_name", "(.*)" + ) * on(replicaset, namespace) group_left(owner_name) kube_replicaset_owner{job="kube-state-metrics"}, + "workload", "$1", "owner_name", "(.*)" + ) + ) by (namespace, workload, pod) labels: workload_type: deployment record: mixin_pod_workload - - expr: "sum(\n label_replace(\n kube_pod_owner{job=\"kube-state-metrics\"\ - , owner_kind=\"DaemonSet\"},\n \"workload\", \"$1\", \"owner_name\", \"\ - (.*)\"\n )\n) by (namespace, workload, pod)" + - expr: |- + sum( + label_replace( + kube_pod_owner{job="kube-state-metrics", owner_kind="DaemonSet"}, + "workload", "$1", "owner_name", "(.*)" + ) + ) by (namespace, workload, pod) labels: workload_type: daemonset record: mixin_pod_workload - - expr: "sum(\n label_replace(\n kube_pod_owner{job=\"kube-state-metrics\"\ - , owner_kind=\"StatefulSet\"},\n \"workload\", \"$1\", \"owner_name\",\ - \ \"(.*)\"\n )\n) by (namespace, workload, pod)" + - expr: |- + sum( + label_replace( + kube_pod_owner{job="kube-state-metrics", owner_kind="StatefulSet"}, + "workload", "$1", "owner_name", "(.*)" + ) + ) by (namespace, workload, pod) labels: workload_type: statefulset record: mixin_pod_workload @@ -26031,8 +41404,10 @@ spec: }} does not match, this indicates that the Deployment has failed but has not been rolled back. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubedeploymentgenerationmismatch - expr: "kube_deployment_status_observed_generation{job=\"kube-state-metrics\"\ - }\n !=\nkube_deployment_metadata_generation{job=\"kube-state-metrics\"}" + expr: |- + kube_deployment_status_observed_generation{job="kube-state-metrics"} + != + kube_deployment_metadata_generation{job="kube-state-metrics"} for: 15m labels: severity: critical @@ -26041,8 +41416,10 @@ spec: message: Deployment {{ $labels.namespace }}/{{ $labels.deployment }} has not matched the expected number of replicas for longer than 15 minutes. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubedeploymentreplicasmismatch - expr: "kube_deployment_spec_replicas{job=\"kube-state-metrics\"}\n !=\nkube_deployment_status_replicas_available{job=\"\ - kube-state-metrics\"}" + expr: |- + kube_deployment_spec_replicas{job="kube-state-metrics"} + != + kube_deployment_status_replicas_available{job="kube-state-metrics"} for: 15m labels: severity: critical @@ -26051,8 +41428,10 @@ spec: message: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} has not matched the expected number of replicas for longer than 15 minutes. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubestatefulsetreplicasmismatch - expr: "kube_statefulset_status_replicas_ready{job=\"kube-state-metrics\"}\n\ - \ !=\nkube_statefulset_status_replicas{job=\"kube-state-metrics\"}" + expr: |- + kube_statefulset_status_replicas_ready{job="kube-state-metrics"} + != + kube_statefulset_status_replicas{job="kube-state-metrics"} for: 15m labels: severity: critical @@ -26062,8 +41441,10 @@ spec: }} does not match, this indicates that the StatefulSet has failed but has not been rolled back. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubestatefulsetgenerationmismatch - expr: "kube_statefulset_status_observed_generation{job=\"kube-state-metrics\"\ - }\n !=\nkube_statefulset_metadata_generation{job=\"kube-state-metrics\"}" + expr: |- + kube_statefulset_status_observed_generation{job="kube-state-metrics"} + != + kube_statefulset_metadata_generation{job="kube-state-metrics"} for: 15m labels: severity: critical @@ -26072,11 +41453,18 @@ spec: message: StatefulSet {{ $labels.namespace }}/{{ $labels.statefulset }} update has not been rolled out. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubestatefulsetupdatenotrolledout - expr: "max without (revision) (\n kube_statefulset_status_current_revision{job=\"\ - kube-state-metrics\"}\n unless\n kube_statefulset_status_update_revision{job=\"\ - kube-state-metrics\"}\n)\n *\n(\n kube_statefulset_replicas{job=\"kube-state-metrics\"\ - }\n !=\n kube_statefulset_status_replicas_updated{job=\"kube-state-metrics\"\ - }\n)" + expr: |- + max without (revision) ( + kube_statefulset_status_current_revision{job="kube-state-metrics"} + unless + kube_statefulset_status_update_revision{job="kube-state-metrics"} + ) + * + ( + kube_statefulset_replicas{job="kube-state-metrics"} + != + kube_statefulset_status_replicas_updated{job="kube-state-metrics"} + ) for: 15m labels: severity: critical @@ -26085,9 +41473,10 @@ spec: message: Only {{ $value | humanizePercentage }} of the desired Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are scheduled and ready. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubedaemonsetrolloutstuck - expr: "kube_daemonset_status_number_ready{job=\"kube-state-metrics\"}\n /\n\ - kube_daemonset_status_desired_number_scheduled{job=\"kube-state-metrics\"\ - } < 1.00" + expr: |- + kube_daemonset_status_number_ready{job="kube-state-metrics"} + / + kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics"} < 1.00 for: 15m labels: severity: critical @@ -26106,9 +41495,10 @@ spec: message: '{{ $value }} Pods of DaemonSet {{ $labels.namespace }}/{{ $labels.daemonset }} are not scheduled.' runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubedaemonsetnotscheduled - expr: "kube_daemonset_status_desired_number_scheduled{job=\"kube-state-metrics\"\ - }\n -\nkube_daemonset_status_current_number_scheduled{job=\"kube-state-metrics\"\ - } > 0" + expr: |- + kube_daemonset_status_desired_number_scheduled{job="kube-state-metrics"} + - + kube_daemonset_status_current_number_scheduled{job="kube-state-metrics"} > 0 for: 10m labels: severity: warning @@ -26154,9 +41544,12 @@ spec: message: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has not matched the desired number of replicas for longer than 15 minutes. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubehpareplicasmismatch - expr: "(kube_hpa_status_desired_replicas{job=\"kube-state-metrics\"}\n !=\n\ - kube_hpa_status_current_replicas{job=\"kube-state-metrics\"})\n and\nchanges(kube_hpa_status_current_replicas[15m])\ - \ == 0" + expr: |- + (kube_hpa_status_desired_replicas{job="kube-state-metrics"} + != + kube_hpa_status_current_replicas{job="kube-state-metrics"}) + and + changes(kube_hpa_status_current_replicas[15m]) == 0 for: 15m labels: severity: warning @@ -26165,8 +41558,10 @@ spec: message: HPA {{ $labels.namespace }}/{{ $labels.hpa }} has been running at max replicas for longer than 15 minutes. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubehpamaxedout - expr: "kube_hpa_status_current_replicas{job=\"kube-state-metrics\"}\n ==\n\ - kube_hpa_spec_max_replicas{job=\"kube-state-metrics\"}" + expr: |- + kube_hpa_status_current_replicas{job="kube-state-metrics"} + == + kube_hpa_spec_max_replicas{job="kube-state-metrics"} for: 15m labels: severity: warning @@ -26193,9 +41588,12 @@ spec: message: Cluster has overcommitted CPU resource requests for Pods and cannot tolerate node failure. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit - expr: "sum(namespace:kube_pod_container_resource_requests_cpu_cores:sum)\n \ - \ /\nsum(kube_node_status_allocatable_cpu_cores)\n >\n(count(kube_node_status_allocatable_cpu_cores)-1)\ - \ / count(kube_node_status_allocatable_cpu_cores)" + expr: |- + sum(namespace:kube_pod_container_resource_requests_cpu_cores:sum) + / + sum(kube_node_status_allocatable_cpu_cores) + > + (count(kube_node_status_allocatable_cpu_cores)-1) / count(kube_node_status_allocatable_cpu_cores) for: 5m labels: severity: warning @@ -26204,9 +41602,14 @@ spec: message: Cluster has overcommitted memory resource requests for Pods and cannot tolerate node failure. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit - expr: "sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum)\n\ - \ /\nsum(kube_node_status_allocatable_memory_bytes)\n >\n(count(kube_node_status_allocatable_memory_bytes)-1)\n\ - \ /\ncount(kube_node_status_allocatable_memory_bytes)" + expr: |- + sum(namespace:kube_pod_container_resource_requests_memory_bytes:sum) + / + sum(kube_node_status_allocatable_memory_bytes) + > + (count(kube_node_status_allocatable_memory_bytes)-1) + / + count(kube_node_status_allocatable_memory_bytes) for: 5m labels: severity: warning @@ -26214,8 +41617,11 @@ spec: annotations: message: Cluster has overcommitted CPU resource requests for Namespaces. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecpuovercommit - expr: "sum(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\", resource=\"\ - cpu\"})\n /\nsum(kube_node_status_allocatable_cpu_cores)\n > 1.5" + expr: |- + sum(kube_resourcequota{job="kube-state-metrics", type="hard", resource="cpu"}) + / + sum(kube_node_status_allocatable_cpu_cores) + > 1.5 for: 5m labels: severity: warning @@ -26223,9 +41629,11 @@ spec: annotations: message: Cluster has overcommitted memory resource requests for Namespaces. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubememovercommit - expr: "sum(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\", resource=\"\ - memory\"})\n /\nsum(kube_node_status_allocatable_memory_bytes{job=\"node-exporter\"\ - })\n > 1.5" + expr: |- + sum(kube_resourcequota{job="kube-state-metrics", type="hard", resource="memory"}) + / + sum(kube_node_status_allocatable_memory_bytes{job="node-exporter"}) + > 1.5 for: 5m labels: severity: warning @@ -26234,9 +41642,11 @@ spec: message: Namespace {{ $labels.namespace }} is using {{ $value | humanizePercentage }} of its {{ $labels.resource }} quota. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubequotaexceeded - expr: "kube_resourcequota{job=\"kube-state-metrics\", type=\"used\"}\n / ignoring(instance,\ - \ job, type)\n(kube_resourcequota{job=\"kube-state-metrics\", type=\"hard\"\ - } > 0)\n > 0.90" + expr: |- + kube_resourcequota{job="kube-state-metrics", type="used"} + / ignoring(instance, job, type) + (kube_resourcequota{job="kube-state-metrics", type="hard"} > 0) + > 0.90 for: 15m labels: severity: warning @@ -26246,9 +41656,11 @@ spec: {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}.' runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh - expr: "sum(increase(container_cpu_cfs_throttled_periods_total{container!=\"\"\ - , }[5m])) by (container, pod, namespace)\n /\nsum(increase(container_cpu_cfs_periods_total{}[5m]))\ - \ by (container, pod, namespace)\n > ( 25 / 100 )" + expr: |- + sum(increase(container_cpu_cfs_throttled_periods_total{container!="", }[5m])) by (container, pod, namespace) + / + sum(increase(container_cpu_cfs_periods_total{}[5m])) by (container, pod, namespace) + > ( 25 / 100 ) for: 15m labels: severity: warning @@ -26276,8 +41688,11 @@ spec: }} in Namespace {{ $labels.namespace }} is only {{ $value | humanizePercentage }} free. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumeusagecritical - expr: "kubelet_volume_stats_available_bytes{job=\"kubelet\"}\n /\nkubelet_volume_stats_capacity_bytes{job=\"\ - kubelet\"}\n < 0.03" + expr: |- + kubelet_volume_stats_available_bytes{job="kubelet"} + / + kubelet_volume_stats_capacity_bytes{job="kubelet"} + < 0.03 for: 1m labels: severity: critical @@ -26287,9 +41702,14 @@ spec: }} in Namespace {{ $labels.namespace }} is expected to fill up within four days. Currently {{ $value | humanizePercentage }} is available. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubepersistentvolumefullinfourdays - expr: "(\n kubelet_volume_stats_available_bytes{job=\"kubelet\"}\n /\n \ - \ kubelet_volume_stats_capacity_bytes{job=\"kubelet\"}\n) < 0.15\nand\npredict_linear(kubelet_volume_stats_available_bytes{job=\"\ - kubelet\"}[6h], 4 * 24 * 3600) < 0" + expr: |- + ( + kubelet_volume_stats_available_bytes{job="kubelet"} + / + kubelet_volume_stats_capacity_bytes{job="kubelet"} + ) < 0.15 + and + predict_linear(kubelet_volume_stats_available_bytes{job="kubelet"}[6h], 4 * 24 * 3600) < 0 for: 1h labels: severity: critical @@ -26346,8 +41766,10 @@ spec: message: API server is returning errors for {{ $value | humanizePercentage }} of requests. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh - expr: "sum(rate(apiserver_request_total{job=\"apiserver\",code=~\"5..\"}[5m]))\n\ - \ /\nsum(rate(apiserver_request_total{job=\"apiserver\"}[5m])) > 0.03" + expr: |- + sum(rate(apiserver_request_total{job="apiserver",code=~"5.."}[5m])) + / + sum(rate(apiserver_request_total{job="apiserver"}[5m])) > 0.03 for: 10m labels: severity: critical @@ -26356,8 +41778,10 @@ spec: message: API server is returning errors for {{ $value | humanizePercentage }} of requests. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh - expr: "sum(rate(apiserver_request_total{job=\"apiserver\",code=~\"5..\"}[5m]))\n\ - \ /\nsum(rate(apiserver_request_total{job=\"apiserver\"}[5m])) > 0.01" + expr: |- + sum(rate(apiserver_request_total{job="apiserver",code=~"5.."}[5m])) + / + sum(rate(apiserver_request_total{job="apiserver"}[5m])) > 0.01 for: 10m labels: severity: warning @@ -26367,9 +41791,10 @@ spec: }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh - expr: "sum(rate(apiserver_request_total{job=\"apiserver\",code=~\"5..\"}[5m]))\ - \ by (resource,subresource,verb)\n /\nsum(rate(apiserver_request_total{job=\"\ - apiserver\"}[5m])) by (resource,subresource,verb) > 0.10" + expr: |- + sum(rate(apiserver_request_total{job="apiserver",code=~"5.."}[5m])) by (resource,subresource,verb) + / + sum(rate(apiserver_request_total{job="apiserver"}[5m])) by (resource,subresource,verb) > 0.10 for: 10m labels: severity: critical @@ -26379,9 +41804,10 @@ spec: }} of requests for {{ $labels.verb }} {{ $labels.resource }} {{ $labels.subresource }}. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeapierrorshigh - expr: "sum(rate(apiserver_request_total{job=\"apiserver\",code=~\"5..\"}[5m]))\ - \ by (resource,subresource,verb)\n /\nsum(rate(apiserver_request_total{job=\"\ - apiserver\"}[5m])) by (resource,subresource,verb) > 0.05" + expr: |- + sum(rate(apiserver_request_total{job="apiserver",code=~"5.."}[5m])) by (resource,subresource,verb) + / + sum(rate(apiserver_request_total{job="apiserver"}[5m])) by (resource,subresource,verb) > 0.05 for: 10m labels: severity: warning @@ -26552,9 +41978,11 @@ spec: message: Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance }}' is experiencing {{ $value | humanizePercentage }} errors.' runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors - expr: "(sum(rate(rest_client_requests_total{code=~\"5..\"}[5m])) by (instance,\ - \ job)\n /\nsum(rate(rest_client_requests_total[5m])) by (instance, job))\n\ - > 0.01" + expr: |- + (sum(rate(rest_client_requests_total{code=~"5.."}[5m])) by (instance, job) + / + sum(rate(rest_client_requests_total[5m])) by (instance, job)) + > 0.01 for: 15m labels: severity: warning @@ -26576,17 +42004,31 @@ spec: groups: - name: node-exporter.rules rules: - - expr: "count without (cpu) (\n count without (mode) (\n node_cpu_seconds_total{job=\"\ - node-exporter\"}\n )\n)" + - expr: |- + count without (cpu) ( + count without (mode) ( + node_cpu_seconds_total{job="node-exporter"} + ) + ) record: instance:node_num_cpu:sum - - expr: "1 - avg without (cpu, mode) (\n rate(node_cpu_seconds_total{job=\"node-exporter\"\ - , mode=\"idle\"}[1m])\n)" + - expr: |- + 1 - avg without (cpu, mode) ( + rate(node_cpu_seconds_total{job="node-exporter", mode="idle"}[1m]) + ) record: instance:node_cpu_utilisation:rate1m - - expr: "(\n node_load1{job=\"node-exporter\"}\n/\n instance:node_num_cpu:sum{job=\"\ - node-exporter\"}\n)" + - expr: |- + ( + node_load1{job="node-exporter"} + / + instance:node_num_cpu:sum{job="node-exporter"} + ) record: instance:node_load1_per_cpu:ratio - - expr: "1 - (\n node_memory_MemAvailable_bytes{job=\"node-exporter\"}\n/\n \ - \ node_memory_MemTotal_bytes{job=\"node-exporter\"}\n)" + - expr: |- + 1 - ( + node_memory_MemAvailable_bytes{job="node-exporter"} + / + node_memory_MemTotal_bytes{job="node-exporter"} + ) record: instance:node_memory_utilisation:ratio - expr: rate(node_vmstat_pgmajfault{job="node-exporter"}[1m]) record: instance:node_vmstat_pgmajfault:rate1m @@ -26594,17 +42036,25 @@ spec: record: instance_device:node_disk_io_time_seconds:rate1m - expr: rate(node_disk_io_time_weighted_seconds_total{job="node-exporter", device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+"}[1m]) record: instance_device:node_disk_io_time_weighted_seconds:rate1m - - expr: "sum without (device) (\n rate(node_network_receive_bytes_total{job=\"\ - node-exporter\", device!=\"lo\"}[1m])\n)" + - expr: |- + sum without (device) ( + rate(node_network_receive_bytes_total{job="node-exporter", device!="lo"}[1m]) + ) record: instance:node_network_receive_bytes_excluding_lo:rate1m - - expr: "sum without (device) (\n rate(node_network_transmit_bytes_total{job=\"\ - node-exporter\", device!=\"lo\"}[1m])\n)" + - expr: |- + sum without (device) ( + rate(node_network_transmit_bytes_total{job="node-exporter", device!="lo"}[1m]) + ) record: instance:node_network_transmit_bytes_excluding_lo:rate1m - - expr: "sum without (device) (\n rate(node_network_receive_drop_total{job=\"\ - node-exporter\", device!=\"lo\"}[1m])\n)" + - expr: |- + sum without (device) ( + rate(node_network_receive_drop_total{job="node-exporter", device!="lo"}[1m]) + ) record: instance:node_network_receive_drop_excluding_lo:rate1m - - expr: "sum without (device) (\n rate(node_network_transmit_drop_total{job=\"\ - node-exporter\", device!=\"lo\"}[1m])\n)" + - expr: |- + sum without (device) ( + rate(node_network_transmit_drop_total{job="node-exporter", device!="lo"}[1m]) + ) record: instance:node_network_transmit_drop_excluding_lo:rate1m --- apiVersion: monitoring.coreos.com/v1 @@ -26631,11 +42081,14 @@ spec: up. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemspacefillingup summary: Filesystem is predicted to run out of space within the next 24 hours. - expr: "(\n node_filesystem_avail_bytes{job=\"node-exporter\",fstype!=\"\"}\ - \ / node_filesystem_size_bytes{job=\"node-exporter\",fstype!=\"\"} * 100 <\ - \ 40\nand\n predict_linear(node_filesystem_avail_bytes{job=\"node-exporter\"\ - ,fstype!=\"\"}[6h], 24*60*60) < 0\nand\n node_filesystem_readonly{job=\"\ - node-exporter\",fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 40 + and + predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!=""}[6h], 24*60*60) < 0 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: warning @@ -26646,11 +42099,14 @@ spec: up fast. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemspacefillingup summary: Filesystem is predicted to run out of space within the next 4 hours. - expr: "(\n node_filesystem_avail_bytes{job=\"node-exporter\",fstype!=\"\"}\ - \ / node_filesystem_size_bytes{job=\"node-exporter\",fstype!=\"\"} * 100 <\ - \ 20\nand\n predict_linear(node_filesystem_avail_bytes{job=\"node-exporter\"\ - ,fstype!=\"\"}[6h], 4*60*60) < 0\nand\n node_filesystem_readonly{job=\"node-exporter\"\ - ,fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 20 + and + predict_linear(node_filesystem_avail_bytes{job="node-exporter",fstype!=""}[6h], 4*60*60) < 0 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: critical @@ -26660,10 +42116,12 @@ spec: has only {{ printf "%.2f" $value }}% available space left. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemalmostoutofspace summary: Filesystem has less than 5% space left. - expr: "(\n node_filesystem_avail_bytes{job=\"node-exporter\",fstype!=\"\"}\ - \ / node_filesystem_size_bytes{job=\"node-exporter\",fstype!=\"\"} * 100 <\ - \ 5\nand\n node_filesystem_readonly{job=\"node-exporter\",fstype!=\"\"} ==\ - \ 0\n)" + expr: |- + ( + node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 5 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: warning @@ -26673,10 +42131,12 @@ spec: has only {{ printf "%.2f" $value }}% available space left. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemalmostoutofspace summary: Filesystem has less than 3% space left. - expr: "(\n node_filesystem_avail_bytes{job=\"node-exporter\",fstype!=\"\"}\ - \ / node_filesystem_size_bytes{job=\"node-exporter\",fstype!=\"\"} * 100 <\ - \ 3\nand\n node_filesystem_readonly{job=\"node-exporter\",fstype!=\"\"} ==\ - \ 0\n)" + expr: |- + ( + node_filesystem_avail_bytes{job="node-exporter",fstype!=""} / node_filesystem_size_bytes{job="node-exporter",fstype!=""} * 100 < 3 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: critical @@ -26687,11 +42147,14 @@ spec: up. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemfilesfillingup summary: Filesystem is predicted to run out of inodes within the next 24 hours. - expr: "(\n node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\"} /\ - \ node_filesystem_files{job=\"node-exporter\",fstype!=\"\"} * 100 < 40\nand\n\ - \ predict_linear(node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\ - \"}[6h], 24*60*60) < 0\nand\n node_filesystem_readonly{job=\"node-exporter\"\ - ,fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_files_free{job="node-exporter",fstype!=""} / node_filesystem_files{job="node-exporter",fstype!=""} * 100 < 40 + and + predict_linear(node_filesystem_files_free{job="node-exporter",fstype!=""}[6h], 24*60*60) < 0 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: warning @@ -26702,11 +42165,14 @@ spec: up fast. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemfilesfillingup summary: Filesystem is predicted to run out of inodes within the next 4 hours. - expr: "(\n node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\"} /\ - \ node_filesystem_files{job=\"node-exporter\",fstype!=\"\"} * 100 < 20\nand\n\ - \ predict_linear(node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\ - \"}[6h], 4*60*60) < 0\nand\n node_filesystem_readonly{job=\"node-exporter\"\ - ,fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_files_free{job="node-exporter",fstype!=""} / node_filesystem_files{job="node-exporter",fstype!=""} * 100 < 20 + and + predict_linear(node_filesystem_files_free{job="node-exporter",fstype!=""}[6h], 4*60*60) < 0 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: critical @@ -26716,9 +42182,12 @@ spec: has only {{ printf "%.2f" $value }}% available inodes left. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemalmostoutoffiles summary: Filesystem has less than 5% inodes left. - expr: "(\n node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\"} /\ - \ node_filesystem_files{job=\"node-exporter\",fstype!=\"\"} * 100 < 5\nand\n\ - \ node_filesystem_readonly{job=\"node-exporter\",fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_files_free{job="node-exporter",fstype!=""} / node_filesystem_files{job="node-exporter",fstype!=""} * 100 < 5 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: warning @@ -26728,9 +42197,12 @@ spec: has only {{ printf "%.2f" $value }}% available inodes left. runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-nodefilesystemalmostoutoffiles summary: Filesystem has less than 3% inodes left. - expr: "(\n node_filesystem_files_free{job=\"node-exporter\",fstype!=\"\"} /\ - \ node_filesystem_files{job=\"node-exporter\",fstype!=\"\"} * 100 < 3\nand\n\ - \ node_filesystem_readonly{job=\"node-exporter\",fstype!=\"\"} == 0\n)" + expr: |- + ( + node_filesystem_files_free{job="node-exporter",fstype!=""} / node_filesystem_files{job="node-exporter",fstype!=""} * 100 < 3 + and + node_filesystem_readonly{job="node-exporter",fstype!=""} == 0 + ) for: 1h labels: severity: critical @@ -26829,14 +42301,23 @@ spec: - expr: max(label_replace(kube_pod_info{job="kube-state-metrics"}, "pod", "$1", "pod", "(.*)")) by (node, namespace, pod) record: 'node_namespace_pod:kube_pod_info:' - - expr: "count by (node) (sum by (node, cpu) (\n node_cpu_seconds_total{job=\"\ - node-exporter\"}\n* on (namespace, pod) group_left(node)\n node_namespace_pod:kube_pod_info:\n\ - ))" + - expr: |- + count by (node) (sum by (node, cpu) ( + node_cpu_seconds_total{job="node-exporter"} + * on (namespace, pod) group_left(node) + node_namespace_pod:kube_pod_info: + )) record: node:node_num_cpu:sum - - expr: "sum(\n node_memory_MemAvailable_bytes{job=\"node-exporter\"} or\n (\n\ - \ node_memory_Buffers_bytes{job=\"node-exporter\"} +\n node_memory_Cached_bytes{job=\"\ - node-exporter\"} +\n node_memory_MemFree_bytes{job=\"node-exporter\"} +\n\ - \ node_memory_Slab_bytes{job=\"node-exporter\"}\n )\n)" + - expr: |- + sum( + node_memory_MemAvailable_bytes{job="node-exporter"} or + ( + node_memory_Buffers_bytes{job="node-exporter"} + + node_memory_Cached_bytes{job="node-exporter"} + + node_memory_MemFree_bytes{job="node-exporter"} + + node_memory_Slab_bytes{job="node-exporter"} + ) + ) record: :node_memory_MemAvailable_bytes:sum --- apiVersion: monitoring.coreos.com/v1 @@ -26896,14 +42377,10 @@ spec: description: Prometheus {{$labels.namespace}}/{{$labels.pod}} has failed to reload its configuration. summary: Failed Prometheus configuration reload. - expr: '# Without max_over_time, failed scrapes could create false negatives, - see - - # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for - details. - - max_over_time(prometheus_config_last_reload_successful{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) - == 0' + expr: |- + # Without max_over_time, failed scrapes could create false negatives, see + # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. + max_over_time(prometheus_config_last_reload_successful{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) == 0 for: 10m labels: severity: critical @@ -26913,13 +42390,14 @@ spec: is running full. summary: Prometheus alert notification queue predicted to run full in less than 30m. - expr: "# Without min_over_time, failed scrapes could create false negatives,\ - \ see\n# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0\ - \ for details.\n(\n predict_linear(prometheus_notifications_queue_length{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m], 60\ - \ * 30)\n>\n min_over_time(prometheus_notifications_queue_capacity{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - )" + expr: |- + # Without min_over_time, failed scrapes could create false negatives, see + # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. + ( + predict_linear(prometheus_notifications_queue_length{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m], 60 * 30) + > + min_over_time(prometheus_notifications_queue_capacity{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) for: 15m labels: severity: warning @@ -26929,10 +42407,14 @@ spec: Prometheus {{$labels.namespace}}/{{$labels.pod}} to Alertmanager {{$labels.alertmanager}}.' summary: Prometheus has encountered more than 1% errors sending alerts to a specific Alertmanager. - expr: "(\n rate(prometheus_notifications_errors_total{job=\"prometheus-operator-prometheus\"\ - ,namespace=\"metalk8s-monitoring\"}[5m])\n/\n rate(prometheus_notifications_sent_total{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - )\n* 100\n> 1" + expr: |- + ( + rate(prometheus_notifications_errors_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + / + rate(prometheus_notifications_sent_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) + * 100 + > 1 for: 15m labels: severity: warning @@ -26941,10 +42423,14 @@ spec: description: '{{ printf "%.1f" $value }}% minimum errors while sending alerts from Prometheus {{$labels.namespace}}/{{$labels.pod}} to any Alertmanager.' summary: Prometheus encounters more than 3% errors sending alerts to any Alertmanager. - expr: "min without(alertmanager) (\n rate(prometheus_notifications_errors_total{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - /\n rate(prometheus_notifications_sent_total{job=\"prometheus-operator-prometheus\"\ - ,namespace=\"metalk8s-monitoring\"}[5m])\n)\n* 100\n> 3" + expr: |- + min without(alertmanager) ( + rate(prometheus_notifications_errors_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + / + rate(prometheus_notifications_sent_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) + * 100 + > 3 for: 15m labels: severity: critical @@ -26953,14 +42439,10 @@ spec: description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not connected to any Alertmanagers. summary: Prometheus is not connected to any Alertmanagers. - expr: '# Without max_over_time, failed scrapes could create false negatives, - see - - # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for - details. - - max_over_time(prometheus_notifications_alertmanagers_discovered{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) - < 1' + expr: |- + # Without max_over_time, failed scrapes could create false negatives, see + # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. + max_over_time(prometheus_notifications_alertmanagers_discovered{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) < 1 for: 10m labels: severity: warning @@ -27020,11 +42502,18 @@ spec: description: Prometheus {{$labels.namespace}}/{{$labels.pod}} failed to send {{ printf "%.1f" $value }}% of the samples to queue {{$labels.queue}}. summary: Prometheus fails to send samples to remote storage. - expr: "(\n rate(prometheus_remote_storage_failed_samples_total{job=\"prometheus-operator-prometheus\"\ - ,namespace=\"metalk8s-monitoring\"}[5m])\n/\n (\n rate(prometheus_remote_storage_failed_samples_total{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - \ +\n rate(prometheus_remote_storage_succeeded_samples_total{job=\"prometheus-operator-prometheus\"\ - ,namespace=\"metalk8s-monitoring\"}[5m])\n )\n)\n* 100\n> 1" + expr: |- + ( + rate(prometheus_remote_storage_failed_samples_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + / + ( + rate(prometheus_remote_storage_failed_samples_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + + + rate(prometheus_remote_storage_succeeded_samples_total{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) + ) + * 100 + > 1 for: 15m labels: severity: critical @@ -27033,13 +42522,15 @@ spec: description: Prometheus {{$labels.namespace}}/{{$labels.pod}} remote write is {{ printf "%.1f" $value }}s behind for queue {{$labels.queue}}. summary: Prometheus remote write is behind. - expr: "# Without max_over_time, failed scrapes could create false negatives,\ - \ see\n# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0\ - \ for details.\n(\n max_over_time(prometheus_remote_storage_highest_timestamp_in_seconds{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - - on(job, instance) group_right\n max_over_time(prometheus_remote_storage_queue_highest_sent_timestamp_seconds{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - )\n> 120" + expr: |- + # Without max_over_time, failed scrapes could create false negatives, see + # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. + ( + max_over_time(prometheus_remote_storage_highest_timestamp_in_seconds{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + - on(job, instance) group_right + max_over_time(prometheus_remote_storage_queue_highest_sent_timestamp_seconds{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) + > 120 for: 15m labels: severity: critical @@ -27052,12 +42543,14 @@ spec: | first | value }}. summary: Prometheus remote write desired shards calculation wants to run more than configured max shards. - expr: "# Without max_over_time, failed scrapes could create false negatives,\ - \ see\n# https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0\ - \ for details.\n(\n max_over_time(prometheus_remote_storage_shards_desired{job=\"\ - prometheus-operator-prometheus\",namespace=\"metalk8s-monitoring\"}[5m])\n\ - >\n max_over_time(prometheus_remote_storage_shards_max{job=\"prometheus-operator-prometheus\"\ - ,namespace=\"metalk8s-monitoring\"}[5m])\n)" + expr: |- + # Without max_over_time, failed scrapes could create false negatives, see + # https://www.robustperception.io/alerting-on-gauges-in-prometheus-2-0 for details. + ( + max_over_time(prometheus_remote_storage_shards_desired{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + > + max_over_time(prometheus_remote_storage_shards_max{job="prometheus-operator-prometheus",namespace="metalk8s-monitoring"}[5m]) + ) for: 15m labels: severity: warning