{ "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": "