1 # Generated from 'k8s-node-rsrc-use' 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" $) "k8s-node-rsrc-use" | 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 }}
14 k8s-node-rsrc-use.json: |-
24 "hideControls": false,
41 "datasource": "$datasource",
58 "nullPointMode": "null as zero",
72 "expr": "node:node_cpu_utilisation:avg1m{node=\"$node\"}",
73 "format": "time_series",
75 "legendFormat": "Utilisation",
85 "title": "CPU Utilisation",
89 "value_type": "individual"
103 "format": "percentunit",
127 "datasource": "$datasource",
144 "nullPointMode": "null as zero",
155 "steppedLine": false,
158 "expr": "node:node_cpu_saturation_load1:{node=\"$node\"}",
159 "format": "time_series",
161 "legendFormat": "Saturation",
171 "title": "CPU Saturation (Load1)",
175 "value_type": "individual"
189 "format": "percentunit",
208 "repeatIteration": null,
225 "datasource": "$datasource",
242 "nullPointMode": "null as zero",
253 "steppedLine": false,
256 "expr": "node:node_memory_utilisation:{node=\"$node\"}",
257 "format": "time_series",
259 "legendFormat": "Memory",
269 "title": "Memory Utilisation",
273 "value_type": "individual"
287 "format": "percentunit",
311 "datasource": "$datasource",
328 "nullPointMode": "null as zero",
339 "steppedLine": false,
342 "expr": "node:node_memory_swap_io_bytes:sum_rate{node=\"$node\"}",
343 "format": "time_series",
345 "legendFormat": "Swap IO",
355 "title": "Memory Saturation (Swap I/O)",
359 "value_type": "individual"
392 "repeatIteration": null,
409 "datasource": "$datasource",
426 "nullPointMode": "null as zero",
437 "steppedLine": false,
440 "expr": "node:node_disk_utilisation:avg_irate{node=\"$node\"}",
441 "format": "time_series",
443 "legendFormat": "Utilisation",
453 "title": "Disk IO Utilisation",
457 "value_type": "individual"
471 "format": "percentunit",
495 "datasource": "$datasource",
512 "nullPointMode": "null as zero",
523 "steppedLine": false,
526 "expr": "node:node_disk_saturation:avg_irate{node=\"$node\"}",
527 "format": "time_series",
529 "legendFormat": "Saturation",
539 "title": "Disk IO Saturation",
543 "value_type": "individual"
557 "format": "percentunit",
576 "repeatIteration": null,
593 "datasource": "$datasource",
610 "nullPointMode": "null as zero",
621 "steppedLine": false,
624 "expr": "node:node_net_utilisation:sum_irate{node=\"$node\"}",
625 "format": "time_series",
627 "legendFormat": "Utilisation",
637 "title": "Net Utilisation (Transmitted)",
641 "value_type": "individual"
679 "datasource": "$datasource",
696 "nullPointMode": "null as zero",
707 "steppedLine": false,
710 "expr": "node:node_net_saturation:sum_irate{node=\"$node\"}",
711 "format": "time_series",
713 "legendFormat": "Saturation",
723 "title": "Net Saturation (Dropped)",
727 "value_type": "individual"
760 "repeatIteration": null,
777 "datasource": "$datasource",
794 "nullPointMode": "null as zero",
805 "steppedLine": false,
808 "expr": "node:node_filesystem_usage:\n* on (namespace, pod) group_left (node) node_namespace_pod:kube_pod_info:{node=\"$node\"}\n",
809 "format": "time_series",
811 "legendFormat": "{{`{{device}}`}}",
821 "title": "Disk Utilisation",
825 "value_type": "individual"
839 "format": "percentunit",
858 "repeatIteration": null,
874 "text": "Prometheus",
875 "value": "Prometheus"
879 "name": "datasource",
883 "query": "prometheus",
894 "datasource": "$datasource",
903 "query": "label_values(kube_node_info, node)",
907 "tagValuesQuery": "",
922 "refresh_intervals": [
947 "title": "K8s / USE Method / Node",
948 "uid": "4ac4f123aae0ff6dbaf4f4f66120033b",