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