From 615524070b825a89c941926c173bd67093c81d98 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Thu, 11 Sep 2025 13:03:53 +0000 Subject: [PATCH] Update grafana dashboards Signed-off-by: Nikolaos Karaolidis --- .../podman/grafana/dashboards/system.json | 1644 ++++++++--------- .../podman/grafana/dashboards/traefik.json | 4 +- 2 files changed, 766 insertions(+), 882 deletions(-) diff --git a/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/system.json b/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/system.json index 2b27379..edcac78 100644 --- a/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/system.json +++ b/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/system.json @@ -208,207 +208,6 @@ "x": 6, "y": 1 }, - "id": 8, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "node_load1{hostname=\"$hostname\"} / $cpu_count", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Load Average (1m)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.75 - }, - { - "color": "red", - "value": 0.9 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 8, - "y": 1 - }, - "id": 10, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "node_load5{hostname=\"$hostname\"} / $cpu_count", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Load Average (5m)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.75 - }, - { - "color": "red", - "value": 0.9 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 10, - "y": 1 - }, - "id": 11, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "node_load15{hostname=\"$hostname\"} / $cpu_count", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Load Average (15m)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.75 - }, - { - "color": "red", - "value": 0.9 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 12, - "y": 1 - }, "id": 3, "options": { "minVizHeight": 75, @@ -488,7 +287,7 @@ "gridPos": { "h": 4, "w": 2, - "x": 14, + "x": 8, "y": 1 }, "id": 4, @@ -557,7 +356,7 @@ "gridPos": { "h": 4, "w": 2, - "x": 16, + "x": 10, "y": 1 }, "id": 5, @@ -626,7 +425,7 @@ "gridPos": { "h": 4, "w": 2, - "x": 18, + "x": 12, "y": 1 }, "id": 6, @@ -660,13 +459,214 @@ "title": "Storage Usage", "type": "gauge" }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.75 + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 14, + "y": 1 + }, + "id": 8, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "node_load1{hostname=\"$hostname\"} / $cpu_count", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Load Average (1m)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.75 + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 16, + "y": 1 + }, + "id": 10, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "node_load5{hostname=\"$hostname\"} / $cpu_count", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Load Average (5m)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.75 + }, + { + "color": "red", + "value": 0.9 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 18, + "y": 1 + }, + "id": 11, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "node_load15{hostname=\"$hostname\"} / $cpu_count", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Load Average (15m)", + "type": "stat" + }, { "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { - "h": 8, + "h": 12, "w": 4, "x": 20, "y": 1 @@ -695,534 +695,6 @@ "title": "Alerts", "type": "alertlist" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] - }, - "unit": "currencyGBP" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 0, - "y": 5 - }, - "id": 46, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "disableTextWrap": false, - "editorMode": "code", - "expr": "(((avg_over_time(node_hwmon_power_watt{hostname=\"$hostname\", chip=\"0000:00:08_1_0000:05:00_0\"}[$__range]) + $extra_watts) * ($__range_s / 3600)) / 1000) * $energy_price", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "Money Burned", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.05 - }, - { - "color": "red", - "value": 0.1 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 4, - "y": 5 - }, - "id": 12, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "CPU Stall (W)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.05 - }, - { - "color": "red", - "value": 0.1 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 6, - "y": 5 - }, - "id": 13, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_pressure_memory_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Memory Stall (W)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.05 - }, - { - "color": "red", - "value": 0.1 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 8, - "y": 5 - }, - "id": 14, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_pressure_memory_stalled_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "Memory Stall (S)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.05 - }, - { - "color": "red", - "value": 0.1 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 10, - "y": 5 - }, - "id": 15, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_pressure_io_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "IO Stall (W)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.05 - }, - { - "color": "red", - "value": 0.1 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 12, - "y": 5 - }, - "id": 16, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_pressure_io_stalled_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "IO Stall (S)", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - }, - { - "color": "#EAB839", - "value": 0.1 - }, - { - "color": "red", - "value": 0.2 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 14, - "y": 5 - }, - "id": 7, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "inverted", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": true, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "avg by(hostname) (rate(node_cpu_seconds_total{mode=\"iowait\", hostname=\"$hostname\"}[${__rate_interval}]))", - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "IO Wait", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] - }, - "unit": "binBps" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 16, - "y": 5 - }, - "id": 27, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "editorMode": "code", - "expr": "rate(node_network_receive_bytes_total{hostname=\"$hostname\", device!~\"lo|podman.*|veth.*|wg.*\"}[${__rate_interval}])", - "legendFormat": "{{device}}", - "range": true, - "refId": "A" - } - ], - "title": "RX Rate", - "type": "stat" - }, { "datasource": { "type": "prometheus", @@ -1261,7 +733,7 @@ "h": 4, "w": 2, "x": 0, - "y": 9 + "y": 5 }, "id": 40, "options": { @@ -1332,7 +804,7 @@ "h": 4, "w": 2, "x": 2, - "y": 9 + "y": 5 }, "id": 41, "options": { @@ -1403,7 +875,7 @@ "h": 4, "w": 2, "x": 4, - "y": 9 + "y": 5 }, "id": 42, "options": { @@ -1464,7 +936,7 @@ "h": 4, "w": 2, "x": 6, - "y": 9 + "y": 5 }, "id": 45, "options": { @@ -1499,132 +971,6 @@ "title": "CPU Frequency", "type": "stat" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] - }, - "unit": "volt" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 8, - "y": 9 - }, - "id": 43, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "code", - "expr": "node_hwmon_in_volts{hostname=\"$hostname\", chip=\"0000:00:08_1_0000:05:00_0\", sensor=\"in0\"}", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "CPU Voltage", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] - }, - "unit": "watt" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 10, - "y": 9 - }, - "id": 44, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "code", - "expr": "node_hwmon_power_watt{hostname=\"$hostname\", chip=\"0000:00:08_1_0000:05:00_0\"}", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false - } - ], - "title": "CPU Wattage", - "type": "stat" - }, { "datasource": { "type": "prometheus", @@ -1651,8 +997,8 @@ "gridPos": { "h": 4, "w": 2, - "x": 12, - "y": 9 + "x": 8, + "y": 5 }, "id": 29, "options": { @@ -1713,8 +1059,8 @@ "gridPos": { "h": 4, "w": 2, - "x": 14, - "y": 9 + "x": 10, + "y": 5 }, "id": 30, "options": { @@ -1776,8 +1122,8 @@ "gridPos": { "h": 4, "w": 4, - "x": 16, - "y": 9 + "x": 12, + "y": 5 }, "id": 28, "options": { @@ -1808,6 +1154,544 @@ "title": "TX Rate", "type": "stat" }, + { + "datasource": { + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "index": 0, + "text": "FAILING" + }, + "1": { + "index": 1, + "text": "HEALTHY" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 16, + "y": 5 + }, + "id": 77, + "maxPerRow": 4, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "repeatDirection": "h", + "targets": [ + { + "editorMode": "code", + "expr": "min(smartctl_device_smart_status{hostname=\"$hostname\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "SMART Status", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.05 + }, + { + "color": "red", + "value": 0.1 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 0, + "y": 9 + }, + "id": 12, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU Stall (W)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.05 + }, + { + "color": "red", + "value": 0.1 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 2, + "y": 9 + }, + "id": 13, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_pressure_memory_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Memory Stall (W)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.05 + }, + { + "color": "red", + "value": 0.1 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 4, + "y": 9 + }, + "id": 14, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_pressure_memory_stalled_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Memory Stall (S)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.05 + }, + { + "color": "red", + "value": 0.1 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 6, + "y": 9 + }, + "id": 15, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_pressure_io_waiting_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "IO Stall (W)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.05 + }, + { + "color": "red", + "value": 0.1 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 8, + "y": 9 + }, + "id": 16, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_pressure_io_stalled_seconds_total{hostname=\"$hostname\"}[${__rate_interval}])", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "IO Stall (S)", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.1 + }, + { + "color": "red", + "value": 0.2 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 10, + "y": 9 + }, + "id": 7, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "inverted", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": true, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "avg by(hostname) (rate(node_cpu_seconds_total{mode=\"iowait\", hostname=\"$hostname\"}[${__rate_interval}]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "IO Wait", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + }, + "unit": "binBps" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 9 + }, + "id": 27, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.1.1", + "targets": [ + { + "editorMode": "code", + "expr": "rate(node_network_receive_bytes_total{hostname=\"$hostname\", device!~\"lo|podman.*|veth.*|wg.*\"}[${__rate_interval}])", + "legendFormat": "{{device}}", + "range": true, + "refId": "A" + } + ], + "title": "RX Rate", + "type": "stat" + }, { "datasource": { "type": "prometheus", @@ -1834,7 +1718,7 @@ "gridPos": { "h": 4, "w": 2, - "x": 20, + "x": 16, "y": 9 }, "id": 25, @@ -1900,7 +1784,7 @@ "gridPos": { "h": 4, "w": 2, - "x": 22, + "x": 18, "y": 9 }, "id": 26, @@ -3551,7 +3435,7 @@ "h": 1, "w": 24, "x": 0, - "y": 73 + "y": 76 }, "id": 65, "panels": [], @@ -3602,7 +3486,7 @@ "h": 3, "w": 24, "x": 0, - "y": 74 + "y": 73 }, "id": 66, "maxPerRow": 4, @@ -5032,8 +4916,8 @@ { "allowCustomValue": false, "current": { - "text": "All", - "value": "$__all" + "text": ["All"], + "value": ["$__all"] }, "definition": "label_values(node_cpu_seconds_total{hostname=\"$hostname\"},cpu)", "description": "", @@ -5170,8 +5054,8 @@ { "allowCustomValue": false, "current": { - "text": ["nvme0n1", "sda", "sdb"], - "value": ["nvme0n1", "sda", "sdb"] + "text": ["nvme0n1", "sda", "sdb", "sdc"], + "value": ["nvme0n1", "sda", "sdb", "sdc"] }, "definition": "label_values(node_disk_info,device)", "description": "", @@ -5192,8 +5076,8 @@ { "allowCustomValue": false, "current": { - "text": ["sda", "sdb", "nvme0"], - "value": ["sda", "sdb", "nvme0"] + "text": ["All"], + "value": ["$__all"] }, "definition": "label_values(smartctl_device,device)", "description": "", @@ -5221,5 +5105,5 @@ "timezone": "browser", "title": "System", "uid": "system", - "version": 23 + "version": 1 } diff --git a/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/traefik.json b/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/traefik.json index 1e605af..9a1adfd 100644 --- a/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/traefik.json +++ b/hosts/jupiter/users/storm/configs/console/podman/grafana/dashboards/traefik.json @@ -867,6 +867,6 @@ "timepicker": {}, "timezone": "browser", "title": "Traefik", - "uid": "9789120c-ed69-448a-9ef8-77e73b5a25e2", - "version": 7 + "uid": "traefik", + "version": 1 }