2 Generated from 'nodes' from https://raw.githubusercontent.com/coreos/kube-prometheus/release-0.1/manifests/grafana-dashboardDefinitions.yaml
3 Do not change in-place! In order to change this file first read following link:
4 https://github.com/helm/charts/tree/master/stable/prometheus-operator/hack
6 {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }}
7 {{- if and (semverCompare ">=1.10.0-0" $kubeTargetVersion) (semverCompare "<1.14.0-0" $kubeTargetVersion) .Values.grafana.enabled .Values.grafana.defaultDashboardsEnabled }}
11 namespace: {{ template "prometheus-operator.namespace" . }}
12 name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) "nodes" | trunc 63 | trimSuffix "-" }}
14 {{- if $.Values.grafana.sidecar.dashboards.label }}
15 {{ $.Values.grafana.sidecar.dashboards.label }}: "1"
17 app: {{ template "prometheus-operator.name" $ }}-grafana
18 {{ include "prometheus-operator.labels" $ | indent 4 }}
36 "hideControls": false,
54 "datasource": "$datasource",
61 "alignAsTable": false,
76 "nullPointMode": "null",
91 "expr": "max(node_load1{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
92 "format": "time_series",
94 "legendFormat": "load 1m",
98 "expr": "max(node_load5{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
99 "format": "time_series",
101 "legendFormat": "load 5m",
105 "expr": "max(node_load15{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
106 "format": "time_series",
108 "legendFormat": "load 15m",
112 "expr": "count(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", mode=\"user\"})",
113 "format": "time_series",
115 "legendFormat": "logical cores",
124 "title": "System load",
128 "value_type": "individual"
166 "datasource": "$datasource",
173 "alignAsTable": false,
188 "nullPointMode": "null",
200 "steppedLine": false,
203 "expr": "sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[5m]))",
204 "format": "time_series",
206 "legendFormat": "{{`{{`}}cpu{{`}}`}}",
215 "title": "Usage Per Core",
219 "value_type": "individual"
233 "format": "percentunit",
241 "format": "percentunit",
252 "repeatIteration": null,
255 "title": "Dashboard Row",
270 "datasource": "$datasource",
277 "alignAsTable": "true",
292 "nullPointMode": "null",
304 "steppedLine": false,
307 "expr": "max (sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m])) ) * 100\n",
308 "format": "time_series",
309 "intervalFactor": 10,
310 "legendFormat": "{{`{{`}} cpu {{`}}`}}",
319 "title": "CPU Utilization",
323 "value_type": "individual"
355 "cacheTimeout": null,
356 "colorBackground": false,
359 "rgba(50, 172, 45, 0.97)",
360 "rgba(237, 129, 40, 0.89)",
361 "rgba(245, 54, 54, 0.9)"
363 "datasource": "$datasource",
369 "thresholdLabels": false,
370 "thresholdMarkers": true
383 "name": "value to text",
387 "name": "range to text",
391 "maxDataPoints": 100,
392 "nullPointMode": "connected",
395 "postfixFontSize": "50%",
397 "prefixFontSize": "50%",
407 "fillColor": "rgba(31, 118, 189, 0.18)",
409 "lineColor": "rgb(31, 120, 193)",
415 "expr": "avg(sum by (cpu) (irate(node_cpu_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", mode!=\"idle\", instance=\"$instance\"}[2m]))) * 100\n",
416 "format": "time_series",
422 "thresholds": "80, 90",
423 "title": "CPU Usage",
427 "type": "singlestat",
428 "valueFontSize": "80%",
436 "valueName": "current"
440 "repeatIteration": null,
443 "title": "Dashboard Row",
458 "datasource": "$datasource",
465 "alignAsTable": false,
480 "nullPointMode": "null",
492 "steppedLine": false,
495 "expr": "max(\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n",
496 "format": "time_series",
498 "legendFormat": "memory used",
502 "expr": "max(node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
503 "format": "time_series",
505 "legendFormat": "memory buffers",
509 "expr": "max(node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
510 "format": "time_series",
512 "legendFormat": "memory cached",
516 "expr": "max(node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
517 "format": "time_series",
519 "legendFormat": "memory free",
528 "title": "Memory Usage",
532 "value_type": "individual"
564 "cacheTimeout": null,
565 "colorBackground": false,
568 "rgba(50, 172, 45, 0.97)",
569 "rgba(237, 129, 40, 0.89)",
570 "rgba(245, 54, 54, 0.9)"
572 "datasource": "$datasource",
578 "thresholdLabels": false,
579 "thresholdMarkers": true
592 "name": "value to text",
596 "name": "range to text",
600 "maxDataPoints": 100,
601 "nullPointMode": "connected",
604 "postfixFontSize": "50%",
606 "prefixFontSize": "50%",
616 "fillColor": "rgba(31, 118, 189, 0.18)",
618 "lineColor": "rgb(31, 120, 193)",
624 "expr": "max(\n (\n (\n node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_MemFree_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Buffers_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_memory_Cached_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_memory_MemTotal_bytes{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n",
625 "format": "time_series",
631 "thresholds": "80, 90",
632 "title": "Memory Usage",
636 "type": "singlestat",
637 "valueFontSize": "80%",
645 "valueName": "current"
649 "repeatIteration": null,
652 "title": "Dashboard Row",
667 "datasource": "$datasource",
674 "alignAsTable": false,
689 "nullPointMode": "null",
708 "steppedLine": false,
711 "expr": "max(rate(node_disk_read_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
712 "format": "time_series",
714 "legendFormat": "read",
718 "expr": "max(rate(node_disk_written_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
719 "format": "time_series",
721 "legendFormat": "written",
725 "expr": "max(rate(node_disk_io_time_seconds_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}[2m]))",
726 "format": "time_series",
728 "legendFormat": "io time",
741 "value_type": "individual"
779 "datasource": "$datasource",
786 "alignAsTable": false,
801 "nullPointMode": "null",
813 "steppedLine": false,
816 "expr": "max by (namespace, pod, device) ((node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"} - node_filesystem_avail_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"}) / node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"})",
817 "format": "time_series",
819 "legendFormat": "disk used",
823 "expr": "max by (namespace, pod, device) (node_filesystem_avail_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"} / node_filesystem_size_bytes{cluster=\"$cluster\", fstype=~\"ext[234]|btrfs|xfs|zfs\", instance=\"$instance\", job=\"node-exporter\"})",
824 "format": "time_series",
826 "legendFormat": "disk free",
835 "title": "Disk Space Usage",
839 "value_type": "individual"
853 "format": "percentunit",
861 "format": "percentunit",
872 "repeatIteration": null,
875 "title": "Dashboard Row",
890 "datasource": "$datasource",
897 "alignAsTable": false,
912 "nullPointMode": "null",
924 "steppedLine": false,
927 "expr": "max(rate(node_network_receive_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m]))",
928 "format": "time_series",
930 "legendFormat": "{{`{{`}}device{{`}}`}}",
939 "title": "Network Received",
943 "value_type": "individual"
981 "datasource": "$datasource",
988 "alignAsTable": false,
1003 "nullPointMode": "null",
1004 "percentage": false,
1009 "seriesOverrides": [
1015 "steppedLine": false,
1018 "expr": "max(rate(node_network_transmit_bytes_total{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\", device!~\"lo\"}[5m]))",
1019 "format": "time_series",
1020 "intervalFactor": 2,
1021 "legendFormat": "{{`{{`}}device{{`}}`}}",
1030 "title": "Network Transmitted",
1034 "value_type": "individual"
1067 "repeatIteration": null,
1068 "repeatRowId": null,
1070 "title": "Dashboard Row",
1085 "datasource": "$datasource",
1092 "alignAsTable": false,
1107 "nullPointMode": "null",
1108 "percentage": false,
1113 "seriesOverrides": [
1119 "steppedLine": false,
1122 "expr": "max(\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n)\n",
1123 "format": "time_series",
1124 "intervalFactor": 2,
1125 "legendFormat": "inodes used",
1129 "expr": "max(node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"})",
1130 "format": "time_series",
1131 "intervalFactor": 2,
1132 "legendFormat": "inodes free",
1141 "title": "Inodes Usage",
1145 "value_type": "individual"
1177 "cacheTimeout": null,
1178 "colorBackground": false,
1179 "colorValue": false,
1181 "rgba(50, 172, 45, 0.97)",
1182 "rgba(237, 129, 40, 0.89)",
1183 "rgba(245, 54, 54, 0.9)"
1185 "datasource": "$datasource",
1186 "format": "percent",
1191 "thresholdLabels": false,
1192 "thresholdMarkers": true
1205 "name": "value to text",
1209 "name": "range to text",
1213 "maxDataPoints": 100,
1214 "nullPointMode": "connected",
1217 "postfixFontSize": "50%",
1219 "prefixFontSize": "50%",
1229 "fillColor": "rgba(31, 118, 189, 0.18)",
1231 "lineColor": "rgb(31, 120, 193)",
1237 "expr": "max(\n (\n (\n node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n - node_filesystem_files_free{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n )\n / node_filesystem_files{cluster=\"$cluster\", job=\"node-exporter\", instance=\"$instance\"}\n ) * 100)\n",
1238 "format": "time_series",
1239 "intervalFactor": 2,
1244 "thresholds": "80, 90",
1245 "title": "Inodes Usage",
1249 "type": "singlestat",
1250 "valueFontSize": "80%",
1258 "valueName": "current"
1262 "repeatIteration": null,
1263 "repeatRowId": null,
1265 "title": "Dashboard Row",
1270 "schemaVersion": 14,
1279 "text": "Prometheus",
1280 "value": "Prometheus"
1284 "name": "datasource",
1288 "query": "prometheus",
1291 "type": "datasource"
1298 "datasource": "$datasource",
1300 "includeAll": false,
1307 "query": "label_values(kube_pod_info, cluster)",
1311 "tagValuesQuery": "",
1324 "datasource": "$datasource",
1326 "includeAll": false,
1333 "query": "label_values(node_boot_time_seconds{cluster=\"$cluster\", job=\"node-exporter\"}, instance)",
1337 "tagValuesQuery": "",
1352 "refresh_intervals": [
1377 "title": "Kubernetes / Nodes",
1378 "uid": "fa49a4706d07a042595b664c87fb33ea",