...

Text file src/github.com/linkerd/linkerd2/grafana/dashboards/kubernetes.json

Documentation: github.com/linkerd/linkerd2/grafana/dashboards

     1{
     2  "__inputs": [
     3    {
     4      "name": "datasource",
     5      "label": "prometheus",
     6      "description": "",
     7      "type": "datasource",
     8      "pluginId": "prometheus",
     9      "pluginName": "Prometheus"
    10    }
    11  ],
    12  "__elements": [],
    13  "__requires": [
    14    {
    15      "type": "panel",
    16      "id": "gauge",
    17      "name": "Gauge",
    18      "version": ""
    19    },
    20    {
    21      "type": "grafana",
    22      "id": "grafana",
    23      "name": "Grafana",
    24      "version": "8.3.3"
    25    },
    26    {
    27      "type": "panel",
    28      "id": "graph",
    29      "name": "Graph (old)",
    30      "version": ""
    31    },
    32    {
    33      "type": "panel",
    34      "id": "heatmap",
    35      "name": "Heatmap",
    36      "version": ""
    37    },
    38    {
    39      "type": "datasource",
    40      "id": "prometheus",
    41      "name": "Prometheus",
    42      "version": "1.0.0"
    43    },
    44    {
    45      "type": "panel",
    46      "id": "stat",
    47      "name": "Stat",
    48      "version": ""
    49    },
    50    {
    51      "type": "panel",
    52      "id": "text",
    53      "name": "Text",
    54      "version": ""
    55    }
    56  ],
    57  "annotations": {
    58    "list": [
    59      {
    60        "builtIn": 1,
    61        "datasource": "-- Grafana --",
    62        "enable": true,
    63        "hide": true,
    64        "iconColor": "rgba(0, 211, 255, 1)",
    65        "name": "Annotations & Alerts",
    66        "type": "dashboard"
    67      }
    68    ]
    69  },
    70  "description": "Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only.",
    71  "editable": true,
    72  "gnetId": 315,
    73  "graphTooltip": 0,
    74  "id": null,
    75  "iteration": 1565301085323,
    76  "links": [],
    77  "panels": [
    78    {
    79      "collapsed": false,
    80      "gridPos": {
    81        "h": 1,
    82        "w": 24,
    83        "x": 0,
    84        "y": 0
    85      },
    86      "id": 33,
    87      "panels": [],
    88      "title": "Network I/O pressure",
    89      "type": "row"
    90    },
    91    {
    92      "aliasColors": {},
    93      "bars": false,
    94      "dashLength": 10,
    95      "dashes": false,
    96      "datasource": {
    97        "type": "prometheus",
    98        "uid": "${datasource}"
    99      },
   100      "decimals": 2,
   101      "editable": true,
   102      "error": false,
   103      "fill": 1,
   104      "grid": {},
   105      "gridPos": {
   106        "h": 5,
   107        "w": 24,
   108        "x": 0,
   109        "y": 1
   110      },
   111      "height": "200px",
   112      "id": 32,
   113      "isNew": true,
   114      "legend": {
   115        "alignAsTable": false,
   116        "avg": true,
   117        "current": true,
   118        "max": false,
   119        "min": false,
   120        "rightSide": false,
   121        "show": false,
   122        "sideWidth": 200,
   123        "sort": "current",
   124        "sortDesc": true,
   125        "total": false,
   126        "values": true
   127      },
   128      "lines": true,
   129      "linewidth": 2,
   130      "links": [],
   131      "nullPointMode": "connected",
   132      "options": {},
   133      "percentage": false,
   134      "pointradius": 5,
   135      "points": false,
   136      "renderer": "flot",
   137      "seriesOverrides": [],
   138      "spaceLength": 10,
   139      "stack": false,
   140      "steppedLine": false,
   141      "targets": [
   142        {
   143          "expr": "sum (rate (container_network_receive_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
   144          "interval": "10s",
   145          "intervalFactor": 1,
   146          "legendFormat": "Received",
   147          "metric": "network",
   148          "refId": "A",
   149          "step": 10
   150        },
   151        {
   152          "expr": "- sum (rate (container_network_transmit_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
   153          "interval": "10s",
   154          "intervalFactor": 1,
   155          "legendFormat": "Sent",
   156          "metric": "network",
   157          "refId": "B",
   158          "step": 10
   159        }
   160      ],
   161      "thresholds": [],
   162      "timeFrom": null,
   163      "timeRegions": [],
   164      "timeShift": null,
   165      "title": "Network I/O pressure",
   166      "tooltip": {
   167        "msResolution": false,
   168        "shared": true,
   169        "sort": 0,
   170        "value_type": "cumulative"
   171      },
   172      "type": "graph",
   173      "xaxis": {
   174        "buckets": null,
   175        "mode": "time",
   176        "name": null,
   177        "show": true,
   178        "values": []
   179      },
   180      "yaxes": [
   181        {
   182          "format": "Bps",
   183          "label": null,
   184          "logBase": 1,
   185          "max": null,
   186          "min": null,
   187          "show": true
   188        },
   189        {
   190          "format": "Bps",
   191          "label": null,
   192          "logBase": 1,
   193          "max": null,
   194          "min": null,
   195          "show": false
   196        }
   197      ],
   198      "yaxis": {
   199        "align": false,
   200        "alignLevel": null
   201      }
   202    },
   203    {
   204      "collapsed": false,
   205      "gridPos": {
   206        "h": 1,
   207        "w": 24,
   208        "x": 0,
   209        "y": 6
   210      },
   211      "id": 34,
   212      "panels": [],
   213      "title": "Total usage",
   214      "type": "row"
   215    },
   216    {
   217      "cacheTimeout": null,
   218      "colorBackground": false,
   219      "colorValue": true,
   220      "colors": [
   221        "rgba(50, 172, 45, 0.97)",
   222        "rgba(237, 129, 40, 0.89)",
   223        "rgba(245, 54, 54, 0.9)"
   224      ],
   225      "datasource": {
   226        "type": "prometheus",
   227        "uid": "${datasource}"
   228      },
   229      "editable": true,
   230      "error": false,
   231      "format": "percent",
   232      "gauge": {
   233        "maxValue": 100,
   234        "minValue": 0,
   235        "show": true,
   236        "thresholdLabels": false,
   237        "thresholdMarkers": true
   238      },
   239      "gridPos": {
   240        "h": 5,
   241        "w": 8,
   242        "x": 0,
   243        "y": 7
   244      },
   245      "height": "180px",
   246      "id": 4,
   247      "interval": null,
   248      "isNew": true,
   249      "links": [],
   250      "mappingType": 1,
   251      "mappingTypes": [
   252        {
   253          "name": "value to text",
   254          "value": 1
   255        },
   256        {
   257          "name": "range to text",
   258          "value": 2
   259        }
   260      ],
   261      "maxDataPoints": 100,
   262      "nullPointMode": "connected",
   263      "nullText": null,
   264      "options": {},
   265      "postfix": "",
   266      "postfixFontSize": "50%",
   267      "prefix": "",
   268      "prefixFontSize": "50%",
   269      "rangeMaps": [
   270        {
   271          "from": "null",
   272          "text": "N/A",
   273          "to": "null"
   274        }
   275      ],
   276      "sparkline": {
   277        "fillColor": "rgba(31, 118, 189, 0.18)",
   278        "full": false,
   279        "lineColor": "rgb(31, 120, 193)",
   280        "show": false
   281      },
   282      "tableColumn": "",
   283      "targets": [
   284        {
   285          "expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"}) * 100",
   286          "interval": "10s",
   287          "intervalFactor": 1,
   288          "refId": "A",
   289          "step": 10
   290        }
   291      ],
   292      "thresholds": "65, 90",
   293      "title": "Cluster memory usage",
   294      "type": "singlestat",
   295      "valueFontSize": "80%",
   296      "valueMaps": [
   297        {
   298          "op": "=",
   299          "text": "N/A",
   300          "value": "null"
   301        }
   302      ],
   303      "valueName": "current"
   304    },
   305    {
   306      "cacheTimeout": null,
   307      "colorBackground": false,
   308      "colorValue": true,
   309      "colors": [
   310        "rgba(50, 172, 45, 0.97)",
   311        "rgba(237, 129, 40, 0.89)",
   312        "rgba(245, 54, 54, 0.9)"
   313      ],
   314      "datasource": {
   315        "type": "prometheus",
   316        "uid": "${datasource}"
   317      },
   318      "decimals": 2,
   319      "editable": true,
   320      "error": false,
   321      "format": "percent",
   322      "gauge": {
   323        "maxValue": 100,
   324        "minValue": 0,
   325        "show": true,
   326        "thresholdLabels": false,
   327        "thresholdMarkers": true
   328      },
   329      "gridPos": {
   330        "h": 5,
   331        "w": 8,
   332        "x": 8,
   333        "y": 7
   334      },
   335      "height": "180px",
   336      "id": 6,
   337      "interval": null,
   338      "isNew": true,
   339      "links": [],
   340      "mappingType": 1,
   341      "mappingTypes": [
   342        {
   343          "name": "value to text",
   344          "value": 1
   345        },
   346        {
   347          "name": "range to text",
   348          "value": 2
   349        }
   350      ],
   351      "maxDataPoints": 100,
   352      "nullPointMode": "connected",
   353      "nullText": null,
   354      "options": {},
   355      "postfix": "",
   356      "postfixFontSize": "50%",
   357      "prefix": "",
   358      "prefixFontSize": "50%",
   359      "rangeMaps": [
   360        {
   361          "from": "null",
   362          "text": "N/A",
   363          "to": "null"
   364        }
   365      ],
   366      "sparkline": {
   367        "fillColor": "rgba(31, 118, 189, 0.18)",
   368        "full": false,
   369        "lineColor": "rgb(31, 120, 193)",
   370        "show": false
   371      },
   372      "tableColumn": "",
   373      "targets": [
   374        {
   375          "expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) / sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"}) * 100",
   376          "interval": "10s",
   377          "intervalFactor": 1,
   378          "refId": "A",
   379          "step": 10
   380        }
   381      ],
   382      "thresholds": "65, 90",
   383      "title": "Cluster CPU usage (1m avg)",
   384      "type": "singlestat",
   385      "valueFontSize": "80%",
   386      "valueMaps": [
   387        {
   388          "op": "=",
   389          "text": "N/A",
   390          "value": "null"
   391        }
   392      ],
   393      "valueName": "current"
   394    },
   395    {
   396      "cacheTimeout": null,
   397      "colorBackground": false,
   398      "colorValue": true,
   399      "colors": [
   400        "rgba(50, 172, 45, 0.97)",
   401        "rgba(237, 129, 40, 0.89)",
   402        "rgba(245, 54, 54, 0.9)"
   403      ],
   404      "datasource": {
   405        "type": "prometheus",
   406        "uid": "${datasource}"
   407      },
   408      "decimals": 2,
   409      "editable": true,
   410      "error": false,
   411      "format": "percent",
   412      "gauge": {
   413        "maxValue": 100,
   414        "minValue": 0,
   415        "show": true,
   416        "thresholdLabels": false,
   417        "thresholdMarkers": true
   418      },
   419      "gridPos": {
   420        "h": 5,
   421        "w": 8,
   422        "x": 16,
   423        "y": 7
   424      },
   425      "height": "180px",
   426      "id": 7,
   427      "interval": null,
   428      "isNew": true,
   429      "links": [],
   430      "mappingType": 1,
   431      "mappingTypes": [
   432        {
   433          "name": "value to text",
   434          "value": 1
   435        },
   436        {
   437          "name": "range to text",
   438          "value": 2
   439        }
   440      ],
   441      "maxDataPoints": 100,
   442      "nullPointMode": "connected",
   443      "nullText": null,
   444      "options": {},
   445      "postfix": "",
   446      "postfixFontSize": "50%",
   447      "prefix": "",
   448      "prefixFontSize": "50%",
   449      "rangeMaps": [
   450        {
   451          "from": "null",
   452          "text": "N/A",
   453          "to": "null"
   454        }
   455      ],
   456      "sparkline": {
   457        "fillColor": "rgba(31, 118, 189, 0.18)",
   458        "full": false,
   459        "lineColor": "rgb(31, 120, 193)",
   460        "show": false
   461      },
   462      "tableColumn": "",
   463      "targets": [
   464        {
   465          "expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]d[a-z][1-9]?$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100",
   466          "interval": "10s",
   467          "intervalFactor": 1,
   468          "legendFormat": "",
   469          "metric": "",
   470          "refId": "A",
   471          "step": 10
   472        }
   473      ],
   474      "thresholds": "65, 90",
   475      "title": "Cluster filesystem usage",
   476      "type": "singlestat",
   477      "valueFontSize": "80%",
   478      "valueMaps": [
   479        {
   480          "op": "=",
   481          "text": "N/A",
   482          "value": "null"
   483        }
   484      ],
   485      "valueName": "current"
   486    },
   487    {
   488      "cacheTimeout": null,
   489      "colorBackground": false,
   490      "colorValue": false,
   491      "colors": [
   492        "rgba(50, 172, 45, 0.97)",
   493        "rgba(237, 129, 40, 0.89)",
   494        "rgba(245, 54, 54, 0.9)"
   495      ],
   496      "datasource": {
   497        "type": "prometheus",
   498        "uid": "${datasource}"
   499      },
   500      "decimals": 2,
   501      "editable": true,
   502      "error": false,
   503      "format": "bytes",
   504      "gauge": {
   505        "maxValue": 100,
   506        "minValue": 0,
   507        "show": false,
   508        "thresholdLabels": false,
   509        "thresholdMarkers": true
   510      },
   511      "gridPos": {
   512        "h": 3,
   513        "w": 4,
   514        "x": 0,
   515        "y": 12
   516      },
   517      "height": "1px",
   518      "id": 9,
   519      "interval": null,
   520      "isNew": true,
   521      "links": [],
   522      "mappingType": 1,
   523      "mappingTypes": [
   524        {
   525          "name": "value to text",
   526          "value": 1
   527        },
   528        {
   529          "name": "range to text",
   530          "value": 2
   531        }
   532      ],
   533      "maxDataPoints": 100,
   534      "nullPointMode": "connected",
   535      "nullText": null,
   536      "options": {},
   537      "postfix": "",
   538      "postfixFontSize": "20%",
   539      "prefix": "",
   540      "prefixFontSize": "20%",
   541      "rangeMaps": [
   542        {
   543          "from": "null",
   544          "text": "N/A",
   545          "to": "null"
   546        }
   547      ],
   548      "sparkline": {
   549        "fillColor": "rgba(31, 118, 189, 0.18)",
   550        "full": false,
   551        "lineColor": "rgb(31, 120, 193)",
   552        "show": false
   553      },
   554      "tableColumn": "",
   555      "targets": [
   556        {
   557          "expr": "sum (container_memory_working_set_bytes{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
   558          "interval": "10s",
   559          "intervalFactor": 1,
   560          "refId": "A",
   561          "step": 10
   562        }
   563      ],
   564      "thresholds": "",
   565      "title": "Used",
   566      "type": "singlestat",
   567      "valueFontSize": "50%",
   568      "valueMaps": [
   569        {
   570          "op": "=",
   571          "text": "N/A",
   572          "value": "null"
   573        }
   574      ],
   575      "valueName": "current"
   576    },
   577    {
   578      "cacheTimeout": null,
   579      "colorBackground": false,
   580      "colorValue": false,
   581      "colors": [
   582        "rgba(50, 172, 45, 0.97)",
   583        "rgba(237, 129, 40, 0.89)",
   584        "rgba(245, 54, 54, 0.9)"
   585      ],
   586      "datasource": {
   587        "type": "prometheus",
   588        "uid": "${datasource}"
   589      },
   590      "decimals": 2,
   591      "editable": true,
   592      "error": false,
   593      "format": "bytes",
   594      "gauge": {
   595        "maxValue": 100,
   596        "minValue": 0,
   597        "show": false,
   598        "thresholdLabels": false,
   599        "thresholdMarkers": true
   600      },
   601      "gridPos": {
   602        "h": 3,
   603        "w": 4,
   604        "x": 4,
   605        "y": 12
   606      },
   607      "height": "1px",
   608      "id": 10,
   609      "interval": null,
   610      "isNew": true,
   611      "links": [],
   612      "mappingType": 1,
   613      "mappingTypes": [
   614        {
   615          "name": "value to text",
   616          "value": 1
   617        },
   618        {
   619          "name": "range to text",
   620          "value": 2
   621        }
   622      ],
   623      "maxDataPoints": 100,
   624      "nullPointMode": "connected",
   625      "nullText": null,
   626      "options": {},
   627      "postfix": "",
   628      "postfixFontSize": "50%",
   629      "prefix": "",
   630      "prefixFontSize": "50%",
   631      "rangeMaps": [
   632        {
   633          "from": "null",
   634          "text": "N/A",
   635          "to": "null"
   636        }
   637      ],
   638      "sparkline": {
   639        "fillColor": "rgba(31, 118, 189, 0.18)",
   640        "full": false,
   641        "lineColor": "rgb(31, 120, 193)",
   642        "show": false
   643      },
   644      "tableColumn": "",
   645      "targets": [
   646        {
   647          "expr": "sum (machine_memory_bytes{kubernetes_io_hostname=~\"^$Node$\"})",
   648          "interval": "10s",
   649          "intervalFactor": 1,
   650          "refId": "A",
   651          "step": 10
   652        }
   653      ],
   654      "thresholds": "",
   655      "title": "Total",
   656      "type": "singlestat",
   657      "valueFontSize": "50%",
   658      "valueMaps": [
   659        {
   660          "op": "=",
   661          "text": "N/A",
   662          "value": "null"
   663        }
   664      ],
   665      "valueName": "current"
   666    },
   667    {
   668      "cacheTimeout": null,
   669      "colorBackground": false,
   670      "colorValue": false,
   671      "colors": [
   672        "rgba(50, 172, 45, 0.97)",
   673        "rgba(237, 129, 40, 0.89)",
   674        "rgba(245, 54, 54, 0.9)"
   675      ],
   676      "datasource": {
   677        "type": "prometheus",
   678        "uid": "${datasource}"
   679      },
   680      "decimals": 2,
   681      "editable": true,
   682      "error": false,
   683      "format": "none",
   684      "gauge": {
   685        "maxValue": 100,
   686        "minValue": 0,
   687        "show": false,
   688        "thresholdLabels": false,
   689        "thresholdMarkers": true
   690      },
   691      "gridPos": {
   692        "h": 3,
   693        "w": 4,
   694        "x": 8,
   695        "y": 12
   696      },
   697      "height": "1px",
   698      "id": 11,
   699      "interval": null,
   700      "isNew": true,
   701      "links": [],
   702      "mappingType": 1,
   703      "mappingTypes": [
   704        {
   705          "name": "value to text",
   706          "value": 1
   707        },
   708        {
   709          "name": "range to text",
   710          "value": 2
   711        }
   712      ],
   713      "maxDataPoints": 100,
   714      "nullPointMode": "connected",
   715      "nullText": null,
   716      "options": {},
   717      "postfix": " cores",
   718      "postfixFontSize": "30%",
   719      "prefix": "",
   720      "prefixFontSize": "50%",
   721      "rangeMaps": [
   722        {
   723          "from": "null",
   724          "text": "N/A",
   725          "to": "null"
   726        }
   727      ],
   728      "sparkline": {
   729        "fillColor": "rgba(31, 118, 189, 0.18)",
   730        "full": false,
   731        "lineColor": "rgb(31, 120, 193)",
   732        "show": false
   733      },
   734      "tableColumn": "",
   735      "targets": [
   736        {
   737          "expr": "sum (rate (container_cpu_usage_seconds_total{id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m]))",
   738          "interval": "10s",
   739          "intervalFactor": 1,
   740          "refId": "A",
   741          "step": 10
   742        }
   743      ],
   744      "thresholds": "",
   745      "title": "Used",
   746      "type": "singlestat",
   747      "valueFontSize": "50%",
   748      "valueMaps": [
   749        {
   750          "op": "=",
   751          "text": "N/A",
   752          "value": "null"
   753        }
   754      ],
   755      "valueName": "current"
   756    },
   757    {
   758      "cacheTimeout": null,
   759      "colorBackground": false,
   760      "colorValue": false,
   761      "colors": [
   762        "rgba(50, 172, 45, 0.97)",
   763        "rgba(237, 129, 40, 0.89)",
   764        "rgba(245, 54, 54, 0.9)"
   765      ],
   766      "datasource": {
   767        "type": "prometheus",
   768        "uid": "${datasource}"
   769      },
   770      "decimals": 2,
   771      "editable": true,
   772      "error": false,
   773      "format": "none",
   774      "gauge": {
   775        "maxValue": 100,
   776        "minValue": 0,
   777        "show": false,
   778        "thresholdLabels": false,
   779        "thresholdMarkers": true
   780      },
   781      "gridPos": {
   782        "h": 3,
   783        "w": 4,
   784        "x": 12,
   785        "y": 12
   786      },
   787      "height": "1px",
   788      "id": 12,
   789      "interval": null,
   790      "isNew": true,
   791      "links": [],
   792      "mappingType": 1,
   793      "mappingTypes": [
   794        {
   795          "name": "value to text",
   796          "value": 1
   797        },
   798        {
   799          "name": "range to text",
   800          "value": 2
   801        }
   802      ],
   803      "maxDataPoints": 100,
   804      "nullPointMode": "connected",
   805      "nullText": null,
   806      "options": {},
   807      "postfix": " cores",
   808      "postfixFontSize": "30%",
   809      "prefix": "",
   810      "prefixFontSize": "50%",
   811      "rangeMaps": [
   812        {
   813          "from": "null",
   814          "text": "N/A",
   815          "to": "null"
   816        }
   817      ],
   818      "sparkline": {
   819        "fillColor": "rgba(31, 118, 189, 0.18)",
   820        "full": false,
   821        "lineColor": "rgb(31, 120, 193)",
   822        "show": false
   823      },
   824      "tableColumn": "",
   825      "targets": [
   826        {
   827          "expr": "sum (machine_cpu_cores{kubernetes_io_hostname=~\"^$Node$\"})",
   828          "interval": "10s",
   829          "intervalFactor": 1,
   830          "refId": "A",
   831          "step": 10
   832        }
   833      ],
   834      "thresholds": "",
   835      "title": "Total",
   836      "type": "singlestat",
   837      "valueFontSize": "50%",
   838      "valueMaps": [
   839        {
   840          "op": "=",
   841          "text": "N/A",
   842          "value": "null"
   843        }
   844      ],
   845      "valueName": "current"
   846    },
   847    {
   848      "cacheTimeout": null,
   849      "colorBackground": false,
   850      "colorValue": false,
   851      "colors": [
   852        "rgba(50, 172, 45, 0.97)",
   853        "rgba(237, 129, 40, 0.89)",
   854        "rgba(245, 54, 54, 0.9)"
   855      ],
   856      "datasource": {
   857        "type": "prometheus",
   858        "uid": "${datasource}"
   859      },
   860      "decimals": 2,
   861      "editable": true,
   862      "error": false,
   863      "format": "bytes",
   864      "gauge": {
   865        "maxValue": 100,
   866        "minValue": 0,
   867        "show": false,
   868        "thresholdLabels": false,
   869        "thresholdMarkers": true
   870      },
   871      "gridPos": {
   872        "h": 3,
   873        "w": 4,
   874        "x": 16,
   875        "y": 12
   876      },
   877      "height": "1px",
   878      "id": 13,
   879      "interval": null,
   880      "isNew": true,
   881      "links": [],
   882      "mappingType": 1,
   883      "mappingTypes": [
   884        {
   885          "name": "value to text",
   886          "value": 1
   887        },
   888        {
   889          "name": "range to text",
   890          "value": 2
   891        }
   892      ],
   893      "maxDataPoints": 100,
   894      "nullPointMode": "connected",
   895      "nullText": null,
   896      "options": {},
   897      "postfix": "",
   898      "postfixFontSize": "50%",
   899      "prefix": "",
   900      "prefixFontSize": "50%",
   901      "rangeMaps": [
   902        {
   903          "from": "null",
   904          "text": "N/A",
   905          "to": "null"
   906        }
   907      ],
   908      "sparkline": {
   909        "fillColor": "rgba(31, 118, 189, 0.18)",
   910        "full": false,
   911        "lineColor": "rgb(31, 120, 193)",
   912        "show": false
   913      },
   914      "tableColumn": "",
   915      "targets": [
   916        {
   917          "expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
   918          "interval": "10s",
   919          "intervalFactor": 1,
   920          "refId": "A",
   921          "step": 10
   922        }
   923      ],
   924      "thresholds": "",
   925      "title": "Used",
   926      "type": "singlestat",
   927      "valueFontSize": "50%",
   928      "valueMaps": [
   929        {
   930          "op": "=",
   931          "text": "N/A",
   932          "value": "null"
   933        }
   934      ],
   935      "valueName": "current"
   936    },
   937    {
   938      "cacheTimeout": null,
   939      "colorBackground": false,
   940      "colorValue": false,
   941      "colors": [
   942        "rgba(50, 172, 45, 0.97)",
   943        "rgba(237, 129, 40, 0.89)",
   944        "rgba(245, 54, 54, 0.9)"
   945      ],
   946      "datasource": {
   947        "type": "prometheus",
   948        "uid": "${datasource}"
   949      },
   950      "decimals": 2,
   951      "editable": true,
   952      "error": false,
   953      "format": "bytes",
   954      "gauge": {
   955        "maxValue": 100,
   956        "minValue": 0,
   957        "show": false,
   958        "thresholdLabels": false,
   959        "thresholdMarkers": true
   960      },
   961      "gridPos": {
   962        "h": 3,
   963        "w": 4,
   964        "x": 20,
   965        "y": 12
   966      },
   967      "height": "1px",
   968      "id": 14,
   969      "interval": null,
   970      "isNew": true,
   971      "links": [],
   972      "mappingType": 1,
   973      "mappingTypes": [
   974        {
   975          "name": "value to text",
   976          "value": 1
   977        },
   978        {
   979          "name": "range to text",
   980          "value": 2
   981        }
   982      ],
   983      "maxDataPoints": 100,
   984      "nullPointMode": "connected",
   985      "nullText": null,
   986      "options": {},
   987      "postfix": "",
   988      "postfixFontSize": "50%",
   989      "prefix": "",
   990      "prefixFontSize": "50%",
   991      "rangeMaps": [
   992        {
   993          "from": "null",
   994          "text": "N/A",
   995          "to": "null"
   996        }
   997      ],
   998      "sparkline": {
   999        "fillColor": "rgba(31, 118, 189, 0.18)",
  1000        "full": false,
  1001        "lineColor": "rgb(31, 120, 193)",
  1002        "show": false
  1003      },
  1004      "tableColumn": "",
  1005      "targets": [
  1006        {
  1007          "expr": "sum (container_fs_limit_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
  1008          "interval": "10s",
  1009          "intervalFactor": 1,
  1010          "refId": "A",
  1011          "step": 10
  1012        }
  1013      ],
  1014      "thresholds": "",
  1015      "title": "Total",
  1016      "type": "singlestat",
  1017      "valueFontSize": "50%",
  1018      "valueMaps": [
  1019        {
  1020          "op": "=",
  1021          "text": "N/A",
  1022          "value": "null"
  1023        }
  1024      ],
  1025      "valueName": "current"
  1026    },
  1027    {
  1028      "collapsed": false,
  1029      "gridPos": {
  1030        "h": 1,
  1031        "w": 24,
  1032        "x": 0,
  1033        "y": 15
  1034      },
  1035      "id": 35,
  1036      "panels": [],
  1037      "title": "Pods CPU usage",
  1038      "type": "row"
  1039    },
  1040    {
  1041      "aliasColors": {},
  1042      "bars": false,
  1043      "dashLength": 10,
  1044      "dashes": false,
  1045      "datasource": {
  1046        "type": "prometheus",
  1047        "uid": "${datasource}"
  1048      },
  1049      "decimals": 3,
  1050      "editable": true,
  1051      "error": false,
  1052      "fill": 0,
  1053      "grid": {},
  1054      "gridPos": {
  1055        "h": 7,
  1056        "w": 24,
  1057        "x": 0,
  1058        "y": 16
  1059      },
  1060      "height": "",
  1061      "id": 17,
  1062      "isNew": true,
  1063      "legend": {
  1064        "alignAsTable": true,
  1065        "avg": true,
  1066        "current": true,
  1067        "max": false,
  1068        "min": false,
  1069        "rightSide": true,
  1070        "show": true,
  1071        "sort": "current",
  1072        "sortDesc": true,
  1073        "total": false,
  1074        "values": true
  1075      },
  1076      "lines": true,
  1077      "linewidth": 2,
  1078      "links": [],
  1079      "nullPointMode": "connected",
  1080      "options": {},
  1081      "percentage": false,
  1082      "pointradius": 5,
  1083      "points": false,
  1084      "renderer": "flot",
  1085      "seriesOverrides": [],
  1086      "spaceLength": 10,
  1087      "stack": false,
  1088      "steppedLine": true,
  1089      "targets": [
  1090        {
  1091          "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name, pod)",
  1092          "interval": "10s",
  1093          "intervalFactor": 1,
  1094          "legendFormat": "{{ pod_name }}{{ pod }}",
  1095          "metric": "container_cpu",
  1096          "refId": "A",
  1097          "step": 10
  1098        }
  1099      ],
  1100      "thresholds": [],
  1101      "timeFrom": null,
  1102      "timeRegions": [],
  1103      "timeShift": null,
  1104      "title": "Pods CPU usage (1m avg)",
  1105      "tooltip": {
  1106        "msResolution": true,
  1107        "shared": true,
  1108        "sort": 2,
  1109        "value_type": "cumulative"
  1110      },
  1111      "type": "graph",
  1112      "xaxis": {
  1113        "buckets": null,
  1114        "mode": "time",
  1115        "name": null,
  1116        "show": true,
  1117        "values": []
  1118      },
  1119      "yaxes": [
  1120        {
  1121          "format": "none",
  1122          "label": "cores",
  1123          "logBase": 1,
  1124          "max": null,
  1125          "min": null,
  1126          "show": true
  1127        },
  1128        {
  1129          "format": "short",
  1130          "label": null,
  1131          "logBase": 1,
  1132          "max": null,
  1133          "min": null,
  1134          "show": false
  1135        }
  1136      ],
  1137      "yaxis": {
  1138        "align": false,
  1139        "alignLevel": null
  1140      }
  1141    },
  1142    {
  1143      "collapsed": true,
  1144      "gridPos": {
  1145        "h": 1,
  1146        "w": 24,
  1147        "x": 0,
  1148        "y": 23
  1149      },
  1150      "id": 36,
  1151      "panels": [
  1152        {
  1153          "aliasColors": {},
  1154          "bars": false,
  1155          "datasource": {
  1156            "type": "prometheus",
  1157            "uid": "${datasource}"
  1158          },
  1159          "decimals": 3,
  1160          "editable": true,
  1161          "error": false,
  1162          "fill": 0,
  1163          "grid": {},
  1164          "gridPos": {
  1165            "h": 7,
  1166            "w": 24,
  1167            "x": 0,
  1168            "y": 23
  1169          },
  1170          "height": "",
  1171          "id": 23,
  1172          "isNew": true,
  1173          "legend": {
  1174            "alignAsTable": true,
  1175            "avg": true,
  1176            "current": true,
  1177            "max": false,
  1178            "min": false,
  1179            "rightSide": true,
  1180            "show": true,
  1181            "sort": "current",
  1182            "sortDesc": true,
  1183            "total": false,
  1184            "values": true
  1185          },
  1186          "lines": true,
  1187          "linewidth": 2,
  1188          "links": [],
  1189          "nullPointMode": "connected",
  1190          "percentage": false,
  1191          "pointradius": 5,
  1192          "points": false,
  1193          "renderer": "flot",
  1194          "seriesOverrides": [],
  1195          "stack": false,
  1196          "steppedLine": true,
  1197          "targets": [
  1198            {
  1199              "expr": "sum (rate (container_cpu_usage_seconds_total{systemd_service_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (systemd_service_name)",
  1200              "hide": false,
  1201              "interval": "10s",
  1202              "intervalFactor": 1,
  1203              "legendFormat": "{{ systemd_service_name }}",
  1204              "metric": "container_cpu",
  1205              "refId": "A",
  1206              "step": 10
  1207            }
  1208          ],
  1209          "thresholds": [],
  1210          "timeFrom": null,
  1211          "timeShift": null,
  1212          "title": "System services CPU usage (1m avg)",
  1213          "tooltip": {
  1214            "msResolution": true,
  1215            "shared": true,
  1216            "sort": 2,
  1217            "value_type": "cumulative"
  1218          },
  1219          "type": "graph",
  1220          "xaxis": {
  1221            "show": true
  1222          },
  1223          "yaxes": [
  1224            {
  1225              "format": "none",
  1226              "label": "cores",
  1227              "logBase": 1,
  1228              "max": null,
  1229              "min": null,
  1230              "show": true
  1231            },
  1232            {
  1233              "format": "short",
  1234              "label": null,
  1235              "logBase": 1,
  1236              "max": null,
  1237              "min": null,
  1238              "show": false
  1239            }
  1240          ]
  1241        }
  1242      ],
  1243      "title": "System services CPU usage",
  1244      "type": "row"
  1245    },
  1246    {
  1247      "collapsed": true,
  1248      "gridPos": {
  1249        "h": 1,
  1250        "w": 24,
  1251        "x": 0,
  1252        "y": 24
  1253      },
  1254      "id": 37,
  1255      "panels": [
  1256        {
  1257          "aliasColors": {},
  1258          "bars": false,
  1259          "datasource": {
  1260            "type": "prometheus",
  1261            "uid": "${datasource}"
  1262          },
  1263          "decimals": 3,
  1264          "editable": true,
  1265          "error": false,
  1266          "fill": 0,
  1267          "grid": {},
  1268          "gridPos": {
  1269            "h": 7,
  1270            "w": 24,
  1271            "x": 0,
  1272            "y": 24
  1273          },
  1274          "height": "",
  1275          "id": 24,
  1276          "isNew": true,
  1277          "legend": {
  1278            "alignAsTable": true,
  1279            "avg": true,
  1280            "current": true,
  1281            "hideEmpty": false,
  1282            "hideZero": false,
  1283            "max": false,
  1284            "min": false,
  1285            "rightSide": true,
  1286            "show": true,
  1287            "sideWidth": null,
  1288            "sort": "current",
  1289            "sortDesc": true,
  1290            "total": false,
  1291            "values": true
  1292          },
  1293          "lines": true,
  1294          "linewidth": 2,
  1295          "links": [],
  1296          "nullPointMode": "connected",
  1297          "percentage": false,
  1298          "pointradius": 5,
  1299          "points": false,
  1300          "renderer": "flot",
  1301          "seriesOverrides": [],
  1302          "stack": false,
  1303          "steppedLine": true,
  1304          "targets": [
  1305            {
  1306              "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",container_name!=\"POD\",container!=\"POD\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, container, pod_name, pod)",
  1307              "hide": false,
  1308              "interval": "10s",
  1309              "intervalFactor": 1,
  1310              "legendFormat": "pod: {{ pod_name }}{{ pod }} | {{ container_name }}{{ container }}",
  1311              "metric": "container_cpu",
  1312              "refId": "A",
  1313              "step": 10
  1314            },
  1315            {
  1316              "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
  1317              "hide": false,
  1318              "interval": "10s",
  1319              "intervalFactor": 1,
  1320              "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
  1321              "metric": "container_cpu",
  1322              "refId": "B",
  1323              "step": 10
  1324            },
  1325            {
  1326              "expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
  1327              "interval": "10s",
  1328              "intervalFactor": 1,
  1329              "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
  1330              "metric": "container_cpu",
  1331              "refId": "C",
  1332              "step": 10
  1333            }
  1334          ],
  1335          "thresholds": [],
  1336          "timeFrom": null,
  1337          "timeShift": null,
  1338          "title": "Containers CPU usage (1m avg)",
  1339          "tooltip": {
  1340            "msResolution": true,
  1341            "shared": true,
  1342            "sort": 2,
  1343            "value_type": "cumulative"
  1344          },
  1345          "type": "graph",
  1346          "xaxis": {
  1347            "show": true
  1348          },
  1349          "yaxes": [
  1350            {
  1351              "format": "none",
  1352              "label": "cores",
  1353              "logBase": 1,
  1354              "max": null,
  1355              "min": null,
  1356              "show": true
  1357            },
  1358            {
  1359              "format": "short",
  1360              "label": null,
  1361              "logBase": 1,
  1362              "max": null,
  1363              "min": null,
  1364              "show": false
  1365            }
  1366          ]
  1367        }
  1368      ],
  1369      "title": "Containers CPU usage",
  1370      "type": "row"
  1371    },
  1372    {
  1373      "collapsed": true,
  1374      "gridPos": {
  1375        "h": 1,
  1376        "w": 24,
  1377        "x": 0,
  1378        "y": 25
  1379      },
  1380      "id": 38,
  1381      "panels": [
  1382        {
  1383          "aliasColors": {},
  1384          "bars": false,
  1385          "datasource": {
  1386            "type": "prometheus",
  1387            "uid": "${datasource}"
  1388          },
  1389          "decimals": 3,
  1390          "editable": true,
  1391          "error": false,
  1392          "fill": 0,
  1393          "grid": {},
  1394          "gridPos": {
  1395            "h": 13,
  1396            "w": 24,
  1397            "x": 0,
  1398            "y": 25
  1399          },
  1400          "id": 20,
  1401          "isNew": true,
  1402          "legend": {
  1403            "alignAsTable": true,
  1404            "avg": true,
  1405            "current": true,
  1406            "max": false,
  1407            "min": false,
  1408            "rightSide": false,
  1409            "show": true,
  1410            "sort": "current",
  1411            "sortDesc": true,
  1412            "total": false,
  1413            "values": true
  1414          },
  1415          "lines": true,
  1416          "linewidth": 2,
  1417          "links": [],
  1418          "nullPointMode": "connected",
  1419          "percentage": false,
  1420          "pointradius": 5,
  1421          "points": false,
  1422          "renderer": "flot",
  1423          "seriesOverrides": [],
  1424          "stack": false,
  1425          "steppedLine": true,
  1426          "targets": [
  1427            {
  1428              "expr": "sum (rate (container_cpu_usage_seconds_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
  1429              "hide": false,
  1430              "interval": "10s",
  1431              "intervalFactor": 1,
  1432              "legendFormat": "{{ id }}",
  1433              "metric": "container_cpu",
  1434              "refId": "A",
  1435              "step": 10
  1436            }
  1437          ],
  1438          "thresholds": [],
  1439          "timeFrom": null,
  1440          "timeShift": null,
  1441          "title": "All processes CPU usage (1m avg)",
  1442          "tooltip": {
  1443            "msResolution": true,
  1444            "shared": true,
  1445            "sort": 2,
  1446            "value_type": "cumulative"
  1447          },
  1448          "type": "graph",
  1449          "xaxis": {
  1450            "show": true
  1451          },
  1452          "yaxes": [
  1453            {
  1454              "format": "none",
  1455              "label": "cores",
  1456              "logBase": 1,
  1457              "max": null,
  1458              "min": null,
  1459              "show": true
  1460            },
  1461            {
  1462              "format": "short",
  1463              "label": null,
  1464              "logBase": 1,
  1465              "max": null,
  1466              "min": null,
  1467              "show": false
  1468            }
  1469          ]
  1470        }
  1471      ],
  1472      "repeat": null,
  1473      "title": "All processes CPU usage",
  1474      "type": "row"
  1475    },
  1476    {
  1477      "collapsed": false,
  1478      "gridPos": {
  1479        "h": 1,
  1480        "w": 24,
  1481        "x": 0,
  1482        "y": 26
  1483      },
  1484      "id": 39,
  1485      "panels": [],
  1486      "title": "Pods memory usage",
  1487      "type": "row"
  1488    },
  1489    {
  1490      "aliasColors": {},
  1491      "bars": false,
  1492      "dashLength": 10,
  1493      "dashes": false,
  1494      "datasource": {
  1495        "type": "prometheus",
  1496        "uid": "${datasource}"
  1497      },
  1498      "decimals": 2,
  1499      "editable": true,
  1500      "error": false,
  1501      "fill": 0,
  1502      "grid": {},
  1503      "gridPos": {
  1504        "h": 7,
  1505        "w": 24,
  1506        "x": 0,
  1507        "y": 27
  1508      },
  1509      "id": 25,
  1510      "isNew": true,
  1511      "legend": {
  1512        "alignAsTable": true,
  1513        "avg": true,
  1514        "current": true,
  1515        "max": false,
  1516        "min": false,
  1517        "rightSide": true,
  1518        "show": true,
  1519        "sideWidth": 200,
  1520        "sort": "current",
  1521        "sortDesc": true,
  1522        "total": false,
  1523        "values": true
  1524      },
  1525      "lines": true,
  1526      "linewidth": 2,
  1527      "links": [],
  1528      "nullPointMode": "connected",
  1529      "options": {},
  1530      "percentage": false,
  1531      "pointradius": 5,
  1532      "points": false,
  1533      "renderer": "flot",
  1534      "seriesOverrides": [],
  1535      "spaceLength": 10,
  1536      "stack": false,
  1537      "steppedLine": true,
  1538      "targets": [
  1539        {
  1540          "expr": "sum (container_memory_working_set_bytes{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}) by (pod_name, pod)",
  1541          "interval": "10s",
  1542          "intervalFactor": 1,
  1543          "legendFormat": "{{ pod_name }}{{ pod }}",
  1544          "metric": "container_memory_usage:sort_desc",
  1545          "refId": "A",
  1546          "step": 10
  1547        }
  1548      ],
  1549      "thresholds": [],
  1550      "timeFrom": null,
  1551      "timeRegions": [],
  1552      "timeShift": null,
  1553      "title": "Pods memory usage",
  1554      "tooltip": {
  1555        "msResolution": false,
  1556        "shared": true,
  1557        "sort": 2,
  1558        "value_type": "cumulative"
  1559      },
  1560      "type": "graph",
  1561      "xaxis": {
  1562        "buckets": null,
  1563        "mode": "time",
  1564        "name": null,
  1565        "show": true,
  1566        "values": []
  1567      },
  1568      "yaxes": [
  1569        {
  1570          "format": "bytes",
  1571          "label": null,
  1572          "logBase": 1,
  1573          "max": null,
  1574          "min": null,
  1575          "show": true
  1576        },
  1577        {
  1578          "format": "short",
  1579          "label": null,
  1580          "logBase": 1,
  1581          "max": null,
  1582          "min": null,
  1583          "show": false
  1584        }
  1585      ],
  1586      "yaxis": {
  1587        "align": false,
  1588        "alignLevel": null
  1589      }
  1590    },
  1591    {
  1592      "collapsed": true,
  1593      "gridPos": {
  1594        "h": 1,
  1595        "w": 24,
  1596        "x": 0,
  1597        "y": 34
  1598      },
  1599      "id": 40,
  1600      "panels": [
  1601        {
  1602          "aliasColors": {},
  1603          "bars": false,
  1604          "datasource": {
  1605            "type": "prometheus",
  1606            "uid": "${datasource}"
  1607          },
  1608          "decimals": 2,
  1609          "editable": true,
  1610          "error": false,
  1611          "fill": 0,
  1612          "grid": {},
  1613          "gridPos": {
  1614            "h": 7,
  1615            "w": 24,
  1616            "x": 0,
  1617            "y": 34
  1618          },
  1619          "id": 26,
  1620          "isNew": true,
  1621          "legend": {
  1622            "alignAsTable": true,
  1623            "avg": true,
  1624            "current": true,
  1625            "max": false,
  1626            "min": false,
  1627            "rightSide": true,
  1628            "show": true,
  1629            "sideWidth": 200,
  1630            "sort": "current",
  1631            "sortDesc": true,
  1632            "total": false,
  1633            "values": true
  1634          },
  1635          "lines": true,
  1636          "linewidth": 2,
  1637          "links": [],
  1638          "nullPointMode": "connected",
  1639          "percentage": false,
  1640          "pointradius": 5,
  1641          "points": false,
  1642          "renderer": "flot",
  1643          "seriesOverrides": [],
  1644          "stack": false,
  1645          "steppedLine": true,
  1646          "targets": [
  1647            {
  1648              "expr": "sum (container_memory_working_set_bytes{systemd_service_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}) by (systemd_service_name)",
  1649              "interval": "10s",
  1650              "intervalFactor": 1,
  1651              "legendFormat": "{{ systemd_service_name }}",
  1652              "metric": "container_memory_usage:sort_desc",
  1653              "refId": "A",
  1654              "step": 10
  1655            }
  1656          ],
  1657          "thresholds": [],
  1658          "timeFrom": null,
  1659          "timeShift": null,
  1660          "title": "System services memory usage",
  1661          "tooltip": {
  1662            "msResolution": false,
  1663            "shared": true,
  1664            "sort": 2,
  1665            "value_type": "cumulative"
  1666          },
  1667          "type": "graph",
  1668          "xaxis": {
  1669            "show": true
  1670          },
  1671          "yaxes": [
  1672            {
  1673              "format": "bytes",
  1674              "label": null,
  1675              "logBase": 1,
  1676              "max": null,
  1677              "min": null,
  1678              "show": true
  1679            },
  1680            {
  1681              "format": "short",
  1682              "label": null,
  1683              "logBase": 1,
  1684              "max": null,
  1685              "min": null,
  1686              "show": false
  1687            }
  1688          ]
  1689        }
  1690      ],
  1691      "title": "System services memory usage",
  1692      "type": "row"
  1693    },
  1694    {
  1695      "collapsed": true,
  1696      "gridPos": {
  1697        "h": 1,
  1698        "w": 24,
  1699        "x": 0,
  1700        "y": 35
  1701      },
  1702      "id": 41,
  1703      "panels": [
  1704        {
  1705          "aliasColors": {},
  1706          "bars": false,
  1707          "datasource": {
  1708            "type": "prometheus",
  1709            "uid": "${datasource}"
  1710          },
  1711          "decimals": 2,
  1712          "editable": true,
  1713          "error": false,
  1714          "fill": 0,
  1715          "grid": {},
  1716          "gridPos": {
  1717            "h": 7,
  1718            "w": 24,
  1719            "x": 0,
  1720            "y": 35
  1721          },
  1722          "id": 27,
  1723          "isNew": true,
  1724          "legend": {
  1725            "alignAsTable": true,
  1726            "avg": true,
  1727            "current": true,
  1728            "max": false,
  1729            "min": false,
  1730            "rightSide": true,
  1731            "show": true,
  1732            "sideWidth": 200,
  1733            "sort": "current",
  1734            "sortDesc": true,
  1735            "total": false,
  1736            "values": true
  1737          },
  1738          "lines": true,
  1739          "linewidth": 2,
  1740          "links": [],
  1741          "nullPointMode": "connected",
  1742          "percentage": false,
  1743          "pointradius": 5,
  1744          "points": false,
  1745          "renderer": "flot",
  1746          "seriesOverrides": [],
  1747          "stack": false,
  1748          "steppedLine": true,
  1749          "targets": [
  1750            {
  1751              "expr": "sum (container_memory_working_set_bytes{image!=\"\",container_name!=\"POD\",container!=\"POD\",kubernetes_io_hostname=~\"^$Node$\"}) by (container_name, container, pod_name, pod)",
  1752              "interval": "10s",
  1753              "intervalFactor": 1,
  1754              "legendFormat": "pod: {{ pod_name }}{{ pod }} | {{ container_name }}{{ container }}",
  1755              "metric": "container_memory_usage:sort_desc",
  1756              "refId": "A",
  1757              "step": 10
  1758            },
  1759            {
  1760              "expr": "sum (container_memory_working_set_bytes{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}) by (kubernetes_io_hostname, name, image)",
  1761              "interval": "10s",
  1762              "intervalFactor": 1,
  1763              "legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
  1764              "metric": "container_memory_usage:sort_desc",
  1765              "refId": "B",
  1766              "step": 10
  1767            },
  1768            {
  1769              "expr": "sum (container_memory_working_set_bytes{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}) by (kubernetes_io_hostname, rkt_container_name)",
  1770              "interval": "10s",
  1771              "intervalFactor": 1,
  1772              "legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
  1773              "metric": "container_memory_usage:sort_desc",
  1774              "refId": "C",
  1775              "step": 10
  1776            }
  1777          ],
  1778          "thresholds": [],
  1779          "timeFrom": null,
  1780          "timeShift": null,
  1781          "title": "Containers memory usage",
  1782          "tooltip": {
  1783            "msResolution": false,
  1784            "shared": true,
  1785            "sort": 2,
  1786            "value_type": "cumulative"
  1787          },
  1788          "type": "graph",
  1789          "xaxis": {
  1790            "show": true
  1791          },
  1792          "yaxes": [
  1793            {
  1794              "format": "bytes",
  1795              "label": null,
  1796              "logBase": 1,
  1797              "max": null,
  1798              "min": null,
  1799              "show": true
  1800            },
  1801            {
  1802              "format": "short",
  1803              "label": null,
  1804              "logBase": 1,
  1805              "max": null,
  1806              "min": null,
  1807              "show": false
  1808            }
  1809          ]
  1810        }
  1811      ],
  1812      "title": "Containers memory usage",
  1813      "type": "row"
  1814    },
  1815    {
  1816      "collapsed": true,
  1817      "gridPos": {
  1818        "h": 1,
  1819        "w": 24,
  1820        "x": 0,
  1821        "y": 36
  1822      },
  1823      "id": 42,
  1824      "panels": [
  1825        {
  1826          "aliasColors": {},
  1827          "bars": false,
  1828          "datasource": {
  1829            "type": "prometheus",
  1830            "uid": "${datasource}"
  1831          },
  1832          "decimals": 2,
  1833          "editable": true,
  1834          "error": false,
  1835          "fill": 0,
  1836          "grid": {},
  1837          "gridPos": {
  1838            "h": 13,
  1839            "w": 24,
  1840            "x": 0,
  1841            "y": 36
  1842          },
  1843          "id": 28,
  1844          "isNew": true,
  1845          "legend": {
  1846            "alignAsTable": true,
  1847            "avg": true,
  1848            "current": true,
  1849            "max": false,
  1850            "min": false,
  1851            "rightSide": false,
  1852            "show": true,
  1853            "sideWidth": 200,
  1854            "sort": "current",
  1855            "sortDesc": true,
  1856            "total": false,
  1857            "values": true
  1858          },
  1859          "lines": true,
  1860          "linewidth": 2,
  1861          "links": [],
  1862          "nullPointMode": "connected",
  1863          "percentage": false,
  1864          "pointradius": 5,
  1865          "points": false,
  1866          "renderer": "flot",
  1867          "seriesOverrides": [],
  1868          "stack": false,
  1869          "steppedLine": true,
  1870          "targets": [
  1871            {
  1872              "expr": "sum (container_memory_working_set_bytes{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) by (id)",
  1873              "interval": "10s",
  1874              "intervalFactor": 1,
  1875              "legendFormat": "{{ id }}",
  1876              "metric": "container_memory_usage:sort_desc",
  1877              "refId": "A",
  1878              "step": 10
  1879            }
  1880          ],
  1881          "thresholds": [],
  1882          "timeFrom": null,
  1883          "timeShift": null,
  1884          "title": "All processes memory usage",
  1885          "tooltip": {
  1886            "msResolution": false,
  1887            "shared": true,
  1888            "sort": 2,
  1889            "value_type": "cumulative"
  1890          },
  1891          "type": "graph",
  1892          "xaxis": {
  1893            "show": true
  1894          },
  1895          "yaxes": [
  1896            {
  1897              "format": "bytes",
  1898              "label": null,
  1899              "logBase": 1,
  1900              "max": null,
  1901              "min": null,
  1902              "show": true
  1903            },
  1904            {
  1905              "format": "short",
  1906              "label": null,
  1907              "logBase": 1,
  1908              "max": null,
  1909              "min": null,
  1910              "show": false
  1911            }
  1912          ]
  1913        }
  1914      ],
  1915      "title": "All processes memory usage",
  1916      "type": "row"
  1917    },
  1918    {
  1919      "collapsed": false,
  1920      "gridPos": {
  1921        "h": 1,
  1922        "w": 24,
  1923        "x": 0,
  1924        "y": 37
  1925      },
  1926      "id": 43,
  1927      "panels": [],
  1928      "title": "Pods network I/O",
  1929      "type": "row"
  1930    },
  1931    {
  1932      "aliasColors": {},
  1933      "bars": false,
  1934      "datasource": {
  1935        "type": "prometheus",
  1936        "uid": "${datasource}"
  1937      },
  1938      "decimals": 2,
  1939      "editable": true,
  1940      "error": false,
  1941      "fill": 1,
  1942      "grid": {},
  1943      "gridPos": {
  1944        "h": 7,
  1945        "w": 24,
  1946        "x": 0,
  1947        "y": 38
  1948      },
  1949      "id": 16,
  1950      "isNew": true,
  1951      "legend": {
  1952        "alignAsTable": true,
  1953        "avg": true,
  1954        "current": true,
  1955        "max": false,
  1956        "min": false,
  1957        "rightSide": true,
  1958        "show": true,
  1959        "sideWidth": 200,
  1960        "sort": "current",
  1961        "sortDesc": true,
  1962        "total": false,
  1963        "values": true
  1964      },
  1965      "lines": true,
  1966      "linewidth": 2,
  1967      "links": [],
  1968      "nullPointMode": "connected",
  1969      "options": {},
  1970      "percentage": false,
  1971      "pointradius": 5,
  1972      "points": false,
  1973      "renderer": "flot",
  1974      "seriesOverrides": [],
  1975      "stack": false,
  1976      "steppedLine": false,
  1977      "targets": [
  1978        {
  1979          "expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name, pod)",
  1980          "interval": "10s",
  1981          "intervalFactor": 1,
  1982          "legendFormat": "-> {{ pod_name }}{{ pod }}",
  1983          "metric": "network",
  1984          "refId": "A",
  1985          "step": 10
  1986        },
  1987        {
  1988          "expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (pod_name, pod)",
  1989          "interval": "10s",
  1990          "intervalFactor": 1,
  1991          "legendFormat": "<- {{ pod_name }}{{ pod }}",
  1992          "metric": "network",
  1993          "refId": "B",
  1994          "step": 10
  1995        }
  1996      ],
  1997      "thresholds": [],
  1998      "timeFrom": null,
  1999      "timeShift": null,
  2000      "title": "Pods network I/O (1m avg)",
  2001      "tooltip": {
  2002        "msResolution": false,
  2003        "shared": true,
  2004        "sort": 2,
  2005        "value_type": "cumulative"
  2006      },
  2007      "type": "graph",
  2008      "xaxis": {
  2009        "show": true
  2010      },
  2011      "yaxes": [
  2012        {
  2013          "format": "Bps",
  2014          "label": null,
  2015          "logBase": 1,
  2016          "max": null,
  2017          "min": null,
  2018          "show": true
  2019        },
  2020        {
  2021          "format": "short",
  2022          "label": null,
  2023          "logBase": 1,
  2024          "max": null,
  2025          "min": null,
  2026          "show": false
  2027        }
  2028      ]
  2029    },
  2030    {
  2031      "collapsed": true,
  2032      "gridPos": {
  2033        "h": 1,
  2034        "w": 24,
  2035        "x": 0,
  2036        "y": 45
  2037      },
  2038      "id": 44,
  2039      "panels": [
  2040        {
  2041          "aliasColors": {},
  2042          "bars": false,
  2043          "datasource": {
  2044            "type": "prometheus",
  2045            "uid": "${datasource}"
  2046          },
  2047          "decimals": 2,
  2048          "editable": true,
  2049          "error": false,
  2050          "fill": 1,
  2051          "grid": {},
  2052          "gridPos": {
  2053            "h": 7,
  2054            "w": 24,
  2055            "x": 0,
  2056            "y": 45
  2057          },
  2058          "id": 30,
  2059          "isNew": true,
  2060          "legend": {
  2061            "alignAsTable": true,
  2062            "avg": true,
  2063            "current": true,
  2064            "max": false,
  2065            "min": false,
  2066            "rightSide": true,
  2067            "show": true,
  2068            "sideWidth": 200,
  2069            "sort": "current",
  2070            "sortDesc": true,
  2071            "total": false,
  2072            "values": true
  2073          },
  2074          "lines": true,
  2075          "linewidth": 2,
  2076          "links": [],
  2077          "nullPointMode": "connected",
  2078          "percentage": false,
  2079          "pointradius": 5,
  2080          "points": false,
  2081          "renderer": "flot",
  2082          "seriesOverrides": [],
  2083          "stack": false,
  2084          "steppedLine": false,
  2085          "targets": [
  2086            {
  2087              "expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, container, pod_name, pod)",
  2088              "hide": false,
  2089              "interval": "10s",
  2090              "intervalFactor": 1,
  2091              "legendFormat": "-> pod: {{ pod_name }}{{ pod }} | {{ container_name }}{{ container }}",
  2092              "metric": "network",
  2093              "refId": "B",
  2094              "step": 10
  2095            },
  2096            {
  2097              "expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (container_name, container, pod_name, pod)",
  2098              "hide": false,
  2099              "interval": "10s",
  2100              "intervalFactor": 1,
  2101              "legendFormat": "<- pod: {{ pod_name }}{{ pod }} | {{ container_name }}{{ container }}",
  2102              "metric": "network",
  2103              "refId": "D",
  2104              "step": 10
  2105            },
  2106            {
  2107              "expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
  2108              "hide": false,
  2109              "interval": "10s",
  2110              "intervalFactor": 1,
  2111              "legendFormat": "-> docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
  2112              "metric": "network",
  2113              "refId": "A",
  2114              "step": 10
  2115            },
  2116            {
  2117              "expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
  2118              "hide": false,
  2119              "interval": "10s",
  2120              "intervalFactor": 1,
  2121              "legendFormat": "<- docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
  2122              "metric": "network",
  2123              "refId": "C",
  2124              "step": 10
  2125            },
  2126            {
  2127              "expr": "sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
  2128              "hide": false,
  2129              "interval": "10s",
  2130              "intervalFactor": 1,
  2131              "legendFormat": "-> rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
  2132              "metric": "network",
  2133              "refId": "E",
  2134              "step": 10
  2135            },
  2136            {
  2137              "expr": "- sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
  2138              "hide": false,
  2139              "interval": "10s",
  2140              "intervalFactor": 1,
  2141              "legendFormat": "<- rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
  2142              "metric": "network",
  2143              "refId": "F",
  2144              "step": 10
  2145            }
  2146          ],
  2147          "thresholds": [],
  2148          "timeFrom": null,
  2149          "timeShift": null,
  2150          "title": "Containers network I/O (1m avg)",
  2151          "tooltip": {
  2152            "msResolution": false,
  2153            "shared": true,
  2154            "sort": 2,
  2155            "value_type": "cumulative"
  2156          },
  2157          "type": "graph",
  2158          "xaxis": {
  2159            "show": true
  2160          },
  2161          "yaxes": [
  2162            {
  2163              "format": "Bps",
  2164              "label": null,
  2165              "logBase": 1,
  2166              "max": null,
  2167              "min": null,
  2168              "show": true
  2169            },
  2170            {
  2171              "format": "short",
  2172              "label": null,
  2173              "logBase": 1,
  2174              "max": null,
  2175              "min": null,
  2176              "show": false
  2177            }
  2178          ]
  2179        }
  2180      ],
  2181      "title": "Containers network I/O",
  2182      "type": "row"
  2183    },
  2184    {
  2185      "collapsed": true,
  2186      "gridPos": {
  2187        "h": 1,
  2188        "w": 24,
  2189        "x": 0,
  2190        "y": 46
  2191      },
  2192      "id": 45,
  2193      "panels": [
  2194        {
  2195          "aliasColors": {},
  2196          "bars": false,
  2197          "datasource": {
  2198            "type": "prometheus",
  2199            "uid": "${datasource}"
  2200          },
  2201          "decimals": 2,
  2202          "editable": true,
  2203          "error": false,
  2204          "fill": 1,
  2205          "grid": {},
  2206          "gridPos": {
  2207            "h": 13,
  2208            "w": 24,
  2209            "x": 0,
  2210            "y": 46
  2211          },
  2212          "id": 29,
  2213          "isNew": true,
  2214          "legend": {
  2215            "alignAsTable": true,
  2216            "avg": true,
  2217            "current": true,
  2218            "max": false,
  2219            "min": false,
  2220            "rightSide": false,
  2221            "show": true,
  2222            "sideWidth": 200,
  2223            "sort": "current",
  2224            "sortDesc": true,
  2225            "total": false,
  2226            "values": true
  2227          },
  2228          "lines": true,
  2229          "linewidth": 2,
  2230          "links": [],
  2231          "nullPointMode": "connected",
  2232          "percentage": false,
  2233          "pointradius": 5,
  2234          "points": false,
  2235          "renderer": "flot",
  2236          "seriesOverrides": [],
  2237          "stack": false,
  2238          "steppedLine": false,
  2239          "targets": [
  2240            {
  2241              "expr": "sum (rate (container_network_receive_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
  2242              "interval": "10s",
  2243              "intervalFactor": 1,
  2244              "legendFormat": "-> {{ id }}",
  2245              "metric": "network",
  2246              "refId": "A",
  2247              "step": 10
  2248            },
  2249            {
  2250              "expr": "- sum (rate (container_network_transmit_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
  2251              "interval": "10s",
  2252              "intervalFactor": 1,
  2253              "legendFormat": "<- {{ id }}",
  2254              "metric": "network",
  2255              "refId": "B",
  2256              "step": 10
  2257            }
  2258          ],
  2259          "thresholds": [],
  2260          "timeFrom": null,
  2261          "timeShift": null,
  2262          "title": "All processes network I/O (1m avg)",
  2263          "tooltip": {
  2264            "msResolution": false,
  2265            "shared": true,
  2266            "sort": 2,
  2267            "value_type": "cumulative"
  2268          },
  2269          "type": "graph",
  2270          "xaxis": {
  2271            "show": true
  2272          },
  2273          "yaxes": [
  2274            {
  2275              "format": "Bps",
  2276              "label": null,
  2277              "logBase": 1,
  2278              "max": null,
  2279              "min": null,
  2280              "show": true
  2281            },
  2282            {
  2283              "format": "short",
  2284              "label": null,
  2285              "logBase": 1,
  2286              "max": null,
  2287              "min": null,
  2288              "show": false
  2289            }
  2290          ]
  2291        }
  2292      ],
  2293      "title": "All processes network I/O",
  2294      "type": "row"
  2295    }
  2296  ],
  2297  "refresh": "1m",
  2298  "schemaVersion": 18,
  2299  "style": "dark",
  2300  "tags": [
  2301    "kubernetes"
  2302  ],
  2303  "templating": {
  2304    "list": [
  2305      {
  2306        "current": {
  2307          "selected": false,
  2308          "text": "default",
  2309          "value": "default"
  2310        },
  2311        "hide": 0,
  2312        "includeAll": false,
  2313        "label": "Data Source",
  2314        "multi": false,
  2315        "name": "datasource",
  2316        "options": [],
  2317        "query": "prometheus",
  2318        "refresh": 1,
  2319        "regex": "",
  2320        "skipUrlSync": false,
  2321        "type": "datasource"
  2322      },
  2323      {
  2324        "allValue": ".*",
  2325        "current": {},
  2326        "datasource": {
  2327          "type": "prometheus",
  2328          "uid": "${datasource}"
  2329        },
  2330        "definition": "",
  2331        "hide": 0,
  2332        "includeAll": true,
  2333        "label": null,
  2334        "multi": false,
  2335        "name": "Node",
  2336        "options": [],
  2337        "query": "label_values(kubernetes_io_hostname)",
  2338        "refresh": 1,
  2339        "regex": "",
  2340        "skipUrlSync": false,
  2341        "sort": 0,
  2342        "tagValuesQuery": "",
  2343        "tags": [],
  2344        "tagsQuery": "",
  2345        "type": "query",
  2346        "useTags": false
  2347      }
  2348    ]
  2349  },
  2350  "time": {
  2351    "from": "now-5m",
  2352    "to": "now"
  2353  },
  2354  "timepicker": {
  2355    "refresh_intervals": [
  2356      "5s",
  2357      "10s",
  2358      "30s",
  2359      "1m",
  2360      "5m",
  2361      "15m",
  2362      "30m",
  2363      "1h",
  2364      "2h",
  2365      "1d"
  2366    ],
  2367    "time_options": [
  2368      "5m",
  2369      "15m",
  2370      "1h",
  2371      "6h",
  2372      "12h",
  2373      "24h",
  2374      "2d",
  2375      "7d",
  2376      "30d"
  2377    ]
  2378  },
  2379  "timezone": "browser",
  2380  "title": "Kubernetes cluster monitoring (via Prometheus)",
  2381  "uid": "k8s",
  2382  "version": 1
  2383}

View as plain text