From 209f71c63a415d3d73a056311877cba7e37d93ab Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 8 Jul 2024 10:16:37 +0300 Subject: [PATCH] Update node_exporter dashboard for new metrics structure --- .../lgtm/dashboards/node_exporter.json | 582 +++++++++--------- 1 file changed, 281 insertions(+), 301 deletions(-) diff --git a/services/monitoring/lgtm/dashboards/node_exporter.json b/services/monitoring/lgtm/dashboards/node_exporter.json index 6b09f5e..e5787bd 100644 --- a/services/monitoring/lgtm/dashboards/node_exporter.json +++ b/services/monitoring/lgtm/dashboards/node_exporter.json @@ -135,7 +135,7 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -144,7 +144,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "irate(node_pressure_cpu_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -160,7 +160,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "irate(node_pressure_memory_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_pressure_memory_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "instant": true, @@ -177,7 +177,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "irate(node_pressure_io_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_pressure_io_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "instant": true, @@ -259,7 +259,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -268,7 +268,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", instance=\"$node\"}[$__rate_interval])))", + "expr": "100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", hostname=\"$hostname\"}[$__rate_interval])))", "hide": false, "instant": true, "intervalFactor": 1, @@ -349,7 +349,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -358,7 +358,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "scalar(node_load1{instance=\"$node\",job=\"$job\"}) * 100 / count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu))", + "expr": "scalar(node_load1{hostname=\"$hostname\"}) * 100 / count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu))", "format": "time_series", "hide": false, "instant": true, @@ -430,7 +430,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -439,7 +439,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "((node_memory_MemTotal_bytes{instance=\"$node\", job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$node\", job=\"$job\"}) / node_memory_MemTotal_bytes{instance=\"$node\", job=\"$job\"}) * 100", + "expr": "((node_memory_MemTotal_bytes{hostname=\"$hostname\"} - node_memory_MemFree_bytes{hostname=\"$hostname\"}) / node_memory_MemTotal_bytes{hostname=\"$hostname\"}) * 100", "format": "time_series", "hide": true, "instant": true, @@ -455,7 +455,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "(1 - (node_memory_MemAvailable_bytes{instance=\"$node\", job=\"$job\"} / node_memory_MemTotal_bytes{instance=\"$node\", job=\"$job\"})) * 100", + "expr": "(1 - (node_memory_MemAvailable_bytes{hostname=\"$hostname\"} / node_memory_MemTotal_bytes{hostname=\"$hostname\"})) * 100", "format": "time_series", "hide": false, "instant": true, @@ -536,7 +536,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -545,7 +545,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "((node_memory_SwapTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$node\",job=\"$job\"}) / (node_memory_SwapTotal_bytes{instance=\"$node\",job=\"$job\"})) * 100", + "expr": "((node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"}) / (node_memory_SwapTotal_bytes{hostname=\"$hostname\"})) * 100", "instant": true, "intervalFactor": 1, "range": false, @@ -624,7 +624,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -633,7 +633,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "100 - ((node_filesystem_avail_bytes{instance=\"$node\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"})", + "expr": "100 - ((node_filesystem_avail_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -708,7 +708,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -717,7 +717,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu))", + "expr": "count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu))", "instant": true, "legendFormat": "__auto", "range": false, @@ -792,7 +792,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -801,7 +801,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_time_seconds{instance=\"$node\",job=\"$job\"} - node_boot_time_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_time_seconds{hostname=\"$hostname\"} - node_boot_time_seconds{hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -880,7 +880,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -889,7 +889,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"}", + "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"}", "format": "time_series", "hide": false, "instant": true, @@ -966,7 +966,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -975,7 +975,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -1050,7 +1050,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "10.4.1", + "pluginVersion": "11.0.0", "targets": [ { "datasource": { @@ -1059,7 +1059,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_memory_SwapTotal_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_SwapTotal_bytes{hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -1160,6 +1160,7 @@ "sortDesc": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -1171,7 +1172,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(rate(container_cpu_usage_seconds_total{job=\"$job\", cpu=\"total\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(rate(container_cpu_usage_seconds_total{hostname=\"$hostname\", cpu=\"total\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1258,6 +1259,7 @@ "sortDesc": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -1269,7 +1271,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(rate(container_cpu_system_seconds_total{job=\"$job\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(rate(container_cpu_system_seconds_total{hostname=\"$hostname\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1356,6 +1358,7 @@ "sortDesc": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -1367,7 +1370,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(container_memory_rss{job=\"$job\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(container_memory_rss{hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1454,6 +1457,7 @@ "sortDesc": true }, "tooltip": { + "maxHeight": 600, "mode": "single", "sort": "none" } @@ -1465,7 +1469,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(container_memory_swap{job=\"$job\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(container_memory_swap{hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1686,6 +1690,7 @@ "width": 250 }, "tooltip": { + "maxHeight": 600, "mode": "multi", "sort": "desc" } @@ -1699,7 +1704,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "instant": false, @@ -1715,7 +1720,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -1730,7 +1735,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy Iowait", @@ -1744,7 +1749,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=~\".*irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=~\".*irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy IRQs", @@ -1758,7 +1763,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode!='idle',mode!='user',mode!='system',mode!='iowait',mode!='irq',mode!='softirq'}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode!='idle',mode!='user',mode!='system',mode!='iowait',mode!='irq',mode!='softirq'}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy Other", @@ -1772,7 +1777,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Idle", @@ -2231,6 +2236,7 @@ "width": 350 }, "tooltip": { + "maxHeight": 600, "mode": "multi", "sort": "none" } @@ -2242,7 +2248,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -2255,7 +2261,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"} - (node_memory_Cached_bytes{instance=\"$node\",job=\"$job\"} + node_memory_Buffers_bytes{instance=\"$node\",job=\"$job\"} + node_memory_SReclaimable_bytes{instance=\"$node\",job=\"$job\"})", + "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"} - node_memory_MemFree_bytes{hostname=\"$hostname\"} - (node_memory_Cached_bytes{hostname=\"$hostname\"} + node_memory_Buffers_bytes{hostname=\"$hostname\"} + node_memory_SReclaimable_bytes{hostname=\"$hostname\"})", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -2268,7 +2274,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Cached_bytes{instance=\"$node\",job=\"$job\"} + node_memory_Buffers_bytes{instance=\"$node\",job=\"$job\"} + node_memory_SReclaimable_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Cached_bytes{hostname=\"$hostname\"} + node_memory_Buffers_bytes{hostname=\"$hostname\"} + node_memory_SReclaimable_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Cache + Buffer", @@ -2280,7 +2286,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_MemFree_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Free", @@ -2292,7 +2298,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "(node_memory_SwapTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$node\",job=\"$job\"})", + "expr": "(node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "SWAP Used", @@ -2738,6 +2744,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "multi", "sort": "none" } @@ -2749,7 +2756,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8", + "expr": "irate(node_network_receive_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "recv {{device}}", @@ -2761,7 +2768,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8", + "expr": "irate(node_network_transmit_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "trans {{device}} ", @@ -2851,6 +2858,7 @@ "showLegend": true }, "tooltip": { + "maxHeight": 600, "mode": "multi", "sort": "none" } @@ -2862,7 +2870,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "100 - ((node_filesystem_avail_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'} * 100) / node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'})", + "expr": "100 - ((node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'} * 100) / node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'})", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}}", @@ -3102,7 +3110,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -3117,7 +3125,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "User - Normal processes executing in user mode", @@ -3131,7 +3139,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"nice\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"nice\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Nice - Niced processes executing in user mode", @@ -3145,7 +3153,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum by(instance) (irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum by(instance) (irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Iowait - Waiting for I/O to complete", @@ -3159,7 +3167,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Irq - Servicing interrupts", @@ -3173,7 +3181,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"softirq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"softirq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Softirq - Servicing softirqs", @@ -3187,7 +3195,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"steal\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"steal\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Steal - Time spent in other operating systems when running in a virtualized environment", @@ -3201,7 +3209,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3608,7 +3616,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"} - node_memory_Buffers_bytes{instance=\"$node\",job=\"$job\"} - node_memory_Cached_bytes{instance=\"$node\",job=\"$job\"} - node_memory_Slab_bytes{instance=\"$node\",job=\"$job\"} - node_memory_PageTables_bytes{instance=\"$node\",job=\"$job\"} - node_memory_SwapCached_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"} - node_memory_MemFree_bytes{hostname=\"$hostname\"} - node_memory_Buffers_bytes{hostname=\"$hostname\"} - node_memory_Cached_bytes{hostname=\"$hostname\"} - node_memory_Slab_bytes{hostname=\"$hostname\"} - node_memory_PageTables_bytes{hostname=\"$hostname\"} - node_memory_SwapCached_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3621,7 +3629,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_PageTables_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_PageTables_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3634,7 +3642,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SwapCached_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_SwapCached_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SwapCache - Memory that keeps track of pages that have been fetched from swap but not yet been modified", @@ -3646,7 +3654,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Slab_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Slab_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3659,7 +3667,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Cached_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Cached_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3672,7 +3680,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Buffers_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Buffers_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3685,7 +3693,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_MemFree_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3698,7 +3706,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "(node_memory_SwapTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$node\",job=\"$job\"})", + "expr": "(node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"})", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3711,7 +3719,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HardwareCorrupted_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_HardwareCorrupted_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3886,7 +3894,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8", + "expr": "irate(node_network_receive_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive", @@ -3898,7 +3906,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8", + "expr": "irate(node_network_transmit_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit", @@ -4001,7 +4009,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'} - node_filesystem_avail_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'} - node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}}", @@ -4431,7 +4439,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_completed_total{instance=\"$node\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_completed_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 4, "legendFormat": "{{device}} - Reads completed", "refId": "A", @@ -4442,7 +4450,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_completed_total{instance=\"$node\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_completed_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Writes completed", "refId": "B", @@ -4658,7 +4666,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_bytes_total{instance=\"$node\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_read_bytes_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -4671,7 +4679,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_written_bytes_total{instance=\"$node\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_written_bytes_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -4803,7 +4811,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_seconds_total{instance=\"$node\",job=\"$job\",device=~\"$diskdevices\"} [$__rate_interval])", + "expr": "irate(node_disk_io_time_seconds_total{hostname=\"$hostname\",device=~\"$diskdevices\"} [$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -4936,7 +4944,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{instance=\"$node\",job=\"$job\", mode=\"user\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}[1m])))", + "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{hostname=\"$hostname\", mode=\"user\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{hostname=\"$hostname\"}[1m])))", "hide": false, "legendFormat": "Guest - Time spent running a virtual CPU for a guest operating system", "range": true, @@ -4948,7 +4956,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{instance=\"$node\",job=\"$job\", mode=\"nice\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}[1m])))", + "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{hostname=\"$hostname\", mode=\"nice\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{hostname=\"$hostname\"}[1m])))", "hide": false, "legendFormat": "GuestNice - Time spent running a niced guest (virtual CPU for guest operating system)", "range": true, @@ -5333,7 +5341,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Inactive_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Inactive - Memory which has been less recently used. It is more eligible to be reclaimed for other purposes", @@ -5345,7 +5353,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Active_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Active - Memory that has been used more recently and usually not reclaimed unless absolutely necessary", @@ -5723,7 +5731,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Committed_AS_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Committed_AS_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Committed_AS - Amount of memory presently allocated on the system", @@ -5735,7 +5743,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_CommitLimit_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_CommitLimit_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "CommitLimit - Amount of memory currently available to be allocated on the system", @@ -6094,7 +6102,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_file_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Inactive_file_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6107,7 +6115,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_anon_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Inactive_anon_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6120,7 +6128,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_file_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Active_file_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6133,7 +6141,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_anon_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Active_anon_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6522,7 +6530,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Writeback_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Writeback_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Writeback - Memory which is actively being written back to disk", @@ -6534,7 +6542,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_WritebackTmp_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_WritebackTmp_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "WritebackTmp - Memory used by FUSE for temporary writeback buffers", @@ -6546,7 +6554,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Dirty_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Dirty_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Dirty - Memory which is waiting to get written back to the disk", @@ -6929,7 +6937,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Mapped_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Mapped_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Mapped - Used memory in mapped pages files which have been mapped, such as libraries", @@ -6941,7 +6949,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Shmem_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Shmem_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Shmem - Used shared memory (shared between several processes, thus including RAM disks)", @@ -6953,7 +6961,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_ShmemHugePages_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_ShmemHugePages_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -6966,7 +6974,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_ShmemPmdMapped_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_ShmemPmdMapped_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -7355,7 +7363,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SUnreclaim_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_SUnreclaim_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SUnreclaim - Part of Slab, that cannot be reclaimed on memory pressure", @@ -7367,7 +7375,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SReclaimable_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_SReclaimable_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SReclaimable - Part of Slab, that might be reclaimed, such as caches", @@ -7740,7 +7748,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocChunk_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_VmallocChunk_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -7753,7 +7761,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocTotal_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_VmallocTotal_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -7766,7 +7774,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocUsed_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_VmallocUsed_bytes{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -8126,7 +8134,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Bounce_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Bounce_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Bounce - Memory used for block device bounce buffers", @@ -8511,7 +8519,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_AnonHugePages_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_AnonHugePages_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "AnonHugePages - Memory in anonymous huge pages", @@ -8523,7 +8531,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_AnonPages_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_AnonPages_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "AnonPages - Memory in user pages not backed by files", @@ -8882,7 +8890,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_KernelStack_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_KernelStack_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "KernelStack - Kernel memory stack. This is not reclaimable", @@ -8894,7 +8902,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Percpu_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Percpu_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -9267,7 +9275,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Free{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_HugePages_Free{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages_Free - Huge pages in the pool that are not yet allocated", @@ -9279,7 +9287,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Rsvd{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_HugePages_Rsvd{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages_Rsvd - Huge pages for which a commitment to allocate from the pool has been made, but no allocation has yet been made", @@ -9291,7 +9299,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Surp{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_HugePages_Surp{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages_Surp - Huge pages in the pool above the value in /proc/sys/vm/nr_hugepages", @@ -9663,7 +9671,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Total{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_HugePages_Total{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages - Total size of the pool of huge pages", @@ -9675,7 +9683,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Hugepagesize_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Hugepagesize_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Hugepagesize - Huge Page size", @@ -10047,7 +10055,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap1G_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_DirectMap1G_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "DirectMap1G - Amount of pages mapped as this size", @@ -10059,7 +10067,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap2M_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_DirectMap2M_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -10072,7 +10080,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap4k_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_DirectMap4k_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -10432,7 +10440,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Unevictable_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Unevictable_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Unevictable - Amount of unevictable memory that can't be swapped out for a variety of reasons", @@ -10444,7 +10452,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Mlocked_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_Mlocked_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "MLocked - Size of pages locked to memory using the mlock() system call", @@ -10832,7 +10840,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_NFS_Unstable_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_memory_NFS_Unstable_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "NFS Unstable - Memory in NFS pages sent to the server, but not yet committed to the storage", @@ -10973,7 +10981,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgpgin{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgpgin{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pagesin - Page in operations", @@ -10985,7 +10993,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgpgout{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgpgout{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pagesout - Page out operations", @@ -11099,7 +11107,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pswpin{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pswpin{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pswpin - Pages swapped in", @@ -11111,7 +11119,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pswpout{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pswpout{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pswpout - Pages swapped out", @@ -11489,7 +11497,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgfault{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgfault{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgfault - Page major and minor fault operations", @@ -11501,7 +11509,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgmajfault{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgmajfault{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgmajfault - Major page fault operations", @@ -11513,7 +11521,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgfault{instance=\"$node\",job=\"$job\"}[$__rate_interval]) - irate(node_vmstat_pgmajfault{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgfault{hostname=\"$hostname\"}[$__rate_interval]) - irate(node_vmstat_pgmajfault{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgminfault - Minor page fault operations", @@ -11901,7 +11909,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_oom_kill{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_vmstat_oom_kill{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12047,7 +12055,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_estimated_error_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_estimated_error_seconds{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12061,7 +12069,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_offset_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_offset_seconds{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12075,7 +12083,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_maxerror_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_maxerror_seconds{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12179,7 +12187,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_loop_time_constant{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_loop_time_constant{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12298,7 +12306,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_sync_status{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_sync_status{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12311,7 +12319,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_frequency_adjustment_ratio{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_frequency_adjustment_ratio{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12414,7 +12422,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_tick_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_tick_seconds{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12427,7 +12435,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_tai_offset_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_timex_tai_offset_seconds{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12557,7 +12565,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_procs_blocked{instance=\"$node\",job=\"$job\"}", + "expr": "node_procs_blocked{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Processes blocked waiting for I/O to complete", @@ -12569,7 +12577,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_procs_running{instance=\"$node\",job=\"$job\"}", + "expr": "node_procs_running{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Processes in runnable state", @@ -12672,7 +12680,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_state{instance=\"$node\",job=\"$job\"}", + "expr": "node_processes_state{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12775,7 +12783,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_forks_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_forks_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -12891,7 +12899,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_bytes{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_bytes{hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -12904,7 +12912,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_resident_memory_max_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "process_resident_memory_max_bytes{hostname=\"$hostname\"}", "hide": false, "interval": "", "intervalFactor": 1, @@ -12917,7 +12925,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_bytes{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_bytes{hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -12930,7 +12938,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_max_bytes{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_max_bytes{hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -13054,7 +13062,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_pids{instance=\"$node\",job=\"$job\"}", + "expr": "node_processes_pids{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13067,7 +13075,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_max_processes{instance=\"$node\",job=\"$job\"}", + "expr": "node_processes_max_processes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13182,7 +13190,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_running_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_schedstat_running_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13195,7 +13203,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_schedstat_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13319,7 +13327,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_threads{instance=\"$node\",job=\"$job\"}", + "expr": "node_processes_threads{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13332,7 +13340,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_max_threads{instance=\"$node\",job=\"$job\"}", + "expr": "node_processes_max_threads{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13463,7 +13471,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_context_switches_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_context_switches_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Context switches", @@ -13475,7 +13483,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_intr_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_intr_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13579,7 +13587,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load1{instance=\"$node\",job=\"$job\"}", + "expr": "node_load1{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 1m", @@ -13591,7 +13599,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load5{instance=\"$node\",job=\"$job\"}", + "expr": "node_load5{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 5m", @@ -13603,7 +13611,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load15{instance=\"$node\",job=\"$job\"}", + "expr": "node_load15{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 15m", @@ -13704,7 +13712,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_cpu_scaling_frequency_hertz{instance=\"$node\",job=\"$job\"}", + "expr": "node_cpu_scaling_frequency_hertz{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -13873,7 +13881,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_cpu_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "rate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "CPU some", @@ -13887,7 +13895,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_memory_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "rate(node_pressure_memory_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13902,7 +13910,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_memory_stalled_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "rate(node_pressure_memory_stalled_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13917,7 +13925,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_io_waiting_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "rate(node_pressure_io_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13932,7 +13940,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_io_stalled_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "rate(node_pressure_io_stalled_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -14077,7 +14085,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_interrupts_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_interrupts_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14180,7 +14188,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_timeslices_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_schedstat_timeslices_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14284,7 +14292,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_entropy_available_bits{instance=\"$node\",job=\"$job\"}", + "expr": "node_entropy_available_bits{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Entropy available to random number generators", @@ -14386,7 +14394,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_cpu_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(process_cpu_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14510,7 +14518,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_max_fds{instance=\"$node\",job=\"$job\"}", + "expr": "process_max_fds{hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "Maximum open file descriptors", @@ -14522,7 +14530,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_open_fds{instance=\"$node\",job=\"$job\"}", + "expr": "process_open_fds{hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "Open file descriptors", @@ -14691,7 +14699,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}", + "expr": "node_hwmon_temp_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14704,7 +14712,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_alarm_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}", + "expr": "node_hwmon_temp_crit_alarm_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14718,7 +14726,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}", + "expr": "node_hwmon_temp_crit_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14731,7 +14739,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_hyst_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}", + "expr": "node_hwmon_temp_crit_hyst_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14745,7 +14753,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_max_celsius{instance=\"$node\",job=\"$job\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{instance=\"$node\",job=\"$job\"}", + "expr": "node_hwmon_temp_max_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14869,7 +14877,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_cooling_device_cur_state{instance=\"$node\",job=\"$job\"}", + "expr": "node_cooling_device_cur_state{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -14883,7 +14891,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_cooling_device_max_state{instance=\"$node\",job=\"$job\"}", + "expr": "node_cooling_device_max_state{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14986,7 +14994,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_power_supply_online{instance=\"$node\",job=\"$job\"}", + "expr": "node_power_supply_online{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -15117,7 +15125,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_systemd_socket_accepted_connections_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_systemd_socket_accepted_connections_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15295,7 +15303,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{instance=\"$node\",job=\"$job\",state=\"activating\"}", + "expr": "node_systemd_units{hostname=\"$hostname\",state=\"activating\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15308,7 +15316,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{instance=\"$node\",job=\"$job\",state=\"active\"}", + "expr": "node_systemd_units{hostname=\"$hostname\",state=\"active\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15321,7 +15329,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{instance=\"$node\",job=\"$job\",state=\"deactivating\"}", + "expr": "node_systemd_units{hostname=\"$hostname\",state=\"deactivating\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15334,7 +15342,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{instance=\"$node\",job=\"$job\",state=\"failed\"}", + "expr": "node_systemd_units{hostname=\"$hostname\",state=\"failed\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15347,7 +15355,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{instance=\"$node\",job=\"$job\",state=\"inactive\"}", + "expr": "node_systemd_units{hostname=\"$hostname\",state=\"inactive\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15790,7 +15798,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_completed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_completed_total{hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 4, "legendFormat": "{{device}} - Reads completed", "refId": "A", @@ -15801,7 +15809,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_completed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_completed_total{hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Writes completed", "refId": "B", @@ -16215,7 +16223,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_read_bytes_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 4, "legendFormat": "{{device}} - Read bytes", @@ -16227,7 +16235,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_written_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_written_bytes_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Written bytes", @@ -16642,7 +16650,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_time_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval]) / irate(node_disk_reads_completed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_read_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_reads_completed_total{hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 4, @@ -16655,7 +16663,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_write_time_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval]) / irate(node_disk_writes_completed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_write_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_writes_completed_total{hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -17060,7 +17068,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_weighted_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_io_time_weighted_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}}", @@ -17475,7 +17483,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_merged_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_merged_total{hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Read merged", "refId": "A", @@ -17486,7 +17494,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_merged_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_merged_total{hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Write merged", "refId": "B", @@ -17889,7 +17897,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_io_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - IO", @@ -17901,7 +17909,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discard_time_seconds_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_discard_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - discard", @@ -18305,7 +18313,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_disk_io_now{instance=\"$node\",job=\"$job\"}", + "expr": "node_disk_io_now{hostname=\"$hostname\"}", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - IO now", @@ -18708,7 +18716,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discards_completed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_discards_completed_total{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - Discards completed", @@ -18720,7 +18728,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discards_merged_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_disk_discards_merged_total{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 1, "legendFormat": "{{device}} - Discards merged", @@ -18850,7 +18858,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_avail_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -18864,7 +18872,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_free_bytes{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": true, "intervalFactor": 1, @@ -18877,7 +18885,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": true, "intervalFactor": 1, @@ -18981,7 +18989,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_files_free{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_files_free{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -19085,7 +19093,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filefd_maximum{instance=\"$node\",job=\"$job\"}", + "expr": "node_filefd_maximum{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Max open files", @@ -19097,7 +19105,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filefd_allocated{instance=\"$node\",job=\"$job\"}", + "expr": "node_filefd_allocated{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Open files", @@ -19200,7 +19208,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_files{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_files{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -19321,7 +19329,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_readonly{instance=\"$node\",job=\"$job\",device!~'rootfs'}", + "expr": "node_filesystem_readonly{hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}} - ReadOnly", @@ -19333,7 +19341,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_device_error{instance=\"$node\",job=\"$job\",device!~'rootfs',fstype!~'tmpfs'}", + "expr": "node_filesystem_device_error{hostname=\"$hostname\",device!~'rootfs',fstype!~'tmpfs'}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19536,7 +19544,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_packets_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_packets_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19549,7 +19557,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_packets_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_packets_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19665,7 +19673,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_errs_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_errs_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive errors", @@ -19677,7 +19685,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_errs_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_errs_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit errors", @@ -19792,7 +19800,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_drop_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_drop_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive drop", @@ -19804,7 +19812,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_drop_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_drop_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit drop", @@ -19919,7 +19927,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_compressed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_compressed_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive compressed", @@ -19931,7 +19939,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_compressed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_compressed_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit compressed", @@ -20046,7 +20054,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_multicast_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_multicast_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive multicast", @@ -20161,7 +20169,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_fifo_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_fifo_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive fifo", @@ -20173,7 +20181,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_fifo_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_fifo_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit fifo", @@ -20288,7 +20296,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_frame_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_receive_frame_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -20391,7 +20399,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_carrier_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_carrier_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Statistic transmit_carrier", @@ -20506,7 +20514,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_colls_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_colls_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit colls", @@ -20628,7 +20636,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_nf_conntrack_entries{instance=\"$node\",job=\"$job\"}", + "expr": "node_nf_conntrack_entries{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "NF conntrack entries", @@ -20640,7 +20648,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_nf_conntrack_entries_limit{instance=\"$node\",job=\"$job\"}", + "expr": "node_nf_conntrack_entries_limit{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "NF conntrack limit", @@ -20742,7 +20750,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_arp_entries{instance=\"$node\",job=\"$job\"}", + "expr": "node_arp_entries{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - ARP entries", @@ -20845,7 +20853,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_mtu_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_network_mtu_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Bytes", @@ -20948,7 +20956,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_speed_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_network_speed_bytes{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Speed", @@ -21051,7 +21059,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_transmit_queue_length{instance=\"$node\",job=\"$job\"}", + "expr": "node_network_transmit_queue_length{hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Interface transmit queue length", @@ -21166,7 +21174,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_processed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_softnet_processed_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21179,7 +21187,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_dropped_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_softnet_dropped_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21282,7 +21290,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_times_squeezed_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_softnet_times_squeezed_total{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21385,7 +21393,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_up{operstate=\"up\",instance=\"$node\",job=\"$job\"}", + "expr": "node_network_up{operstate=\"up\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{interface}} - Operational state UP", @@ -21397,7 +21405,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_carrier{instance=\"$node\",job=\"$job\"}", + "expr": "node_network_carrier{hostname=\"$hostname\"}", "format": "time_series", "instant": false, "legendFormat": "{{device}} - Physical link state", @@ -21526,7 +21534,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_alloc{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_alloc{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21539,7 +21547,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_inuse{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_inuse{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21552,7 +21560,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_mem{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_mem{hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -21566,7 +21574,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_orphan{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_orphan{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21579,7 +21587,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_tw{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_tw{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21683,7 +21691,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDPLITE_inuse{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_UDPLITE_inuse{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21696,7 +21704,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_inuse{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_UDP_inuse{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21709,7 +21717,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_mem{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_UDP_mem{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21813,7 +21821,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_FRAG_inuse{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_FRAG_inuse{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21826,7 +21834,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_RAW_inuse{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_RAW_inuse{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21930,7 +21938,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_mem_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_TCP_mem_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21943,7 +21951,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_mem_bytes{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_UDP_mem_bytes{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21956,7 +21964,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_FRAG_memory{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_FRAG_memory{hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "FRAG_memory - Used memory for frag", @@ -22058,7 +22066,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_sockets_used{instance=\"$node\",job=\"$job\"}", + "expr": "node_sockstat_sockets_used{hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22201,7 +22209,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_IpExt_InOctets{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_IpExt_InOctets{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22214,7 +22222,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_IpExt_OutOctets{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_IpExt_OutOctets{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "OutOctets - Sent octets", @@ -22317,7 +22325,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Ip_Forwarding{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Ip_Forwarding{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22432,7 +22440,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_InMsgs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_InMsgs{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22445,7 +22453,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_OutMsgs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_OutMsgs{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22560,7 +22568,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_InErrors{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_InErrors{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22687,7 +22695,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_InDatagrams{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_InDatagrams{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22700,7 +22708,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_OutDatagrams{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_OutDatagrams{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22802,7 +22810,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_InErrors{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_InErrors{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22815,7 +22823,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_NoPorts{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_NoPorts{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22828,7 +22836,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_UdpLite_InErrors{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_UdpLite_InErrors{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "InErrors Lite - UDPLite Datagrams that could not be delivered to an application", "refId": "C" @@ -22838,7 +22846,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_RcvbufErrors{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_RcvbufErrors{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22851,7 +22859,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_SndbufErrors{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_SndbufErrors{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22978,7 +22986,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_InSegs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_InSegs{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "instant": false, "interval": "", @@ -22992,7 +23000,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_OutSegs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_OutSegs{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23096,7 +23104,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_ListenOverflows{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_ListenOverflows{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23110,7 +23118,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_ListenDrops{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_ListenDrops{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23124,7 +23132,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_TCPSynRetrans{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_TCPSynRetrans{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23137,7 +23145,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_RetransSegs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_RetransSegs{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "RetransSegs - Segments retransmitted - that is, the number of TCP segments transmitted containing one or more previously transmitted octets", "refId": "D" @@ -23147,7 +23155,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_InErrs{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_InErrs{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "InErrs - Segments received in error (e.g., bad TCP checksums)", "refId": "E" @@ -23157,7 +23165,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_OutRsts{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_OutRsts{hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "OutRsts - Segments sent with RST flag", "refId": "F" @@ -23277,7 +23285,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_netstat_Tcp_CurrEstab{instance=\"$node\",job=\"$job\"}", + "expr": "node_netstat_Tcp_CurrEstab{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23291,7 +23299,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_netstat_Tcp_MaxConn{instance=\"$node\",job=\"$job\"}", + "expr": "node_netstat_Tcp_MaxConn{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23408,7 +23416,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesFailed{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesFailed{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23422,7 +23430,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesRecv{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesRecv{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23436,7 +23444,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesSent{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesSent{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23540,7 +23548,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_ActiveOpens{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_ActiveOpens{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23553,7 +23561,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_PassiveOpens{instance=\"$node\",job=\"$job\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_PassiveOpens{hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23654,7 +23662,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"established\",instance=\"$node\",job=\"$job\"}", + "expr": "node_tcp_connection_states{state=\"established\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23669,7 +23677,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"fin_wait2\",instance=\"$node\",job=\"$job\"}", + "expr": "node_tcp_connection_states{state=\"fin_wait2\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23685,7 +23693,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"listen\",instance=\"$node\",job=\"$job\"}", + "expr": "node_tcp_connection_states{state=\"listen\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23701,7 +23709,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"time_wait\",instance=\"$node\",job=\"$job\"}", + "expr": "node_tcp_connection_states{state=\"time_wait\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23833,7 +23841,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_scrape_collector_duration_seconds{instance=\"$node\",job=\"$job\"}", + "expr": "node_scrape_collector_duration_seconds{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23960,7 +23968,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_scrape_collector_success{instance=\"$node\",job=\"$job\"}", + "expr": "node_scrape_collector_success{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23974,7 +23982,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_textfile_scrape_error{instance=\"$node\",job=\"$job\"}", + "expr": "node_textfile_scrape_error{hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -24012,7 +24020,7 @@ { "current": { "selected": false, - "text": "Prometheus", + "text": "Mimir", "value": "mimir" }, "hide": 0, @@ -24031,53 +24039,24 @@ { "current": { "selected": true, - "text": "qb", - "value": "qb" + "text": "meta01", + "value": "meta01" }, "datasource": { "type": "prometheus", "uid": "${datasource}" }, - "definition": "", - "hide": 0, - "includeAll": false, - "label": "Job", - "multi": false, - "name": "job", - "options": [], - "query": { - "query": "label_values(node_uname_info, job)", - "refId": "Prometheus-job-Variable-Query" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tagsQuery": "", - "type": "query", - "useTags": false - }, - { - "current": { - "selected": false, - "text": "qb:9002", - "value": "qb:9002" - }, - "datasource": { - "type": "prometheus", - "uid": "${datasource}" - }, - "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", + "definition": "label_values(node_uname_info,hostname)", "hide": 0, "includeAll": false, "label": "Host", "multi": false, - "name": "node", + "name": "hostname", "options": [], "query": { - "query": "label_values(node_uname_info{job=\"$job\"}, instance)", - "refId": "Prometheus-node-Variable-Query" + "qryType": 1, + "query": "label_values(node_uname_info,hostname)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", @@ -24115,6 +24094,7 @@ "from": "now-15m", "to": "now" }, + "timeRangeUpdatedDuringEditOrView": false, "timepicker": { "refresh_intervals": [ "5s",