github.com/verrazzano/verrazzano@v1.7.1/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/grafana/dashboards-1.14/pod-total.yaml (about)

     1  {{- /*
     2  Generated from 'pod-total' from https://raw.githubusercontent.com/prometheus-operator/kube-prometheus/main/manifests/grafana-dashboardDefinitions.yaml
     3  Do not change in-place! In order to change this file first read following link:
     4  https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack/hack
     5  */ -}}
     6  {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }}
     7  {{- if and (or .Values.grafana.enabled .Values.grafana.forceDeployDashboards) (semverCompare ">=1.14.0-0" $kubeTargetVersion) (semverCompare "<9.9.9-9" $kubeTargetVersion) .Values.grafana.defaultDashboardsEnabled }}
     8  apiVersion: v1
     9  kind: ConfigMap
    10  metadata:
    11    namespace: {{ template "kube-prometheus-stack-grafana.namespace" . }}
    12    name: {{ printf "%s-%s" (include "kube-prometheus-stack.fullname" $) "pod-total" | trunc 63 | trimSuffix "-" }}
    13    annotations:
    14  {{ toYaml .Values.grafana.sidecar.dashboards.annotations | indent 4 }}
    15    labels:
    16      {{- if $.Values.grafana.sidecar.dashboards.label }}
    17      {{ $.Values.grafana.sidecar.dashboards.label }}: {{ ternary $.Values.grafana.sidecar.dashboards.labelValue "1" (not (empty $.Values.grafana.sidecar.dashboards.labelValue)) | quote }}
    18      {{- end }}
    19      app: {{ template "kube-prometheus-stack.name" $ }}-grafana
    20  {{ include "kube-prometheus-stack.labels" $ | indent 4 }}
    21  data:
    22    pod-total.json: |-
    23      {
    24          "__inputs": [
    25  
    26          ],
    27          "__requires": [
    28  
    29          ],
    30          "annotations": {
    31              "list": [
    32                  {
    33                      "builtIn": 1,
    34                      "datasource": "-- Grafana --",
    35                      "enable": true,
    36                      "hide": true,
    37                      "iconColor": "rgba(0, 211, 255, 1)",
    38                      "name": "Annotations & Alerts",
    39                      "type": "dashboard"
    40                  }
    41              ]
    42          },
    43          "editable": true,
    44          "gnetId": null,
    45          "graphTooltip": 0,
    46          "hideControls": false,
    47          "id": null,
    48          "links": [
    49  
    50          ],
    51          "panels": [
    52              {
    53                  "collapse": false,
    54                  "collapsed": false,
    55                  "gridPos": {
    56                      "h": 1,
    57                      "w": 24,
    58                      "x": 0,
    59                      "y": 0
    60                  },
    61                  "id": 2,
    62                  "panels": [
    63  
    64                  ],
    65                  "repeat": null,
    66                  "repeatIteration": null,
    67                  "repeatRowId": null,
    68                  "showTitle": true,
    69                  "title": "Current Bandwidth",
    70                  "titleSize": "h6",
    71                  "type": "row"
    72              },
    73              {
    74                  "cacheTimeout": null,
    75                  "colorBackground": false,
    76                  "colorValue": false,
    77                  "colors": [
    78                      "#299c46",
    79                      "rgba(237, 129, 40, 0.89)",
    80                      "#d44a3a"
    81                  ],
    82                  "datasource": "$datasource",
    83                  "decimals": 0,
    84                  "format": "time_series",
    85                  "gauge": {
    86                      "maxValue": 100,
    87                      "minValue": 0,
    88                      "show": false,
    89                      "thresholdLabels": false,
    90                      "thresholdMarkers": true
    91                  },
    92                  "gridPos": {
    93                      "h": 9,
    94                      "w": 12,
    95                      "x": 0,
    96                      "y": 1
    97                  },
    98                  "height": 9,
    99                  "id": 3,
   100                  "interval": null,
   101                  "links": [
   102  
   103                  ],
   104                  "mappingType": 1,
   105                  "mappingTypes": [
   106                      {
   107                          "name": "value to text",
   108                          "value": 1
   109                      },
   110                      {
   111                          "name": "range to text",
   112                          "value": 2
   113                      }
   114                  ],
   115                  "maxDataPoints": 100,
   116                  "minSpan": 12,
   117                  "nullPointMode": "connected",
   118                  "nullText": null,
   119                  "options": {
   120                      "fieldOptions": {
   121                          "calcs": [
   122                              "last"
   123                          ],
   124                          "defaults": {
   125                              "max": 10000000000,
   126                              "min": 0,
   127                              "title": "$namespace: $pod",
   128                              "unit": "Bps"
   129                          },
   130                          "mappings": [
   131  
   132                          ],
   133                          "override": {
   134  
   135                          },
   136                          "thresholds": [
   137                              {
   138                                  "color": "dark-green",
   139                                  "index": 0,
   140                                  "value": null
   141                              },
   142                              {
   143                                  "color": "dark-yellow",
   144                                  "index": 1,
   145                                  "value": 5000000000
   146                              },
   147                              {
   148                                  "color": "dark-red",
   149                                  "index": 2,
   150                                  "value": 7000000000
   151                              }
   152                          ],
   153                          "values": false
   154                      }
   155                  },
   156                  "postfix": "",
   157                  "postfixFontSize": "50%",
   158                  "prefix": "",
   159                  "prefixFontSize": "50%",
   160                  "rangeMaps": [
   161                      {
   162                          "from": "null",
   163                          "text": "N/A",
   164                          "to": "null"
   165                      }
   166                  ],
   167                  "span": 12,
   168                  "sparkline": {
   169                      "fillColor": "rgba(31, 118, 189, 0.18)",
   170                      "full": false,
   171                      "lineColor": "rgb(31, 120, 193)",
   172                      "show": false
   173                  },
   174                  "tableColumn": "",
   175                  "targets": [
   176                      {
   177                          "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))",
   178                          "format": "time_series",
   179                          "instant": null,
   180                          "intervalFactor": 1,
   181                          "legendFormat": "",
   182                          "refId": "A"
   183                      }
   184                  ],
   185                  "thresholds": "",
   186                  "timeFrom": null,
   187                  "timeShift": null,
   188                  "title": "Current Rate of Bytes Received",
   189                  "type": "gauge",
   190                  "valueFontSize": "80%",
   191                  "valueMaps": [
   192                      {
   193                          "op": "=",
   194                          "text": "N/A",
   195                          "value": "null"
   196                      }
   197                  ],
   198                  "valueName": "current"
   199              },
   200              {
   201                  "cacheTimeout": null,
   202                  "colorBackground": false,
   203                  "colorValue": false,
   204                  "colors": [
   205                      "#299c46",
   206                      "rgba(237, 129, 40, 0.89)",
   207                      "#d44a3a"
   208                  ],
   209                  "datasource": "$datasource",
   210                  "decimals": 0,
   211                  "format": "time_series",
   212                  "gauge": {
   213                      "maxValue": 100,
   214                      "minValue": 0,
   215                      "show": false,
   216                      "thresholdLabels": false,
   217                      "thresholdMarkers": true
   218                  },
   219                  "gridPos": {
   220                      "h": 9,
   221                      "w": 12,
   222                      "x": 12,
   223                      "y": 1
   224                  },
   225                  "height": 9,
   226                  "id": 4,
   227                  "interval": null,
   228                  "links": [
   229  
   230                  ],
   231                  "mappingType": 1,
   232                  "mappingTypes": [
   233                      {
   234                          "name": "value to text",
   235                          "value": 1
   236                      },
   237                      {
   238                          "name": "range to text",
   239                          "value": 2
   240                      }
   241                  ],
   242                  "maxDataPoints": 100,
   243                  "minSpan": 12,
   244                  "nullPointMode": "connected",
   245                  "nullText": null,
   246                  "options": {
   247                      "fieldOptions": {
   248                          "calcs": [
   249                              "last"
   250                          ],
   251                          "defaults": {
   252                              "max": 10000000000,
   253                              "min": 0,
   254                              "title": "$namespace: $pod",
   255                              "unit": "Bps"
   256                          },
   257                          "mappings": [
   258  
   259                          ],
   260                          "override": {
   261  
   262                          },
   263                          "thresholds": [
   264                              {
   265                                  "color": "dark-green",
   266                                  "index": 0,
   267                                  "value": null
   268                              },
   269                              {
   270                                  "color": "dark-yellow",
   271                                  "index": 1,
   272                                  "value": 5000000000
   273                              },
   274                              {
   275                                  "color": "dark-red",
   276                                  "index": 2,
   277                                  "value": 7000000000
   278                              }
   279                          ],
   280                          "values": false
   281                      }
   282                  },
   283                  "postfix": "",
   284                  "postfixFontSize": "50%",
   285                  "prefix": "",
   286                  "prefixFontSize": "50%",
   287                  "rangeMaps": [
   288                      {
   289                          "from": "null",
   290                          "text": "N/A",
   291                          "to": "null"
   292                      }
   293                  ],
   294                  "span": 12,
   295                  "sparkline": {
   296                      "fillColor": "rgba(31, 118, 189, 0.18)",
   297                      "full": false,
   298                      "lineColor": "rgb(31, 120, 193)",
   299                      "show": false
   300                  },
   301                  "tableColumn": "",
   302                  "targets": [
   303                      {
   304                          "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution]))",
   305                          "format": "time_series",
   306                          "instant": null,
   307                          "intervalFactor": 1,
   308                          "legendFormat": "",
   309                          "refId": "A"
   310                      }
   311                  ],
   312                  "thresholds": "",
   313                  "timeFrom": null,
   314                  "timeShift": null,
   315                  "title": "Current Rate of Bytes Transmitted",
   316                  "type": "gauge",
   317                  "valueFontSize": "80%",
   318                  "valueMaps": [
   319                      {
   320                          "op": "=",
   321                          "text": "N/A",
   322                          "value": "null"
   323                      }
   324                  ],
   325                  "valueName": "current"
   326              },
   327              {
   328                  "collapse": false,
   329                  "collapsed": false,
   330                  "gridPos": {
   331                      "h": 1,
   332                      "w": 24,
   333                      "x": 0,
   334                      "y": 10
   335                  },
   336                  "id": 5,
   337                  "panels": [
   338  
   339                  ],
   340                  "repeat": null,
   341                  "repeatIteration": null,
   342                  "repeatRowId": null,
   343                  "showTitle": true,
   344                  "title": "Bandwidth",
   345                  "titleSize": "h6",
   346                  "type": "row"
   347              },
   348              {
   349                  "aliasColors": {
   350  
   351                  },
   352                  "bars": false,
   353                  "dashLength": 10,
   354                  "dashes": false,
   355                  "datasource": "$datasource",
   356                  "fill": 2,
   357                  "fillGradient": 0,
   358                  "gridPos": {
   359                      "h": 9,
   360                      "w": 12,
   361                      "x": 0,
   362                      "y": 11
   363                  },
   364                  "id": 6,
   365                  "legend": {
   366                      "alignAsTable": false,
   367                      "avg": false,
   368                      "current": false,
   369                      "hideEmpty": true,
   370                      "hideZero": true,
   371                      "max": false,
   372                      "min": false,
   373                      "rightSide": false,
   374                      "show": true,
   375                      "sideWidth": null,
   376                      "total": false,
   377                      "values": false
   378                  },
   379                  "lines": true,
   380                  "linewidth": 2,
   381                  "links": [
   382  
   383                  ],
   384                  "minSpan": 12,
   385                  "nullPointMode": "connected",
   386                  "paceLength": 10,
   387                  "percentage": false,
   388                  "pointradius": 5,
   389                  "points": false,
   390                  "renderer": "flot",
   391                  "repeat": null,
   392                  "seriesOverrides": [
   393  
   394                  ],
   395                  "spaceLength": 10,
   396                  "span": 12,
   397                  "stack": true,
   398                  "steppedLine": false,
   399                  "targets": [
   400                      {
   401                          "expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   402                          "format": "time_series",
   403                          "intervalFactor": 1,
   404                          "legendFormat": "{{`{{`}}pod{{`}}`}}",
   405                          "refId": "A",
   406                          "step": 10
   407                      }
   408                  ],
   409                  "thresholds": [
   410  
   411                  ],
   412                  "timeFrom": null,
   413                  "timeShift": null,
   414                  "title": "Receive Bandwidth",
   415                  "tooltip": {
   416                      "shared": true,
   417                      "sort": 2,
   418                      "value_type": "individual"
   419                  },
   420                  "type": "graph",
   421                  "xaxis": {
   422                      "buckets": null,
   423                      "mode": "time",
   424                      "name": null,
   425                      "show": true,
   426                      "values": [
   427  
   428                      ]
   429                  },
   430                  "yaxes": [
   431                      {
   432                          "format": "Bps",
   433                          "label": null,
   434                          "logBase": 1,
   435                          "max": null,
   436                          "min": 0,
   437                          "show": true
   438                      },
   439                      {
   440                          "format": "Bps",
   441                          "label": null,
   442                          "logBase": 1,
   443                          "max": null,
   444                          "min": 0,
   445                          "show": true
   446                      }
   447                  ]
   448              },
   449              {
   450                  "aliasColors": {
   451  
   452                  },
   453                  "bars": false,
   454                  "dashLength": 10,
   455                  "dashes": false,
   456                  "datasource": "$datasource",
   457                  "fill": 2,
   458                  "fillGradient": 0,
   459                  "gridPos": {
   460                      "h": 9,
   461                      "w": 12,
   462                      "x": 12,
   463                      "y": 11
   464                  },
   465                  "id": 7,
   466                  "legend": {
   467                      "alignAsTable": false,
   468                      "avg": false,
   469                      "current": false,
   470                      "hideEmpty": true,
   471                      "hideZero": true,
   472                      "max": false,
   473                      "min": false,
   474                      "rightSide": false,
   475                      "show": true,
   476                      "sideWidth": null,
   477                      "total": false,
   478                      "values": false
   479                  },
   480                  "lines": true,
   481                  "linewidth": 2,
   482                  "links": [
   483  
   484                  ],
   485                  "minSpan": 12,
   486                  "nullPointMode": "connected",
   487                  "paceLength": 10,
   488                  "percentage": false,
   489                  "pointradius": 5,
   490                  "points": false,
   491                  "renderer": "flot",
   492                  "repeat": null,
   493                  "seriesOverrides": [
   494  
   495                  ],
   496                  "spaceLength": 10,
   497                  "span": 12,
   498                  "stack": true,
   499                  "steppedLine": false,
   500                  "targets": [
   501                      {
   502                          "expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   503                          "format": "time_series",
   504                          "intervalFactor": 1,
   505                          "legendFormat": "{{`{{`}}pod{{`}}`}}",
   506                          "refId": "A",
   507                          "step": 10
   508                      }
   509                  ],
   510                  "thresholds": [
   511  
   512                  ],
   513                  "timeFrom": null,
   514                  "timeShift": null,
   515                  "title": "Transmit Bandwidth",
   516                  "tooltip": {
   517                      "shared": true,
   518                      "sort": 2,
   519                      "value_type": "individual"
   520                  },
   521                  "type": "graph",
   522                  "xaxis": {
   523                      "buckets": null,
   524                      "mode": "time",
   525                      "name": null,
   526                      "show": true,
   527                      "values": [
   528  
   529                      ]
   530                  },
   531                  "yaxes": [
   532                      {
   533                          "format": "Bps",
   534                          "label": null,
   535                          "logBase": 1,
   536                          "max": null,
   537                          "min": 0,
   538                          "show": true
   539                      },
   540                      {
   541                          "format": "Bps",
   542                          "label": null,
   543                          "logBase": 1,
   544                          "max": null,
   545                          "min": 0,
   546                          "show": true
   547                      }
   548                  ]
   549              },
   550              {
   551                  "collapse": true,
   552                  "collapsed": true,
   553                  "gridPos": {
   554                      "h": 1,
   555                      "w": 24,
   556                      "x": 0,
   557                      "y": 20
   558                  },
   559                  "id": 8,
   560                  "panels": [
   561                      {
   562                          "aliasColors": {
   563  
   564                          },
   565                          "bars": false,
   566                          "dashLength": 10,
   567                          "dashes": false,
   568                          "datasource": "$datasource",
   569                          "fill": 2,
   570                          "fillGradient": 0,
   571                          "gridPos": {
   572                              "h": 10,
   573                              "w": 12,
   574                              "x": 0,
   575                              "y": 21
   576                          },
   577                          "id": 9,
   578                          "legend": {
   579                              "alignAsTable": false,
   580                              "avg": false,
   581                              "current": false,
   582                              "hideEmpty": true,
   583                              "hideZero": true,
   584                              "max": false,
   585                              "min": false,
   586                              "rightSide": false,
   587                              "show": true,
   588                              "sideWidth": null,
   589                              "total": false,
   590                              "values": false
   591                          },
   592                          "lines": true,
   593                          "linewidth": 2,
   594                          "links": [
   595  
   596                          ],
   597                          "minSpan": 12,
   598                          "nullPointMode": "connected",
   599                          "paceLength": 10,
   600                          "percentage": false,
   601                          "pointradius": 5,
   602                          "points": false,
   603                          "renderer": "flot",
   604                          "repeat": null,
   605                          "seriesOverrides": [
   606  
   607                          ],
   608                          "spaceLength": 10,
   609                          "span": 12,
   610                          "stack": true,
   611                          "steppedLine": false,
   612                          "targets": [
   613                              {
   614                                  "expr": "sum(irate(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   615                                  "format": "time_series",
   616                                  "intervalFactor": 1,
   617                                  "legendFormat": "{{`{{`}}pod{{`}}`}}",
   618                                  "refId": "A",
   619                                  "step": 10
   620                              }
   621                          ],
   622                          "thresholds": [
   623  
   624                          ],
   625                          "timeFrom": null,
   626                          "timeShift": null,
   627                          "title": "Rate of Received Packets",
   628                          "tooltip": {
   629                              "shared": true,
   630                              "sort": 2,
   631                              "value_type": "individual"
   632                          },
   633                          "type": "graph",
   634                          "xaxis": {
   635                              "buckets": null,
   636                              "mode": "time",
   637                              "name": null,
   638                              "show": true,
   639                              "values": [
   640  
   641                              ]
   642                          },
   643                          "yaxes": [
   644                              {
   645                                  "format": "pps",
   646                                  "label": null,
   647                                  "logBase": 1,
   648                                  "max": null,
   649                                  "min": 0,
   650                                  "show": true
   651                              },
   652                              {
   653                                  "format": "pps",
   654                                  "label": null,
   655                                  "logBase": 1,
   656                                  "max": null,
   657                                  "min": 0,
   658                                  "show": true
   659                              }
   660                          ]
   661                      },
   662                      {
   663                          "aliasColors": {
   664  
   665                          },
   666                          "bars": false,
   667                          "dashLength": 10,
   668                          "dashes": false,
   669                          "datasource": "$datasource",
   670                          "fill": 2,
   671                          "fillGradient": 0,
   672                          "gridPos": {
   673                              "h": 10,
   674                              "w": 12,
   675                              "x": 12,
   676                              "y": 21
   677                          },
   678                          "id": 10,
   679                          "legend": {
   680                              "alignAsTable": false,
   681                              "avg": false,
   682                              "current": false,
   683                              "hideEmpty": true,
   684                              "hideZero": true,
   685                              "max": false,
   686                              "min": false,
   687                              "rightSide": false,
   688                              "show": true,
   689                              "sideWidth": null,
   690                              "total": false,
   691                              "values": false
   692                          },
   693                          "lines": true,
   694                          "linewidth": 2,
   695                          "links": [
   696  
   697                          ],
   698                          "minSpan": 12,
   699                          "nullPointMode": "connected",
   700                          "paceLength": 10,
   701                          "percentage": false,
   702                          "pointradius": 5,
   703                          "points": false,
   704                          "renderer": "flot",
   705                          "repeat": null,
   706                          "seriesOverrides": [
   707  
   708                          ],
   709                          "spaceLength": 10,
   710                          "span": 12,
   711                          "stack": true,
   712                          "steppedLine": false,
   713                          "targets": [
   714                              {
   715                                  "expr": "sum(irate(container_network_transmit_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   716                                  "format": "time_series",
   717                                  "intervalFactor": 1,
   718                                  "legendFormat": "{{`{{`}}pod{{`}}`}}",
   719                                  "refId": "A",
   720                                  "step": 10
   721                              }
   722                          ],
   723                          "thresholds": [
   724  
   725                          ],
   726                          "timeFrom": null,
   727                          "timeShift": null,
   728                          "title": "Rate of Transmitted Packets",
   729                          "tooltip": {
   730                              "shared": true,
   731                              "sort": 2,
   732                              "value_type": "individual"
   733                          },
   734                          "type": "graph",
   735                          "xaxis": {
   736                              "buckets": null,
   737                              "mode": "time",
   738                              "name": null,
   739                              "show": true,
   740                              "values": [
   741  
   742                              ]
   743                          },
   744                          "yaxes": [
   745                              {
   746                                  "format": "pps",
   747                                  "label": null,
   748                                  "logBase": 1,
   749                                  "max": null,
   750                                  "min": 0,
   751                                  "show": true
   752                              },
   753                              {
   754                                  "format": "pps",
   755                                  "label": null,
   756                                  "logBase": 1,
   757                                  "max": null,
   758                                  "min": 0,
   759                                  "show": true
   760                              }
   761                          ]
   762                      }
   763                  ],
   764                  "repeat": null,
   765                  "repeatIteration": null,
   766                  "repeatRowId": null,
   767                  "showTitle": true,
   768                  "title": "Packets",
   769                  "titleSize": "h6",
   770                  "type": "row"
   771              },
   772              {
   773                  "collapse": true,
   774                  "collapsed": true,
   775                  "gridPos": {
   776                      "h": 1,
   777                      "w": 24,
   778                      "x": 0,
   779                      "y": 21
   780                  },
   781                  "id": 11,
   782                  "panels": [
   783                      {
   784                          "aliasColors": {
   785  
   786                          },
   787                          "bars": false,
   788                          "dashLength": 10,
   789                          "dashes": false,
   790                          "datasource": "$datasource",
   791                          "fill": 2,
   792                          "fillGradient": 0,
   793                          "gridPos": {
   794                              "h": 10,
   795                              "w": 12,
   796                              "x": 0,
   797                              "y": 32
   798                          },
   799                          "id": 12,
   800                          "legend": {
   801                              "alignAsTable": false,
   802                              "avg": false,
   803                              "current": false,
   804                              "hideEmpty": true,
   805                              "hideZero": true,
   806                              "max": false,
   807                              "min": false,
   808                              "rightSide": false,
   809                              "show": true,
   810                              "sideWidth": null,
   811                              "total": false,
   812                              "values": false
   813                          },
   814                          "lines": true,
   815                          "linewidth": 2,
   816                          "links": [
   817  
   818                          ],
   819                          "minSpan": 12,
   820                          "nullPointMode": "connected",
   821                          "paceLength": 10,
   822                          "percentage": false,
   823                          "pointradius": 5,
   824                          "points": false,
   825                          "renderer": "flot",
   826                          "repeat": null,
   827                          "seriesOverrides": [
   828  
   829                          ],
   830                          "spaceLength": 10,
   831                          "span": 12,
   832                          "stack": true,
   833                          "steppedLine": false,
   834                          "targets": [
   835                              {
   836                                  "expr": "sum(irate(container_network_receive_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   837                                  "format": "time_series",
   838                                  "intervalFactor": 1,
   839                                  "legendFormat": "{{`{{`}}pod{{`}}`}}",
   840                                  "refId": "A",
   841                                  "step": 10
   842                              }
   843                          ],
   844                          "thresholds": [
   845  
   846                          ],
   847                          "timeFrom": null,
   848                          "timeShift": null,
   849                          "title": "Rate of Received Packets Dropped",
   850                          "tooltip": {
   851                              "shared": true,
   852                              "sort": 2,
   853                              "value_type": "individual"
   854                          },
   855                          "type": "graph",
   856                          "xaxis": {
   857                              "buckets": null,
   858                              "mode": "time",
   859                              "name": null,
   860                              "show": true,
   861                              "values": [
   862  
   863                              ]
   864                          },
   865                          "yaxes": [
   866                              {
   867                                  "format": "pps",
   868                                  "label": null,
   869                                  "logBase": 1,
   870                                  "max": null,
   871                                  "min": 0,
   872                                  "show": true
   873                              },
   874                              {
   875                                  "format": "pps",
   876                                  "label": null,
   877                                  "logBase": 1,
   878                                  "max": null,
   879                                  "min": 0,
   880                                  "show": true
   881                              }
   882                          ]
   883                      },
   884                      {
   885                          "aliasColors": {
   886  
   887                          },
   888                          "bars": false,
   889                          "dashLength": 10,
   890                          "dashes": false,
   891                          "datasource": "$datasource",
   892                          "fill": 2,
   893                          "fillGradient": 0,
   894                          "gridPos": {
   895                              "h": 10,
   896                              "w": 12,
   897                              "x": 12,
   898                              "y": 32
   899                          },
   900                          "id": 13,
   901                          "legend": {
   902                              "alignAsTable": false,
   903                              "avg": false,
   904                              "current": false,
   905                              "hideEmpty": true,
   906                              "hideZero": true,
   907                              "max": false,
   908                              "min": false,
   909                              "rightSide": false,
   910                              "show": true,
   911                              "sideWidth": null,
   912                              "total": false,
   913                              "values": false
   914                          },
   915                          "lines": true,
   916                          "linewidth": 2,
   917                          "links": [
   918  
   919                          ],
   920                          "minSpan": 12,
   921                          "nullPointMode": "connected",
   922                          "paceLength": 10,
   923                          "percentage": false,
   924                          "pointradius": 5,
   925                          "points": false,
   926                          "renderer": "flot",
   927                          "repeat": null,
   928                          "seriesOverrides": [
   929  
   930                          ],
   931                          "spaceLength": 10,
   932                          "span": 12,
   933                          "stack": true,
   934                          "steppedLine": false,
   935                          "targets": [
   936                              {
   937                                  "expr": "sum(irate(container_network_transmit_packets_dropped_total{cluster=\"$cluster\",namespace=~\"$namespace\", pod=~\"$pod\"}[$interval:$resolution])) by (pod)",
   938                                  "format": "time_series",
   939                                  "intervalFactor": 1,
   940                                  "legendFormat": "{{`{{`}}pod{{`}}`}}",
   941                                  "refId": "A",
   942                                  "step": 10
   943                              }
   944                          ],
   945                          "thresholds": [
   946  
   947                          ],
   948                          "timeFrom": null,
   949                          "timeShift": null,
   950                          "title": "Rate of Transmitted Packets Dropped",
   951                          "tooltip": {
   952                              "shared": true,
   953                              "sort": 2,
   954                              "value_type": "individual"
   955                          },
   956                          "type": "graph",
   957                          "xaxis": {
   958                              "buckets": null,
   959                              "mode": "time",
   960                              "name": null,
   961                              "show": true,
   962                              "values": [
   963  
   964                              ]
   965                          },
   966                          "yaxes": [
   967                              {
   968                                  "format": "pps",
   969                                  "label": null,
   970                                  "logBase": 1,
   971                                  "max": null,
   972                                  "min": 0,
   973                                  "show": true
   974                              },
   975                              {
   976                                  "format": "pps",
   977                                  "label": null,
   978                                  "logBase": 1,
   979                                  "max": null,
   980                                  "min": 0,
   981                                  "show": true
   982                              }
   983                          ]
   984                      }
   985                  ],
   986                  "repeat": null,
   987                  "repeatIteration": null,
   988                  "repeatRowId": null,
   989                  "showTitle": true,
   990                  "title": "Errors",
   991                  "titleSize": "h6",
   992                  "type": "row"
   993              }
   994          ],
   995          "refresh": "10s",
   996          "rows": [
   997  
   998          ],
   999          "schemaVersion": 18,
  1000          "style": "dark",
  1001          "tags": [
  1002              "kubernetes-mixin"
  1003          ],
  1004          "templating": {
  1005              "list": [
  1006                  {
  1007                      "current": {
  1008                          "text": "default",
  1009                          "value": "default"
  1010                      },
  1011                      "hide": 0,
  1012                      "label": "Data Source",
  1013                      "name": "datasource",
  1014                      "options": [
  1015  
  1016                      ],
  1017                      "query": "prometheus",
  1018                      "refresh": 1,
  1019                      "regex": "",
  1020                      "type": "datasource"
  1021                  },
  1022                  {
  1023                      "allValue": null,
  1024                      "current": {
  1025  
  1026                      },
  1027                      "datasource": "$datasource",
  1028                      "hide": {{ if .Values.grafana.sidecar.dashboards.multicluster.global.enabled }}0{{ else }}2{{ end }},
  1029                      "includeAll": false,
  1030                      "label": null,
  1031                      "multi": false,
  1032                      "name": "cluster",
  1033                      "options": [
  1034  
  1035                      ],
  1036                      "query": "label_values(up{job=\"kubelet\", metrics_path=\"/metrics/cadvisor\"}, cluster)",
  1037                      "refresh": 2,
  1038                      "regex": "",
  1039                      "sort": 0,
  1040                      "tagValuesQuery": "",
  1041                      "tags": [
  1042  
  1043                      ],
  1044                      "tagsQuery": "",
  1045                      "type": "query",
  1046                      "useTags": false
  1047                  },
  1048                  {
  1049                      "allValue": ".+",
  1050                      "auto": false,
  1051                      "auto_count": 30,
  1052                      "auto_min": "10s",
  1053                      "current": {
  1054                          "text": "kube-system",
  1055                          "value": "kube-system"
  1056                      },
  1057                      "datasource": "$datasource",
  1058                      "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  1059                      "hide": 0,
  1060                      "includeAll": true,
  1061                      "label": null,
  1062                      "multi": false,
  1063                      "name": "namespace",
  1064                      "options": [
  1065  
  1066                      ],
  1067                      "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\"}, namespace)",
  1068                      "refresh": 2,
  1069                      "regex": "",
  1070                      "skipUrlSync": false,
  1071                      "sort": 1,
  1072                      "tagValuesQuery": "",
  1073                      "tags": [
  1074  
  1075                      ],
  1076                      "tagsQuery": "",
  1077                      "type": "query",
  1078                      "useTags": false
  1079                  },
  1080                  {
  1081                      "allValue": ".+",
  1082                      "auto": false,
  1083                      "auto_count": 30,
  1084                      "auto_min": "10s",
  1085                      "current": {
  1086                          "text": "",
  1087                          "value": ""
  1088                      },
  1089                      "datasource": "$datasource",
  1090                      "definition": "label_values(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}, pod)",
  1091                      "hide": 0,
  1092                      "includeAll": false,
  1093                      "label": null,
  1094                      "multi": false,
  1095                      "name": "pod",
  1096                      "options": [
  1097  
  1098                      ],
  1099                      "query": "label_values(container_network_receive_packets_total{cluster=\"$cluster\",namespace=~\"$namespace\"}, pod)",
  1100                      "refresh": 2,
  1101                      "regex": "",
  1102                      "skipUrlSync": false,
  1103                      "sort": 1,
  1104                      "tagValuesQuery": "",
  1105                      "tags": [
  1106  
  1107                      ],
  1108                      "tagsQuery": "",
  1109                      "type": "query",
  1110                      "useTags": false
  1111                  },
  1112                  {
  1113                      "allValue": null,
  1114                      "auto": false,
  1115                      "auto_count": 30,
  1116                      "auto_min": "10s",
  1117                      "current": {
  1118                          "text": "5m",
  1119                          "value": "5m"
  1120                      },
  1121                      "datasource": "$datasource",
  1122                      "hide": 0,
  1123                      "includeAll": false,
  1124                      "label": null,
  1125                      "multi": false,
  1126                      "name": "resolution",
  1127                      "options": [
  1128                          {
  1129                              "selected": false,
  1130                              "text": "30s",
  1131                              "value": "30s"
  1132                          },
  1133                          {
  1134                              "selected": true,
  1135                              "text": "5m",
  1136                              "value": "5m"
  1137                          },
  1138                          {
  1139                              "selected": false,
  1140                              "text": "1h",
  1141                              "value": "1h"
  1142                          }
  1143                      ],
  1144                      "query": "30s,5m,1h",
  1145                      "refresh": 2,
  1146                      "regex": "",
  1147                      "skipUrlSync": false,
  1148                      "sort": 1,
  1149                      "tagValuesQuery": "",
  1150                      "tags": [
  1151  
  1152                      ],
  1153                      "tagsQuery": "",
  1154                      "type": "interval",
  1155                      "useTags": false
  1156                  },
  1157                  {
  1158                      "allValue": null,
  1159                      "auto": false,
  1160                      "auto_count": 30,
  1161                      "auto_min": "10s",
  1162                      "current": {
  1163                          "text": "5m",
  1164                          "value": "5m"
  1165                      },
  1166                      "datasource": "$datasource",
  1167                      "hide": 2,
  1168                      "includeAll": false,
  1169                      "label": null,
  1170                      "multi": false,
  1171                      "name": "interval",
  1172                      "options": [
  1173                          {
  1174                              "selected": true,
  1175                              "text": "4h",
  1176                              "value": "4h"
  1177                          }
  1178                      ],
  1179                      "query": "4h",
  1180                      "refresh": 2,
  1181                      "regex": "",
  1182                      "skipUrlSync": false,
  1183                      "sort": 1,
  1184                      "tagValuesQuery": "",
  1185                      "tags": [
  1186  
  1187                      ],
  1188                      "tagsQuery": "",
  1189                      "type": "interval",
  1190                      "useTags": false
  1191                  }
  1192              ]
  1193          },
  1194          "time": {
  1195              "from": "now-1h",
  1196              "to": "now"
  1197          },
  1198          "timepicker": {
  1199              "refresh_intervals": [
  1200                  "5s",
  1201                  "10s",
  1202                  "30s",
  1203                  "1m",
  1204                  "5m",
  1205                  "15m",
  1206                  "30m",
  1207                  "1h",
  1208                  "2h",
  1209                  "1d"
  1210              ],
  1211              "time_options": [
  1212                  "5m",
  1213                  "15m",
  1214                  "1h",
  1215                  "6h",
  1216                  "12h",
  1217                  "24h",
  1218                  "2d",
  1219                  "7d",
  1220                  "30d"
  1221              ]
  1222          },
  1223          "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}",
  1224          "title": "Kubernetes / Networking / Pod",
  1225          "uid": "7a18067ce943a40ae25454675c19ff5c",
  1226          "version": 0
  1227      }
  1228  {{- end }}