1 # Generated from 'k8s-node-rsrc-use' 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 }}
8 name: {{ printf "%s-%s" (include "prometheus-operator.fullname" $) "k8s-node-rsrc-use" | trunc 63 | trimSuffix "-" }}
10 {{- if $.Values.grafana.sidecar.dashboards.label }}
11 {{ $.Values.grafana.sidecar.dashboards.label }}: "1"
13 app: {{ template "prometheus-operator.name" $ }}-grafana
14 {{ include "prometheus-operator.labels" $ | indent 4 }}
16 k8s-node-rsrc-use.json: |-
26 "hideControls": false,
43 "datasource": "$datasource",
60 "nullPointMode": "null as zero",
74 "expr": "node:node_cpu_utilisation:avg1m{node=\"$node\"}",
75 "format": "time_series",
77 "legendFormat": "Utilisation",
87 "title": "CPU Utilisation",
91 "value_type": "individual"
105 "format": "percentunit",
129 "datasource": "$datasource",
146 "nullPointMode": "null as zero",
157 "steppedLine": false,
160 "expr": "node:node_cpu_saturation_load1:{node=\"$node\"}",
161 "format": "time_series",
163 "legendFormat": "Saturation",
173 "title": "CPU Saturation (Load1)",
177 "value_type": "individual"
191 "format": "percentunit",
210 "repeatIteration": null,
227 "datasource": "$datasource",
244 "nullPointMode": "null as zero",
255 "steppedLine": false,
258 "expr": "node:node_memory_utilisation:{node=\"$node\"}",
259 "format": "time_series",
261 "legendFormat": "Memory",
271 "title": "Memory Utilisation",
275 "value_type": "individual"
289 "format": "percentunit",
313 "datasource": "$datasource",
330 "nullPointMode": "null as zero",
341 "steppedLine": false,
344 "expr": "node:node_memory_swap_io_bytes:sum_rate{node=\"$node\"}",
345 "format": "time_series",
347 "legendFormat": "Swap IO",
357 "title": "Memory Saturation (Swap I/O)",
361 "value_type": "individual"
394 "repeatIteration": null,
411 "datasource": "$datasource",
428 "nullPointMode": "null as zero",
439 "steppedLine": false,
442 "expr": "node:node_disk_utilisation:avg_irate{node=\"$node\"}",
443 "format": "time_series",
445 "legendFormat": "Utilisation",
455 "title": "Disk IO Utilisation",
459 "value_type": "individual"
473 "format": "percentunit",
497 "datasource": "$datasource",
514 "nullPointMode": "null as zero",
525 "steppedLine": false,
528 "expr": "node:node_disk_saturation:avg_irate{node=\"$node\"}",
529 "format": "time_series",
531 "legendFormat": "Saturation",
541 "title": "Disk IO Saturation",
545 "value_type": "individual"
559 "format": "percentunit",
578 "repeatIteration": null,
595 "datasource": "$datasource",
612 "nullPointMode": "null as zero",
623 "steppedLine": false,
626 "expr": "node:node_net_utilisation:sum_irate{node=\"$node\"}",
627 "format": "time_series",
629 "legendFormat": "Utilisation",
639 "title": "Net Utilisation (Transmitted)",
643 "value_type": "individual"
681 "datasource": "$datasource",
698 "nullPointMode": "null as zero",
709 "steppedLine": false,
712 "expr": "node:node_net_saturation:sum_irate{node=\"$node\"}",
713 "format": "time_series",
715 "legendFormat": "Saturation",
725 "title": "Net Saturation (Dropped)",
729 "value_type": "individual"
762 "repeatIteration": null,
779 "datasource": "$datasource",
796 "nullPointMode": "null as zero",
807 "steppedLine": false,
810 "expr": "node:node_filesystem_usage:\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:{node=\"$node\"}\n",
811 "format": "time_series",
813 "legendFormat": "{{`{{device}}`}}",
823 "title": "Disk Utilisation",
827 "value_type": "individual"
841 "format": "percentunit",
860 "repeatIteration": null,
876 "text": "Prometheus",
877 "value": "Prometheus"
881 "name": "datasource",
885 "query": "prometheus",
896 "datasource": "$datasource",
905 "query": "label_values(kube_node_info, node)",
909 "tagValuesQuery": "",
924 "refresh_intervals": [
949 "title": "Kubernetes / USE Method / Node",
950 "uid": "4ac4f123aae0ff6dbaf4f4f66120033b",