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

     1  {{- /*
     2  Generated from 'nodes-darwin' 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 .Values.nodeExporter.enabled }}
     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" $) "nodes-darwin" | 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    nodes-darwin.json: |-
    23      {
    24          "__inputs": [
    25  
    26          ],
    27          "__requires": [
    28  
    29          ],
    30          "annotations": {
    31              "list": [
    32  
    33              ]
    34          },
    35          "editable": false,
    36          "gnetId": null,
    37          "graphTooltip": 1,
    38          "hideControls": false,
    39          "id": null,
    40          "links": [
    41  
    42          ],
    43          "refresh": "30s",
    44          "rows": [
    45              {
    46                  "collapse": false,
    47                  "collapsed": false,
    48                  "panels": [
    49                      {
    50                          "aliasColors": {
    51  
    52                          },
    53                          "bars": false,
    54                          "dashLength": 10,
    55                          "dashes": false,
    56                          "datasource": "$datasource",
    57                          "fill": 1,
    58                          "fillGradient": 0,
    59                          "gridPos": {
    60  
    61                          },
    62                          "id": 2,
    63                          "legend": {
    64                              "alignAsTable": false,
    65                              "avg": false,
    66                              "current": false,
    67                              "max": false,
    68                              "min": false,
    69                              "rightSide": false,
    70                              "show": true,
    71                              "sideWidth": null,
    72                              "total": false,
    73                              "values": false
    74                          },
    75                          "lines": true,
    76                          "linewidth": 1,
    77                          "links": [
    78  
    79                          ],
    80                          "nullPointMode": "null",
    81                          "percentage": false,
    82                          "pointradius": 5,
    83                          "points": false,
    84                          "renderer": "flot",
    85                          "repeat": null,
    86                          "seriesOverrides": [
    87  
    88                          ],
    89                          "spaceLength": 10,
    90                          "span": 6,
    91                          "stack": true,
    92                          "steppedLine": false,
    93                          "targets": [
    94                              {
    95                                  "expr": "(\n  (1 - sum without (mode) (rate(node_cpu_seconds_total{job=\"node-exporter\", mode=~\"idle|iowait|steal\", instance=\"$instance\"}[$__rate_interval])))\n/ ignoring(cpu) group_left\n  count without (cpu, mode) (node_cpu_seconds_total{job=\"node-exporter\", mode=\"idle\", instance=\"$instance\"})\n)\n",
    96                                  "format": "time_series",
    97                                  "intervalFactor": 5,
    98                                  "legendFormat": "{{`{{`}}cpu{{`}}`}}",
    99                                  "refId": "A"
   100                              }
   101                          ],
   102                          "thresholds": [
   103  
   104                          ],
   105                          "timeFrom": null,
   106                          "timeShift": null,
   107                          "title": "CPU Usage",
   108                          "tooltip": {
   109                              "shared": true,
   110                              "sort": 0,
   111                              "value_type": "individual"
   112                          },
   113                          "type": "graph",
   114                          "xaxis": {
   115                              "buckets": null,
   116                              "mode": "time",
   117                              "name": null,
   118                              "show": true,
   119                              "values": [
   120  
   121                              ]
   122                          },
   123                          "yaxes": [
   124                              {
   125                                  "format": "percentunit",
   126                                  "label": null,
   127                                  "logBase": 1,
   128                                  "max": 1,
   129                                  "min": 0,
   130                                  "show": true
   131                              },
   132                              {
   133                                  "format": "percentunit",
   134                                  "label": null,
   135                                  "logBase": 1,
   136                                  "max": 1,
   137                                  "min": 0,
   138                                  "show": true
   139                              }
   140                          ]
   141                      },
   142                      {
   143                          "aliasColors": {
   144  
   145                          },
   146                          "bars": false,
   147                          "dashLength": 10,
   148                          "dashes": false,
   149                          "datasource": "$datasource",
   150                          "fill": 0,
   151                          "fillGradient": 0,
   152                          "gridPos": {
   153  
   154                          },
   155                          "id": 3,
   156                          "legend": {
   157                              "alignAsTable": false,
   158                              "avg": false,
   159                              "current": false,
   160                              "max": false,
   161                              "min": false,
   162                              "rightSide": false,
   163                              "show": true,
   164                              "sideWidth": null,
   165                              "total": false,
   166                              "values": false
   167                          },
   168                          "lines": true,
   169                          "linewidth": 1,
   170                          "links": [
   171  
   172                          ],
   173                          "nullPointMode": "null",
   174                          "percentage": false,
   175                          "pointradius": 5,
   176                          "points": false,
   177                          "renderer": "flot",
   178                          "repeat": null,
   179                          "seriesOverrides": [
   180  
   181                          ],
   182                          "spaceLength": 10,
   183                          "span": 6,
   184                          "stack": false,
   185                          "steppedLine": false,
   186                          "targets": [
   187                              {
   188                                  "expr": "node_load1{job=\"node-exporter\", instance=\"$instance\"}",
   189                                  "format": "time_series",
   190                                  "intervalFactor": 2,
   191                                  "legendFormat": "1m load average",
   192                                  "refId": "A"
   193                              },
   194                              {
   195                                  "expr": "node_load5{job=\"node-exporter\", instance=\"$instance\"}",
   196                                  "format": "time_series",
   197                                  "intervalFactor": 2,
   198                                  "legendFormat": "5m load average",
   199                                  "refId": "B"
   200                              },
   201                              {
   202                                  "expr": "node_load15{job=\"node-exporter\", instance=\"$instance\"}",
   203                                  "format": "time_series",
   204                                  "intervalFactor": 2,
   205                                  "legendFormat": "15m load average",
   206                                  "refId": "C"
   207                              },
   208                              {
   209                                  "expr": "count(node_cpu_seconds_total{job=\"node-exporter\", instance=\"$instance\", mode=\"idle\"})",
   210                                  "format": "time_series",
   211                                  "intervalFactor": 2,
   212                                  "legendFormat": "logical cores",
   213                                  "refId": "D"
   214                              }
   215                          ],
   216                          "thresholds": [
   217  
   218                          ],
   219                          "timeFrom": null,
   220                          "timeShift": null,
   221                          "title": "Load Average",
   222                          "tooltip": {
   223                              "shared": true,
   224                              "sort": 0,
   225                              "value_type": "individual"
   226                          },
   227                          "type": "graph",
   228                          "xaxis": {
   229                              "buckets": null,
   230                              "mode": "time",
   231                              "name": null,
   232                              "show": true,
   233                              "values": [
   234  
   235                              ]
   236                          },
   237                          "yaxes": [
   238                              {
   239                                  "format": "short",
   240                                  "label": null,
   241                                  "logBase": 1,
   242                                  "max": null,
   243                                  "min": 0,
   244                                  "show": true
   245                              },
   246                              {
   247                                  "format": "short",
   248                                  "label": null,
   249                                  "logBase": 1,
   250                                  "max": null,
   251                                  "min": 0,
   252                                  "show": true
   253                              }
   254                          ]
   255                      }
   256                  ],
   257                  "repeat": null,
   258                  "repeatIteration": null,
   259                  "repeatRowId": null,
   260                  "showTitle": true,
   261                  "title": "CPU",
   262                  "titleSize": "h6",
   263                  "type": "row"
   264              },
   265              {
   266                  "collapse": false,
   267                  "collapsed": false,
   268                  "panels": [
   269                      {
   270                          "aliasColors": {
   271  
   272                          },
   273                          "bars": false,
   274                          "dashLength": 10,
   275                          "dashes": false,
   276                          "datasource": "$datasource",
   277                          "fill": 1,
   278                          "fillGradient": 0,
   279                          "gridPos": {
   280  
   281                          },
   282                          "id": 4,
   283                          "legend": {
   284                              "alignAsTable": false,
   285                              "avg": false,
   286                              "current": false,
   287                              "max": false,
   288                              "min": false,
   289                              "rightSide": false,
   290                              "show": true,
   291                              "sideWidth": null,
   292                              "total": false,
   293                              "values": false
   294                          },
   295                          "lines": true,
   296                          "linewidth": 1,
   297                          "links": [
   298  
   299                          ],
   300                          "nullPointMode": "null",
   301                          "percentage": false,
   302                          "pointradius": 5,
   303                          "points": false,
   304                          "renderer": "flot",
   305                          "repeat": null,
   306                          "seriesOverrides": [
   307  
   308                          ],
   309                          "spaceLength": 10,
   310                          "span": 9,
   311                          "stack": false,
   312                          "steppedLine": false,
   313                          "targets": [
   314                              {
   315                                  "expr": "node_memory_total_bytes{job=\"node-exporter\", instance=\"$instance\"}",
   316                                  "format": "time_series",
   317                                  "intervalFactor": 2,
   318                                  "legendFormat": "Physical Memory",
   319                                  "refId": "A"
   320                              },
   321                              {
   322                                  "expr": "(\n    node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"} -\n    node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"} +\n    node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"} +\n    node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
   323                                  "format": "time_series",
   324                                  "intervalFactor": 2,
   325                                  "legendFormat": "Memory Used",
   326                                  "refId": "B"
   327                              },
   328                              {
   329                                  "expr": "(\n    node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"} -\n    node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
   330                                  "format": "time_series",
   331                                  "intervalFactor": 2,
   332                                  "legendFormat": "App Memory",
   333                                  "refId": "C"
   334                              },
   335                              {
   336                                  "expr": "node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"}",
   337                                  "format": "time_series",
   338                                  "intervalFactor": 2,
   339                                  "legendFormat": "Wired Memory",
   340                                  "refId": "D"
   341                              },
   342                              {
   343                                  "expr": "node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"}",
   344                                  "format": "time_series",
   345                                  "intervalFactor": 2,
   346                                  "legendFormat": "Compressed",
   347                                  "refId": "E"
   348                              }
   349                          ],
   350                          "thresholds": [
   351  
   352                          ],
   353                          "timeFrom": null,
   354                          "timeShift": null,
   355                          "title": "Memory Usage",
   356                          "tooltip": {
   357                              "shared": true,
   358                              "sort": 0,
   359                              "value_type": "individual"
   360                          },
   361                          "type": "graph",
   362                          "xaxis": {
   363                              "buckets": null,
   364                              "mode": "time",
   365                              "name": null,
   366                              "show": true,
   367                              "values": [
   368  
   369                              ]
   370                          },
   371                          "yaxes": [
   372                              {
   373                                  "format": "bytes",
   374                                  "label": null,
   375                                  "logBase": 1,
   376                                  "max": null,
   377                                  "min": 0,
   378                                  "show": true
   379                              },
   380                              {
   381                                  "format": "bytes",
   382                                  "label": null,
   383                                  "logBase": 1,
   384                                  "max": null,
   385                                  "min": 0,
   386                                  "show": true
   387                              }
   388                          ]
   389                      },
   390                      {
   391                          "datasource": "$datasource",
   392                          "fieldConfig": {
   393                              "defaults": {
   394                                  "max": 100,
   395                                  "min": 0,
   396                                  "thresholds": {
   397                                      "mode": "absolute",
   398                                      "steps": [
   399                                          {
   400                                              "color": "rgba(50, 172, 45, 0.97)"
   401                                          },
   402                                          {
   403                                              "color": "rgba(237, 129, 40, 0.89)",
   404                                              "value": 80
   405                                          },
   406                                          {
   407                                              "color": "rgba(245, 54, 54, 0.9)",
   408                                              "value": 90
   409                                          }
   410                                      ]
   411                                  },
   412                                  "unit": "percent"
   413                              }
   414                          },
   415                          "gridPos": {
   416  
   417                          },
   418                          "id": 5,
   419                          "span": 3,
   420                          "targets": [
   421                              {
   422                                  "expr": "(\n    (\n      avg(node_memory_internal_bytes{job=\"node-exporter\", instance=\"$instance\"}) -\n      avg(node_memory_purgeable_bytes{job=\"node-exporter\", instance=\"$instance\"}) +\n      avg(node_memory_wired_bytes{job=\"node-exporter\", instance=\"$instance\"}) +\n      avg(node_memory_compressed_bytes{job=\"node-exporter\", instance=\"$instance\"})\n    ) /\n    avg(node_memory_total_bytes{job=\"node-exporter\", instance=\"$instance\"})\n)\n*\n100\n",
   423                                  "format": "time_series",
   424                                  "intervalFactor": 2,
   425                                  "legendFormat": ""
   426                              }
   427                          ],
   428                          "title": "Memory Usage",
   429                          "transparent": false,
   430                          "type": "gauge"
   431                      }
   432                  ],
   433                  "repeat": null,
   434                  "repeatIteration": null,
   435                  "repeatRowId": null,
   436                  "showTitle": true,
   437                  "title": "Memory",
   438                  "titleSize": "h6",
   439                  "type": "row"
   440              },
   441              {
   442                  "collapse": false,
   443                  "collapsed": false,
   444                  "panels": [
   445                      {
   446                          "aliasColors": {
   447  
   448                          },
   449                          "bars": false,
   450                          "dashLength": 10,
   451                          "dashes": false,
   452                          "datasource": "$datasource",
   453                          "fill": 0,
   454                          "fillGradient": 0,
   455                          "gridPos": {
   456  
   457                          },
   458                          "id": 6,
   459                          "legend": {
   460                              "alignAsTable": false,
   461                              "avg": false,
   462                              "current": false,
   463                              "max": false,
   464                              "min": false,
   465                              "rightSide": false,
   466                              "show": true,
   467                              "sideWidth": null,
   468                              "total": false,
   469                              "values": false
   470                          },
   471                          "lines": true,
   472                          "linewidth": 1,
   473                          "links": [
   474  
   475                          ],
   476                          "nullPointMode": "null",
   477                          "percentage": false,
   478                          "pointradius": 5,
   479                          "points": false,
   480                          "renderer": "flot",
   481                          "repeat": null,
   482                          "seriesOverrides": [
   483                              {
   484                                  "alias": "/ read| written/",
   485                                  "yaxis": 1
   486                              },
   487                              {
   488                                  "alias": "/ io time/",
   489                                  "yaxis": 2
   490                              }
   491                          ],
   492                          "spaceLength": 10,
   493                          "span": 6,
   494                          "stack": false,
   495                          "steppedLine": false,
   496                          "targets": [
   497                              {
   498                                  "expr": "rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
   499                                  "format": "time_series",
   500                                  "intervalFactor": 1,
   501                                  "legendFormat": "{{`{{`}}device{{`}}`}} read",
   502                                  "refId": "A"
   503                              },
   504                              {
   505                                  "expr": "rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
   506                                  "format": "time_series",
   507                                  "intervalFactor": 1,
   508                                  "legendFormat": "{{`{{`}}device{{`}}`}} written",
   509                                  "refId": "B"
   510                              },
   511                              {
   512                                  "expr": "rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\", device=~\"(/dev/)?(mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|md.+|dasd.+)\"}[$__rate_interval])",
   513                                  "format": "time_series",
   514                                  "intervalFactor": 1,
   515                                  "legendFormat": "{{`{{`}}device{{`}}`}} io time",
   516                                  "refId": "C"
   517                              }
   518                          ],
   519                          "thresholds": [
   520  
   521                          ],
   522                          "timeFrom": null,
   523                          "timeShift": null,
   524                          "title": "Disk I/O",
   525                          "tooltip": {
   526                              "shared": true,
   527                              "sort": 0,
   528                              "value_type": "individual"
   529                          },
   530                          "type": "graph",
   531                          "xaxis": {
   532                              "buckets": null,
   533                              "mode": "time",
   534                              "name": null,
   535                              "show": true,
   536                              "values": [
   537  
   538                              ]
   539                          },
   540                          "yaxes": [
   541                              {
   542                                  "format": "Bps",
   543                                  "label": null,
   544                                  "logBase": 1,
   545                                  "max": null,
   546                                  "min": null,
   547                                  "show": true
   548                              },
   549                              {
   550                                  "format": "percentunit",
   551                                  "label": null,
   552                                  "logBase": 1,
   553                                  "max": null,
   554                                  "min": null,
   555                                  "show": true
   556                              }
   557                          ]
   558                      },
   559                      {
   560                          "datasource": "$datasource",
   561                          "fieldConfig": {
   562                              "defaults": {
   563                                  "custom": {
   564  
   565                                  },
   566                                  "thresholds": {
   567                                      "mode": "absolute",
   568                                      "steps": [
   569                                          {
   570                                              "color": "green"
   571                                          },
   572                                          {
   573                                              "color": "yellow",
   574                                              "value": 0.8
   575                                          },
   576                                          {
   577                                              "color": "red",
   578                                              "value": 0.9
   579                                          }
   580                                      ]
   581                                  },
   582                                  "unit": "decbytes"
   583                              },
   584                              "overrides": [
   585                                  {
   586                                      "matcher": {
   587                                          "id": "byName",
   588                                          "options": "Mounted on"
   589                                      },
   590                                      "properties": [
   591                                          {
   592                                              "id": "custom.width",
   593                                              "value": 260
   594                                          }
   595                                      ]
   596                                  },
   597                                  {
   598                                      "matcher": {
   599                                          "id": "byName",
   600                                          "options": "Size"
   601                                      },
   602                                      "properties": [
   603                                          {
   604                                              "id": "custom.width",
   605                                              "value": 93
   606                                          }
   607                                      ]
   608                                  },
   609                                  {
   610                                      "matcher": {
   611                                          "id": "byName",
   612                                          "options": "Used"
   613                                      },
   614                                      "properties": [
   615                                          {
   616                                              "id": "custom.width",
   617                                              "value": 72
   618                                          }
   619                                      ]
   620                                  },
   621                                  {
   622                                      "matcher": {
   623                                          "id": "byName",
   624                                          "options": "Available"
   625                                      },
   626                                      "properties": [
   627                                          {
   628                                              "id": "custom.width",
   629                                              "value": 88
   630                                          }
   631                                      ]
   632                                  },
   633                                  {
   634                                      "matcher": {
   635                                          "id": "byName",
   636                                          "options": "Used, %"
   637                                      },
   638                                      "properties": [
   639                                          {
   640                                              "id": "unit",
   641                                              "value": "percentunit"
   642                                          },
   643                                          {
   644                                              "id": "custom.displayMode",
   645                                              "value": "gradient-gauge"
   646                                          },
   647                                          {
   648                                              "id": "max",
   649                                              "value": 1
   650                                          },
   651                                          {
   652                                              "id": "min",
   653                                              "value": 0
   654                                          }
   655                                      ]
   656                                  }
   657                              ]
   658                          },
   659                          "gridPos": {
   660  
   661                          },
   662                          "id": 7,
   663                          "span": 6,
   664                          "targets": [
   665                              {
   666                                  "expr": "max by (mountpoint) (node_filesystem_size_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
   667                                  "format": "table",
   668                                  "instant": true,
   669                                  "intervalFactor": 2,
   670                                  "legendFormat": ""
   671                              },
   672                              {
   673                                  "expr": "max by (mountpoint) (node_filesystem_avail_bytes{job=\"node-exporter\", instance=\"$instance\", fstype!=\"\", mountpoint!=\"\"})\n",
   674                                  "format": "table",
   675                                  "instant": true,
   676                                  "intervalFactor": 2,
   677                                  "legendFormat": ""
   678                              }
   679                          ],
   680                          "title": "Disk Space Usage",
   681                          "transformations": [
   682                              {
   683                                  "id": "groupBy",
   684                                  "options": {
   685                                      "fields": {
   686                                          "Value #A": {
   687                                              "aggregations": [
   688                                                  "lastNotNull"
   689                                              ],
   690                                              "operation": "aggregate"
   691                                          },
   692                                          "Value #B": {
   693                                              "aggregations": [
   694                                                  "lastNotNull"
   695                                              ],
   696                                              "operation": "aggregate"
   697                                          },
   698                                          "mountpoint": {
   699                                              "aggregations": [
   700  
   701                                              ],
   702                                              "operation": "groupby"
   703                                          }
   704                                      }
   705                                  }
   706                              },
   707                              {
   708                                  "id": "merge",
   709                                  "options": {
   710  
   711                                  }
   712                              },
   713                              {
   714                                  "id": "calculateField",
   715                                  "options": {
   716                                      "alias": "Used",
   717                                      "binary": {
   718                                          "left": "Value #A (lastNotNull)",
   719                                          "operator": "-",
   720                                          "reducer": "sum",
   721                                          "right": "Value #B (lastNotNull)"
   722                                      },
   723                                      "mode": "binary",
   724                                      "reduce": {
   725                                          "reducer": "sum"
   726                                      }
   727                                  }
   728                              },
   729                              {
   730                                  "id": "calculateField",
   731                                  "options": {
   732                                      "alias": "Used, %",
   733                                      "binary": {
   734                                          "left": "Used",
   735                                          "operator": "/",
   736                                          "reducer": "sum",
   737                                          "right": "Value #A (lastNotNull)"
   738                                      },
   739                                      "mode": "binary",
   740                                      "reduce": {
   741                                          "reducer": "sum"
   742                                      }
   743                                  }
   744                              },
   745                              {
   746                                  "id": "organize",
   747                                  "options": {
   748                                      "excludeByName": {
   749  
   750                                      },
   751                                      "indexByName": {
   752  
   753                                      },
   754                                      "renameByName": {
   755                                          "Value #A (lastNotNull)": "Size",
   756                                          "Value #B (lastNotNull)": "Available",
   757                                          "mountpoint": "Mounted on"
   758                                      }
   759                                  }
   760                              },
   761                              {
   762                                  "id": "sortBy",
   763                                  "options": {
   764                                      "fields": {
   765  
   766                                      },
   767                                      "sort": [
   768                                          {
   769                                              "field": "Mounted on"
   770                                          }
   771                                      ]
   772                                  }
   773                              }
   774                          ],
   775                          "transparent": false,
   776                          "type": "table"
   777                      }
   778                  ],
   779                  "repeat": null,
   780                  "repeatIteration": null,
   781                  "repeatRowId": null,
   782                  "showTitle": true,
   783                  "title": "Disk",
   784                  "titleSize": "h6",
   785                  "type": "row"
   786              },
   787              {
   788                  "collapse": false,
   789                  "collapsed": false,
   790                  "panels": [
   791                      {
   792                          "aliasColors": {
   793  
   794                          },
   795                          "bars": false,
   796                          "dashLength": 10,
   797                          "dashes": false,
   798                          "datasource": "$datasource",
   799                          "description": "Network received (bits/s)",
   800                          "fill": 0,
   801                          "fillGradient": 0,
   802                          "gridPos": {
   803  
   804                          },
   805                          "id": 8,
   806                          "legend": {
   807                              "alignAsTable": false,
   808                              "avg": false,
   809                              "current": false,
   810                              "max": false,
   811                              "min": false,
   812                              "rightSide": false,
   813                              "show": true,
   814                              "sideWidth": null,
   815                              "total": false,
   816                              "values": false
   817                          },
   818                          "lines": true,
   819                          "linewidth": 1,
   820                          "links": [
   821  
   822                          ],
   823                          "nullPointMode": "null",
   824                          "percentage": false,
   825                          "pointradius": 5,
   826                          "points": false,
   827                          "renderer": "flot",
   828                          "repeat": null,
   829                          "seriesOverrides": [
   830  
   831                          ],
   832                          "spaceLength": 10,
   833                          "span": 6,
   834                          "stack": false,
   835                          "steppedLine": false,
   836                          "targets": [
   837                              {
   838                                  "expr": "rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
   839                                  "format": "time_series",
   840                                  "intervalFactor": 1,
   841                                  "legendFormat": "{{`{{`}}device{{`}}`}}",
   842                                  "refId": "A"
   843                              }
   844                          ],
   845                          "thresholds": [
   846  
   847                          ],
   848                          "timeFrom": null,
   849                          "timeShift": null,
   850                          "title": "Network Received",
   851                          "tooltip": {
   852                              "shared": true,
   853                              "sort": 0,
   854                              "value_type": "individual"
   855                          },
   856                          "type": "graph",
   857                          "xaxis": {
   858                              "buckets": null,
   859                              "mode": "time",
   860                              "name": null,
   861                              "show": true,
   862                              "values": [
   863  
   864                              ]
   865                          },
   866                          "yaxes": [
   867                              {
   868                                  "format": "bps",
   869                                  "label": null,
   870                                  "logBase": 1,
   871                                  "max": null,
   872                                  "min": 0,
   873                                  "show": true
   874                              },
   875                              {
   876                                  "format": "bps",
   877                                  "label": null,
   878                                  "logBase": 1,
   879                                  "max": null,
   880                                  "min": 0,
   881                                  "show": true
   882                              }
   883                          ]
   884                      },
   885                      {
   886                          "aliasColors": {
   887  
   888                          },
   889                          "bars": false,
   890                          "dashLength": 10,
   891                          "dashes": false,
   892                          "datasource": "$datasource",
   893                          "description": "Network transmitted (bits/s)",
   894                          "fill": 0,
   895                          "fillGradient": 0,
   896                          "gridPos": {
   897  
   898                          },
   899                          "id": 9,
   900                          "legend": {
   901                              "alignAsTable": false,
   902                              "avg": false,
   903                              "current": false,
   904                              "max": false,
   905                              "min": false,
   906                              "rightSide": false,
   907                              "show": true,
   908                              "sideWidth": null,
   909                              "total": false,
   910                              "values": false
   911                          },
   912                          "lines": true,
   913                          "linewidth": 1,
   914                          "links": [
   915  
   916                          ],
   917                          "nullPointMode": "null",
   918                          "percentage": false,
   919                          "pointradius": 5,
   920                          "points": false,
   921                          "renderer": "flot",
   922                          "repeat": null,
   923                          "seriesOverrides": [
   924  
   925                          ],
   926                          "spaceLength": 10,
   927                          "span": 6,
   928                          "stack": false,
   929                          "steppedLine": false,
   930                          "targets": [
   931                              {
   932                                  "expr": "rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!=\"lo\"}[$__rate_interval]) * 8",
   933                                  "format": "time_series",
   934                                  "intervalFactor": 1,
   935                                  "legendFormat": "{{`{{`}}device{{`}}`}}",
   936                                  "refId": "A"
   937                              }
   938                          ],
   939                          "thresholds": [
   940  
   941                          ],
   942                          "timeFrom": null,
   943                          "timeShift": null,
   944                          "title": "Network Transmitted",
   945                          "tooltip": {
   946                              "shared": true,
   947                              "sort": 0,
   948                              "value_type": "individual"
   949                          },
   950                          "type": "graph",
   951                          "xaxis": {
   952                              "buckets": null,
   953                              "mode": "time",
   954                              "name": null,
   955                              "show": true,
   956                              "values": [
   957  
   958                              ]
   959                          },
   960                          "yaxes": [
   961                              {
   962                                  "format": "bps",
   963                                  "label": null,
   964                                  "logBase": 1,
   965                                  "max": null,
   966                                  "min": 0,
   967                                  "show": true
   968                              },
   969                              {
   970                                  "format": "bps",
   971                                  "label": null,
   972                                  "logBase": 1,
   973                                  "max": null,
   974                                  "min": 0,
   975                                  "show": true
   976                              }
   977                          ]
   978                      }
   979                  ],
   980                  "repeat": null,
   981                  "repeatIteration": null,
   982                  "repeatRowId": null,
   983                  "showTitle": true,
   984                  "title": "Network",
   985                  "titleSize": "h6",
   986                  "type": "row"
   987              }
   988          ],
   989          "schemaVersion": 14,
   990          "style": "dark",
   991          "tags": [
   992              "node-exporter-mixin"
   993          ],
   994          "templating": {
   995              "list": [
   996                  {
   997                      "current": {
   998                          "text": "default",
   999                          "value": "default"
  1000                      },
  1001                      "hide": 0,
  1002                      "label": "Data Source",
  1003                      "name": "datasource",
  1004                      "options": [
  1005  
  1006                      ],
  1007                      "query": "prometheus",
  1008                      "refresh": 1,
  1009                      "regex": "",
  1010                      "type": "datasource"
  1011                  },
  1012                  {
  1013                      "allValue": null,
  1014                      "current": {
  1015  
  1016                      },
  1017                      "datasource": "$datasource",
  1018                      "hide": 0,
  1019                      "includeAll": false,
  1020                      "label": "Instance",
  1021                      "multi": false,
  1022                      "name": "instance",
  1023                      "options": [
  1024  
  1025                      ],
  1026                      "query": "label_values(node_uname_info{job=\"node-exporter\", sysname=\"Darwin\"}, instance)",
  1027                      "refresh": 2,
  1028                      "regex": "",
  1029                      "sort": 0,
  1030                      "tagValuesQuery": "",
  1031                      "tags": [
  1032  
  1033                      ],
  1034                      "tagsQuery": "",
  1035                      "type": "query",
  1036                      "useTags": false
  1037                  }
  1038              ]
  1039          },
  1040          "time": {
  1041              "from": "now-1h",
  1042              "to": "now"
  1043          },
  1044          "timepicker": {
  1045              "refresh_intervals": [
  1046                  "5s",
  1047                  "10s",
  1048                  "30s",
  1049                  "1m",
  1050                  "5m",
  1051                  "15m",
  1052                  "30m",
  1053                  "1h",
  1054                  "2h",
  1055                  "1d"
  1056              ],
  1057              "time_options": [
  1058                  "5m",
  1059                  "15m",
  1060                  "1h",
  1061                  "6h",
  1062                  "12h",
  1063                  "24h",
  1064                  "2d",
  1065                  "7d",
  1066                  "30d"
  1067              ]
  1068          },
  1069          "timezone": "{{ .Values.grafana.defaultDashboardsTimezone }}",
  1070          "title": "Node Exporter / MacOS",
  1071          "version": 0
  1072      }
  1073  {{- end }}