{ "apiVersion": "dashboard.grafana.app/v2", "kind": "Dashboard", "metadata": { "name": "1bI4P-xiz", "namespace": "default", "uid": "9e59f20f-d273-4295-84bf-6f60534215b3", "resourceVersion": "1786874154987998", "generation": 1, "creationTimestamp": "2026-08-16T09:55:54Z", "labels": { "grafana.app/deprecatedInternalID": "777" }, "annotations": { "grafana.app/createdBy": "user:dfbtp4cn32dj4f", "grafana.app/folder": "", "grafana.app/saved-from-ui": "Grafana v13.1.1 (a9cee6e172)" } }, "spec": { "annotations": [ { "kind": "AnnotationQuery", "spec": { "query": { "kind": "DataQuery", "group": "datasource", "version": "v0", "datasource": { "name": "grafana" }, "spec": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" } }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "builtIn": true, "legacyOptions": { "type": "dashboard" } } } ], "cursorSync": "Crosshair", "description": "Monitors K3s cluster using Prometheus Operator. Shows overall Cluster CPU / Memory / Cluster Filesystem usage (Longhorn, Ceph, ZFS ZVOLs, etc) as well as CPU, RAM and Network Statistics by Namespace and Node. Uses cAdvisor metrics.", "editable": false, "elements": { "panel-10": { "kind": "Panel", "spec": { "id": 10, "title": "Total", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": false, "expr": "sum(machine_memory_bytes)", "format": "table", "instant": true, "interval": "$resolution", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "bytes", "decimals": 2, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-11": { "kind": "Panel", "spec": { "id": 11, "title": "Used", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "expr": "sum(1-rate(node_cpu_seconds_total{mode=\"idle\"}[$__rate_interval]))", "format": "time_series", "interval": "$resolution", "intervalFactor": 1, "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "none", "decimals": 2, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-12": { "kind": "Panel", "spec": { "id": 12, "title": "Total", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(machine_cpu_cores)", "format": "table", "interval": "$resolution", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "none", "decimals": 0, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-13": { "kind": "Panel", "spec": { "id": 13, "title": "Used", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum without (instance) (ceph_cluster_total_used_bytes)", "format": "time_series", "interval": "$resolution", "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "bytes", "decimals": 2, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-14": { "kind": "Panel", "spec": { "id": 14, "title": "Total", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum without (instance) (ceph_cluster_total_bytes)", "format": "time_series", "interval": "$resolution", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "max" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "bytes", "decimals": 2, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-17": { "kind": "Panel", "spec": { "id": 17, "title": "Network I/O by node", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(rate(node_network_receive_bytes_total[$__rate_interval])) by (instance)", "format": "time_series", "interval": "$resolution", "legendFormat": "{{ instance }} In", "range": true } }, "refId": "A", "hidden": false } }, { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "- sum(rate(node_network_transmit_bytes_total[$__rate_interval])) by (instance)", "format": "time_series", "interval": "$resolution", "legendFormat": "{{ instance }} Out", "range": true } }, "refId": "B", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "bytes", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-27": { "kind": "Panel", "spec": { "id": 27, "title": "Cluster Network I/O", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(rate(node_network_receive_bytes_total[$__rate_interval]))", "format": "time_series", "interval": "$resolution", "legendFormat": "In", "range": true } }, "refId": "A", "hidden": false } }, { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "- sum(rate(node_network_transmit_bytes_total[$__rate_interval]))", "format": "time_series", "interval": "$resolution", "legendFormat": "Out", "range": true } }, "refId": "B", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "list", "placement": "right", "showLegend": false }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "bytes", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-32": { "kind": "Panel", "spec": { "id": 32, "title": "Network I/O by namespace", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "expr": "sum(rate(container_network_receive_bytes_total{namespace!=\"\",interface=~\"eth0|cni0\"}[$__rate_interval])) by (namespace)", "format": "time_series", "interval": "$resolution", "intervalFactor": 4, "legendFormat": "Received by {{ namespace }}", "metric": "network", "step": 10 } }, "refId": "A", "hidden": false } }, { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "expr": "- sum(rate(container_network_receive_bytes_total{namespace!=\"\",interface=~\"eth0|cni0\"}[$__rate_interval])) by (namespace)", "format": "time_series", "interval": "$resolution", "intervalFactor": 4, "legendFormat": "Transmitted by {{ namespace }}", "metric": "network", "step": 10 } }, "refId": "B", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "Bps", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-4": { "kind": "Panel", "spec": { "id": 4, "title": "Cluster Memory usage", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / sum(node_memory_MemTotal_bytes) * 100", "format": "time_series", "interval": "10s", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "gauge", "version": "9.3.0", "spec": { "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "fieldConfig": { "defaults": { "unit": "percent", "min": 0, "max": 100, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "dark-green" }, { "value": 65, "color": "dark-orange" }, { "value": 90, "color": "dark-red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-45": { "kind": "Panel", "spec": { "id": 45, "title": "CPU use by namespace", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(rate(container_cpu_usage_seconds_total{image!=\"\"}[$__rate_interval])) by (namespace)", "format": "time_series", "interval": "$resolution", "intervalFactor": 4, "legendFormat": "{{ namespace}}", "metric": "network", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "percentunit", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-46": { "kind": "Panel", "spec": { "id": 46, "title": "Memory use by namespace", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(container_memory_working_set_bytes{image!=\"\"}) by (namespace)", "format": "time_series", "interval": "$resolution", "intervalFactor": 4, "legendFormat": "{{ namespace}}", "metric": "network", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [ "mean", "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": false }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "decbytes", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [] } } } } }, "panel-52": { "kind": "Panel", "spec": { "id": 52, "title": "", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "prometheus" }, "spec": {} }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "text", "version": "9.3.0", "spec": { "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "
\n \n

$k8s_version

\n
", "mode": "html" }, "fieldConfig": { "defaults": {}, "overrides": [] } } } } }, "panel-54": { "kind": "Panel", "spec": { "id": 54, "title": "Healthy Nodes", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "count(kube_node_spec_unschedulable==0)", "format": "table", "interval": "10s", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "none", "decimals": 0, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 1, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-56": { "kind": "Panel", "spec": { "id": 56, "title": "Unhealthy Nodes", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "count(kube_node_spec_unschedulable!=0) OR on() vector(0)", "format": "table", "interval": "10s", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "none", "decimals": 0, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 1, "color": "dark-red" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-57": { "kind": "Panel", "spec": { "id": 57, "title": "CPU use by node", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "avg(1-rate(node_cpu_seconds_total{mode=\"idle\"}[$__rate_interval])) by (instance)", "format": "time_series", "interval": "$resolution", "legendFormat": "{{ instance }}", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "percentunit", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [ "Value" ], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": true, "viz": true } } ] } ] } } } } }, "panel-58": { "kind": "Panel", "spec": { "id": 58, "title": "Cluster Memory use", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "sum(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes)", "format": "time_series", "interval": "$resolution", "legendFormat": "Memory", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": false, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "bytes", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "continuous-GrYlRd" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "scheme", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [ "Value" ], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": true, "viz": true } } ] } ] } } } } }, "panel-59": { "kind": "Panel", "spec": { "id": 59, "title": "Cluster CPU use", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "avg(1-rate(node_cpu_seconds_total{mode=\"idle\"}[$__rate_interval]))", "format": "time_series", "interval": "$resolution", "legendFormat": "CPU", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": false, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "percentunit", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "continuous-GrYlRd" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "scheme", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [ "Value" ], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": true, "viz": true } } ] } ] } } } } }, "panel-6": { "kind": "Panel", "spec": { "id": 6, "title": "Cluster CPU usage", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "avg(1-rate(node_cpu_seconds_total{mode=\"idle\"}[$__rate_interval]))*100", "format": "time_series", "interval": "10s", "intervalFactor": 1, "legendFormat": "", "range": true, "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "gauge", "version": "9.3.0", "spec": { "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "fieldConfig": { "defaults": { "unit": "percent", "decimals": 2, "min": 0, "max": 100, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "rgba(50, 172, 45, 0.97)" }, { "value": 65, "color": "rgba(237, 129, 40, 0.89)" }, { "value": 90, "color": "rgba(245, 54, 54, 0.9)" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-60": { "kind": "Panel", "spec": { "id": 60, "title": "Memory use by node", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "sum(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) by (instance)", "format": "time_series", "interval": "$resolution", "legendFormat": "{{ instance }}", "range": true } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": {} } }, "vizConfig": { "kind": "VizConfig", "group": "timeseries", "version": "8.0.6", "spec": { "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "fieldConfig": { "defaults": { "unit": "bytes", "thresholds": { "mode": "absolute", "steps": [ { "value": null, "color": "green" }, { "value": 80, "color": "red" } ] }, "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } } }, "overrides": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [ "Value" ], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": true, "viz": true } } ] } ] } } } } }, "panel-7": { "kind": "Panel", "spec": { "id": 7, "title": "Ceph Cluster Storage space", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "editorMode": "code", "exemplar": true, "expr": "sum without (instance) ((ceph_cluster_total_bytes-ceph_cluster_total_used_bytes)/ceph_cluster_total_bytes)", "format": "time_series", "interval": "$resolution", "intervalFactor": 1, "legendFormat": "", "metric": "", "range": true, "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "gauge", "version": "9.3.0", "spec": { "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "text": {} }, "fieldConfig": { "defaults": { "unit": "percentunit", "decimals": 2, "min": 0, "max": 1, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "percentage", "steps": [ { "value": null, "color": "dark-red" }, { "value": 25, "color": "dark-orange" }, { "value": 45, "color": "dark-yellow" }, { "value": 65, "color": "dark-green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } }, "panel-9": { "kind": "Panel", "spec": { "id": 9, "title": "Used", "description": "", "links": [], "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "exemplar": true, "expr": "sum(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes)", "format": "table", "interval": "$resolution", "intervalFactor": 1, "legendFormat": "", "step": 10 } }, "refId": "A", "hidden": false } } ], "transformations": [], "queryOptions": { "maxDataPoints": 100 } } }, "vizConfig": { "kind": "VizConfig", "group": "stat", "version": "9.3.0", "spec": { "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "fieldConfig": { "defaults": { "unit": "bytes", "decimals": 2, "mappings": [ { "type": "special", "options": { "match": "null", "result": { "text": "N/A" } } } ], "thresholds": { "mode": "percentage", "steps": [ { "value": null, "color": "green" } ] }, "color": { "mode": "thresholds" } }, "overrides": [] } } } } } }, "layout": { "kind": "RowsLayout", "spec": { "rows": [ { "kind": "RowsLayoutRow", "spec": { "title": "Total usage", "collapse": false, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 0, "width": 6, "height": 5, "element": { "kind": "ElementReference", "name": "panel-52" } } }, { "kind": "GridLayoutItem", "spec": { "x": 6, "y": 0, "width": 6, "height": 5, "element": { "kind": "ElementReference", "name": "panel-6" } } }, { "kind": "GridLayoutItem", "spec": { "x": 12, "y": 0, "width": 6, "height": 5, "element": { "kind": "ElementReference", "name": "panel-4" } } }, { "kind": "GridLayoutItem", "spec": { "x": 18, "y": 0, "width": 6, "height": 5, "element": { "kind": "ElementReference", "name": "panel-7" } } }, { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-54" } } }, { "kind": "GridLayoutItem", "spec": { "x": 3, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-56" } } }, { "kind": "GridLayoutItem", "spec": { "x": 6, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-11" } } }, { "kind": "GridLayoutItem", "spec": { "x": 9, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-12" } } }, { "kind": "GridLayoutItem", "spec": { "x": 12, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-9" } } }, { "kind": "GridLayoutItem", "spec": { "x": 15, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-10" } } }, { "kind": "GridLayoutItem", "spec": { "x": 18, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-13" } } }, { "kind": "GridLayoutItem", "spec": { "x": 21, "y": 5, "width": 3, "height": 3, "element": { "kind": "ElementReference", "name": "panel-14" } } } ] } } } }, { "kind": "RowsLayoutRow", "spec": { "title": "Cluster usage", "collapse": false, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-27" } } }, { "kind": "GridLayoutItem", "spec": { "x": 8, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-59" } } }, { "kind": "GridLayoutItem", "spec": { "x": 16, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-58" } } } ] } } } }, { "kind": "RowsLayoutRow", "spec": { "title": "Namespace usage", "collapse": false, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-32" } } }, { "kind": "GridLayoutItem", "spec": { "x": 8, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-45" } } }, { "kind": "GridLayoutItem", "spec": { "x": 16, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-46" } } } ] } } } }, { "kind": "RowsLayoutRow", "spec": { "title": "Node Usage", "collapse": false, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "x": 0, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-17" } } }, { "kind": "GridLayoutItem", "spec": { "x": 8, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-57" } } }, { "kind": "GridLayoutItem", "spec": { "x": 16, "y": 0, "width": 8, "height": 7, "element": { "kind": "ElementReference", "name": "panel-60" } } } ] } } } } ] } }, "links": [], "liveNow": false, "preload": false, "tags": [ "Kubernetes", "Prometheus", "K3s" ], "timeSettings": { "timezone": "browser", "from": "now-30m", "to": "now", "autoRefresh": "5s", "autoRefreshIntervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "hideTimepicker": false, "fiscalYearStartMonth": 0 }, "title": "Kubernetes / Views / K3s Cluster", "variables": [ { "kind": "DatasourceVariable", "spec": { "name": "DS_PROMETHEUS", "pluginId": "prometheus", "refresh": "onDashboardLoad", "regex": "", "current": { "text": "Prometheus", "value": "Prometheus" }, "options": [], "multi": false, "includeAll": false, "label": "Data Source", "hide": "dontHide", "skipUrlSync": false, "description": "Name of your datasource", "allowCustomValue": true } }, { "kind": "QueryVariable", "spec": { "name": "k8s_version", "current": { "text": "v1.25.4+k3s1", "value": "v1.25.4+k3s1" }, "hide": "hideVariable", "refresh": "onTimeRangeChanged", "skipUrlSync": false, "description": "Kubernetes Version", "query": { "kind": "DataQuery", "group": "prometheus", "version": "v0", "datasource": { "name": "${DS_PROMETHEUS}" }, "spec": { "query": "label_values(kube_node_info, kubelet_version)", "refId": "StandardVariableQuery" } }, "regex": "", "sort": "disabled", "definition": "label_values(kube_node_info, kubelet_version)", "options": [], "multi": false, "includeAll": false, "allowCustomValue": true } }, { "kind": "CustomVariable", "spec": { "name": "resolution", "query": "1s, 15s, 30s, 1m, 3m, 5m", "current": { "text": "15s", "value": "15s" }, "options": [ { "selected": false, "text": "1s", "value": "1s" }, { "selected": true, "text": "15s", "value": "15s" }, { "selected": false, "text": "30s", "value": "30s" }, { "selected": false, "text": "1m", "value": "1m" }, { "selected": false, "text": "3m", "value": "3m" }, { "selected": false, "text": "5m", "value": "5m" } ], "multi": false, "includeAll": false, "hide": "dontHide", "skipUrlSync": false, "allowCustomValue": true } } ] } }