1 # Generated from 'nodes' from https://raw.githubusercontent.com/coreos/prometheus-operator/master/contrib/kube-prometheus/manifests/grafana-dashboardDefinitions.yaml
2 {{- if and .Values.grafana.enabled .Values.grafana.defaultDashboardsEnabled }}
6 name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) "nodes" | trunc 63 | trimSuffix "-" }}
8 {{- if $.Values.grafana.sidecar.dashboards.label }}
9 {{ $.Values.grafana.sidecar.dashboards.label }}: "1"
11 app: {{ template "prometheus-operator.name" $ }}-grafana
12 {{ include "prometheus-operator.labels" $ | indent 4 }}
24 "hideControls": false,
42 "datasource": "$datasource",
49 "alignAsTable": false,
64 "nullPointMode": "null",
79 "expr": "max(node_load1{job=\"node-exporter\", instance=\"$instance\"})",
80 "format": "time_series",
82 "legendFormat": "load 1m",
86 "expr": "max(node_load5{job=\"node-exporter\", instance=\"$instance\"})",
87 "format": "time_series",
89 "legendFormat": "load 5m",
93 "expr": "max(node_load15{job=\"node-exporter\", instance=\"$instance\"})",
94 "format": "time_series",
96 "legendFormat": "load 15m",
105 "title": "System load",
109 "value_type": "individual"
147 "datasource": "$datasource",
154 "alignAsTable": false,
169 "nullPointMode": "null",
181 "steppedLine": false,
184 "expr": "sum by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[5m]))",
185 "format": "time_series",
187 "legendFormat": "{{`{{cpu}}`}}",
196 "title": "Usage Per Core",
200 "value_type": "individual"
214 "format": "percentunit",
222 "format": "percentunit",
233 "repeatIteration": null,
236 "title": "Dashboard Row",
251 "datasource": "$datasource",
258 "alignAsTable": "true",
273 "nullPointMode": "null",
285 "steppedLine": false,
288 "expr": "max (sum by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m])) ) * 100\n",
289 "format": "time_series",
290 "intervalFactor": 10,
291 "legendFormat": "{{`{{ cpu }}`}}",
300 "title": "CPU Utilizaion",
304 "value_type": "individual"
336 "cacheTimeout": null,
337 "colorBackground": false,
340 "rgba(50, 172, 45, 0.97)",
341 "rgba(237, 129, 40, 0.89)",
342 "rgba(245, 54, 54, 0.9)"
344 "datasource": "$datasource",
350 "thresholdLabels": false,
351 "thresholdMarkers": true
364 "name": "value to text",
368 "name": "range to text",
372 "maxDataPoints": 100,
373 "nullPointMode": "connected",
376 "postfixFontSize": "50%",
378 "prefixFontSize": "50%",
388 "fillColor": "rgba(31, 118, 189, 0.18)",
390 "lineColor": "rgb(31, 120, 193)",
396 "expr": "avg(sum by (cpu) (irate(node_cpu_seconds_total{job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m]))) * 100\n",
397 "format": "time_series",
403 "thresholds": "80, 90",
404 "title": "CPU Usage",
405 "type": "singlestat",
406 "valueFontSize": "80%",
414 "valueName": "current"
418 "repeatIteration": null,
421 "title": "Dashboard Row",
436 "datasource": "$datasource",
443 "alignAsTable": false,
458 "nullPointMode": "null",
470 "steppedLine": false,
473 "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",
474 "format": "time_series",
476 "legendFormat": "memory used",
480 "expr": "max(node_memory_Buffers_bytes{job=\"node-exporter\", instance=\"$instance\"})",
481 "format": "time_series",
483 "legendFormat": "memory buffers",
487 "expr": "max(node_memory_Cached_bytes{job=\"node-exporter\", instance=\"$instance\"})",
488 "format": "time_series",
490 "legendFormat": "memory cached",
494 "expr": "max(node_memory_MemFree_bytes{job=\"node-exporter\", instance=\"$instance\"})",
495 "format": "time_series",
497 "legendFormat": "memory free",
506 "title": "Memory Usage",
510 "value_type": "individual"
542 "cacheTimeout": null,
543 "colorBackground": false,
546 "rgba(50, 172, 45, 0.97)",
547 "rgba(237, 129, 40, 0.89)",
548 "rgba(245, 54, 54, 0.9)"
550 "datasource": "$datasource",
556 "thresholdLabels": false,
557 "thresholdMarkers": true
570 "name": "value to text",
574 "name": "range to text",
578 "maxDataPoints": 100,
579 "nullPointMode": "connected",
582 "postfixFontSize": "50%",
584 "prefixFontSize": "50%",
594 "fillColor": "rgba(31, 118, 189, 0.18)",
596 "lineColor": "rgb(31, 120, 193)",
602 "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",
603 "format": "time_series",
609 "thresholds": "80, 90",
610 "title": "Memory Usage",
611 "type": "singlestat",
612 "valueFontSize": "80%",
620 "valueName": "current"
624 "repeatIteration": null,
627 "title": "Dashboard Row",
642 "datasource": "$datasource",
649 "alignAsTable": false,
664 "nullPointMode": "null",
683 "steppedLine": false,
686 "expr": "max(rate(node_disk_read_bytes_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
687 "format": "time_series",
689 "legendFormat": "read",
693 "expr": "max(rate(node_disk_written_bytes_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
694 "format": "time_series",
696 "legendFormat": "written",
700 "expr": "max(rate(node_disk_io_time_seconds_total{job=\"node-exporter\", instance=\"$instance\"}[2m]))",
701 "format": "time_series",
703 "legendFormat": "io time",
716 "value_type": "individual"
754 "datasource": "$datasource",
761 "alignAsTable": false,
776 "nullPointMode": "null",
788 "steppedLine": false,
791 "expr": "node:node_filesystem_usage:\n",
792 "format": "time_series",
794 "legendFormat": "{{`{{device}}`}}",
803 "title": "Disk Space Usage",
807 "value_type": "individual"
821 "format": "percentunit",
829 "format": "percentunit",
840 "repeatIteration": null,
843 "title": "Dashboard Row",
858 "datasource": "$datasource",
865 "alignAsTable": false,
880 "nullPointMode": "null",
892 "steppedLine": false,
895 "expr": "max(rate(node_network_receive_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!\u007e\"lo\"}[5m]))",
896 "format": "time_series",
898 "legendFormat": "{{`{{device}}`}}",
907 "title": "Network Received",
911 "value_type": "individual"
949 "datasource": "$datasource",
956 "alignAsTable": false,
971 "nullPointMode": "null",
983 "steppedLine": false,
986 "expr": "max(rate(node_network_transmit_bytes_total{job=\"node-exporter\", instance=\"$instance\", device!\u007e\"lo\"}[5m]))",
987 "format": "time_series",
989 "legendFormat": "{{`{{device}}`}}",
998 "title": "Network Transmitted",
1002 "value_type": "individual"
1035 "repeatIteration": null,
1036 "repeatRowId": null,
1038 "title": "Dashboard Row",
1053 "datasource": "$datasource",
1060 "alignAsTable": false,
1075 "nullPointMode": "null",
1076 "percentage": false,
1081 "seriesOverrides": [
1087 "steppedLine": false,
1090 "expr": "max(\n node_filesystem_files{job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{job=\"node-exporter\", instance=\"$instance\"}\n)\n",
1091 "format": "time_series",
1092 "intervalFactor": 2,
1093 "legendFormat": "inodes used",
1097 "expr": "max(node_filesystem_files_free{job=\"node-exporter\", instance=\"$instance\"})",
1098 "format": "time_series",
1099 "intervalFactor": 2,
1100 "legendFormat": "inodes free",
1109 "title": "Inodes Usage",
1113 "value_type": "individual"
1145 "cacheTimeout": null,
1146 "colorBackground": false,
1147 "colorValue": false,
1149 "rgba(50, 172, 45, 0.97)",
1150 "rgba(237, 129, 40, 0.89)",
1151 "rgba(245, 54, 54, 0.9)"
1153 "datasource": "$datasource",
1154 "format": "percent",
1159 "thresholdLabels": false,
1160 "thresholdMarkers": true
1173 "name": "value to text",
1177 "name": "range to text",
1181 "maxDataPoints": 100,
1182 "nullPointMode": "connected",
1185 "postfixFontSize": "50%",
1187 "prefixFontSize": "50%",
1197 "fillColor": "rgba(31, 118, 189, 0.18)",
1199 "lineColor": "rgb(31, 120, 193)",
1205 "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",
1206 "format": "time_series",
1207 "intervalFactor": 2,
1212 "thresholds": "80, 90",
1213 "title": "Inodes Usage",
1214 "type": "singlestat",
1215 "valueFontSize": "80%",
1223 "valueName": "current"
1227 "repeatIteration": null,
1228 "repeatRowId": null,
1230 "title": "Dashboard Row",
1235 "schemaVersion": 14,
1244 "text": "Prometheus",
1245 "value": "Prometheus"
1249 "name": "datasource",
1253 "query": "prometheus",
1256 "type": "datasource"
1263 "datasource": "$datasource",
1265 "includeAll": false,
1272 "query": "label_values(node_boot_time_seconds{job=\"node-exporter\"}, instance)",
1276 "tagValuesQuery": "",
1291 "refresh_intervals": [
1317 "uid": "fa49a4706d07a042595b664c87fb33ea",