From 226eacdeec0be58f16c91180e6a7109caec261e9 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 22 Oct 2024 16:40:36 +0200 Subject: [PATCH] chore: add tenancy in node_exporter Signed-off-by: Raito Bezarius --- .../lgtm/dashboards/node_exporter.json | 578 +++++++++--------- 1 file changed, 303 insertions(+), 275 deletions(-) diff --git a/services/monitoring/lgtm/dashboards/node_exporter.json b/services/monitoring/lgtm/dashboards/node_exporter.json index e5787bd..718aca8 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": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -144,7 +144,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "irate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_pressure_cpu_waiting_seconds_total{tenant=\"$tenant\",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{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_pressure_memory_waiting_seconds_total{tenant=\"$tenant\",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{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_pressure_io_waiting_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "instant": true, @@ -259,7 +259,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -268,7 +268,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", hostname=\"$hostname\"}[$__rate_interval])))", + "expr": "100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\", tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])))", "hide": false, "instant": true, "intervalFactor": 1, @@ -349,7 +349,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -358,7 +358,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "scalar(node_load1{hostname=\"$hostname\"}) * 100 / count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu))", + "expr": "scalar(node_load1{tenant=\"$tenant\",hostname=\"$hostname\"}) * 100 / count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu))", "format": "time_series", "hide": false, "instant": true, @@ -430,7 +430,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -439,7 +439,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "((node_memory_MemTotal_bytes{hostname=\"$hostname\"} - node_memory_MemFree_bytes{hostname=\"$hostname\"}) / node_memory_MemTotal_bytes{hostname=\"$hostname\"}) * 100", + "expr": "((node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_MemFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}) / node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}) * 100", "format": "time_series", "hide": true, "instant": true, @@ -455,7 +455,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "(1 - (node_memory_MemAvailable_bytes{hostname=\"$hostname\"} / node_memory_MemTotal_bytes{hostname=\"$hostname\"})) * 100", + "expr": "(1 - (node_memory_MemAvailable_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} / node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"})) * 100", "format": "time_series", "hide": false, "instant": true, @@ -536,7 +536,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -545,7 +545,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "((node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"}) / (node_memory_SwapTotal_bytes{hostname=\"$hostname\"})) * 100", + "expr": "((node_memory_SwapTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_SwapFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}) / (node_memory_SwapTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"})) * 100", "instant": true, "intervalFactor": 1, "range": false, @@ -624,7 +624,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -633,7 +633,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "100 - ((node_filesystem_avail_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"})", + "expr": "100 - ((node_filesystem_avail_bytes{tenant=\"$tenant\",hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{tenant=\"$tenant\",hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"})", "format": "time_series", "instant": true, "intervalFactor": 1, @@ -697,6 +697,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -708,7 +709,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -717,7 +718,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu))", + "expr": "count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu))", "instant": true, "legendFormat": "__auto", "range": false, @@ -781,6 +782,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -792,7 +794,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -801,7 +803,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_time_seconds{hostname=\"$hostname\"} - node_boot_time_seconds{hostname=\"$hostname\"}", + "expr": "node_time_seconds{tenant=\"$tenant\",hostname=\"$hostname\"} - node_boot_time_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -869,6 +871,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -880,7 +883,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -889,7 +892,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"}", + "expr": "node_filesystem_size_bytes{tenant=\"$tenant\",hostname=\"$hostname\",mountpoint=\"/\",fstype!=\"rootfs\"}", "format": "time_series", "hide": false, "instant": true, @@ -955,6 +958,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -966,7 +970,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -975,7 +979,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -1039,6 +1043,7 @@ "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1050,7 +1055,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "11.0.0", + "pluginVersion": "11.2.1", "targets": [ { "datasource": { @@ -1059,7 +1064,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "node_memory_SwapTotal_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_SwapTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "instant": true, "intervalFactor": 1, "range": false, @@ -1101,6 +1106,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -1172,7 +1178,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(rate(container_cpu_usage_seconds_total{hostname=\"$hostname\", cpu=\"total\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(rate(container_cpu_usage_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", cpu=\"total\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1200,6 +1206,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -1271,7 +1278,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(rate(container_cpu_system_seconds_total{hostname=\"$hostname\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(rate(container_cpu_system_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", id=~\".*[.]service\"}[$__rate_interval]), \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1299,6 +1306,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -1370,7 +1378,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(container_memory_rss{hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(container_memory_rss{tenant=\"$tenant\",hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1398,6 +1406,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "opacity", @@ -1469,7 +1478,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "label_replace(container_memory_swap{hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", + "expr": "label_replace(container_memory_swap{tenant=\"$tenant\",hostname=\"$hostname\", id=~\".*[.]service\"}, \"unit\", \"$1\", \"id\", \".*?([^/]*)[.]service$\")", "instant": false, "legendFormat": "{{unit}}", "range": true, @@ -1555,8 +1564,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1704,7 +1712,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "instant": false, @@ -1720,7 +1728,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -1735,7 +1743,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy Iowait", @@ -1749,7 +1757,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=~\".*irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=~\".*irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy IRQs", @@ -1763,7 +1771,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "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)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode!='idle',mode!='user',mode!='system',mode!='iowait',mode!='irq',mode!='softirq'}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy Other", @@ -1777,7 +1785,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Idle", @@ -1839,8 +1847,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2248,7 +2255,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemTotal_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -2261,7 +2268,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "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\"})", + "expr": "node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_MemFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - (node_memory_Cached_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} + node_memory_Buffers_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} + node_memory_SReclaimable_bytes{tenant=\"$tenant\",hostname=\"$hostname\"})", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -2274,7 +2281,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Cached_bytes{hostname=\"$hostname\"} + node_memory_Buffers_bytes{hostname=\"$hostname\"} + node_memory_SReclaimable_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Cached_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} + node_memory_Buffers_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} + node_memory_SReclaimable_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Cache + Buffer", @@ -2286,7 +2293,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemFree_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_MemFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "RAM Free", @@ -2298,7 +2305,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "(node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"})", + "expr": "(node_memory_SwapTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_SwapFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "SWAP Used", @@ -2358,8 +2365,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2756,7 +2762,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", + "expr": "irate(node_network_receive_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "recv {{device}}", @@ -2768,7 +2774,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", + "expr": "irate(node_network_transmit_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "trans {{device}} ", @@ -2830,8 +2836,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2870,7 +2875,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "100 - ((node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'} * 100) / node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'})", + "expr": "100 - ((node_filesystem_avail_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'} * 100) / node_filesystem_size_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'})", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}}", @@ -3110,7 +3115,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"system\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -3125,7 +3130,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"user\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "User - Normal processes executing in user mode", @@ -3139,7 +3144,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"nice\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"nice\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Nice - Niced processes executing in user mode", @@ -3153,7 +3158,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "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)))", + "expr": "sum by(instance) (irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"iowait\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Iowait - Waiting for I/O to complete", @@ -3167,7 +3172,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"irq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Irq - Servicing interrupts", @@ -3181,7 +3186,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"softirq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"softirq\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Softirq - Servicing softirqs", @@ -3195,7 +3200,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"steal\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"steal\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Steal - Time spent in other operating systems when running in a virtualized environment", @@ -3209,7 +3214,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "sum(irate(node_cpu_seconds_total{hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{hostname=\"$hostname\"}) by (cpu)))", + "expr": "sum(irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"idle\"}[$__rate_interval])) / scalar(count(count(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}) by (cpu)))", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3616,7 +3621,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "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\"}", + "expr": "node_memory_MemTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_MemFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_Buffers_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_Cached_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_Slab_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_PageTables_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_SwapCached_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3629,7 +3634,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_PageTables_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_PageTables_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3642,7 +3647,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SwapCached_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_SwapCached_bytes{tenant=\"$tenant\",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", @@ -3654,7 +3659,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Slab_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Slab_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3667,7 +3672,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Cached_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Cached_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3680,7 +3685,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Buffers_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Buffers_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3693,7 +3698,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_MemFree_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_MemFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3706,7 +3711,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "(node_memory_SwapTotal_bytes{hostname=\"$hostname\"} - node_memory_SwapFree_bytes{hostname=\"$hostname\"})", + "expr": "(node_memory_SwapTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"} - node_memory_SwapFree_bytes{tenant=\"$tenant\",hostname=\"$hostname\"})", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3719,7 +3724,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HardwareCorrupted_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_HardwareCorrupted_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -3894,7 +3899,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", + "expr": "irate(node_network_receive_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive", @@ -3906,7 +3911,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_bytes_total{hostname=\"$hostname\"}[$__rate_interval])*8", + "expr": "irate(node_network_transmit_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit", @@ -4009,7 +4014,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'} - node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_size_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'} - node_filesystem_avail_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}}", @@ -4439,7 +4444,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_completed_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_completed_total{tenant=\"$tenant\",hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 4, "legendFormat": "{{device}} - Reads completed", "refId": "A", @@ -4450,7 +4455,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_completed_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_completed_total{tenant=\"$tenant\",hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Writes completed", "refId": "B", @@ -4666,7 +4671,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_bytes_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_read_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -4679,7 +4684,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_written_bytes_total{hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", + "expr": "irate(node_disk_written_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -4811,7 +4816,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_seconds_total{hostname=\"$hostname\",device=~\"$diskdevices\"} [$__rate_interval])", + "expr": "irate(node_disk_io_time_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\",device=~\"$diskdevices\"} [$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -4944,7 +4949,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "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])))", + "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"user\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[1m])))", "hide": false, "legendFormat": "Guest - Time spent running a virtual CPU for a guest operating system", "range": true, @@ -4956,7 +4961,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "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])))", + "expr": "sum by(instance) (irate(node_cpu_guest_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\", mode=\"nice\"}[1m])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[1m])))", "hide": false, "legendFormat": "GuestNice - Time spent running a niced guest (virtual CPU for guest operating system)", "range": true, @@ -5341,7 +5346,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Inactive_bytes{tenant=\"$tenant\",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", @@ -5353,7 +5358,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Active_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Active - Memory that has been used more recently and usually not reclaimed unless absolutely necessary", @@ -5731,7 +5736,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Committed_AS_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Committed_AS_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Committed_AS - Amount of memory presently allocated on the system", @@ -5743,7 +5748,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_CommitLimit_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_CommitLimit_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "CommitLimit - Amount of memory currently available to be allocated on the system", @@ -6102,7 +6107,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_file_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Inactive_file_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6115,7 +6120,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Inactive_anon_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Inactive_anon_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6128,7 +6133,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_file_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Active_file_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6141,7 +6146,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Active_anon_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Active_anon_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -6530,7 +6535,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Writeback_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Writeback_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Writeback - Memory which is actively being written back to disk", @@ -6542,7 +6547,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_WritebackTmp_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_WritebackTmp_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "WritebackTmp - Memory used by FUSE for temporary writeback buffers", @@ -6554,7 +6559,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Dirty_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Dirty_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Dirty - Memory which is waiting to get written back to the disk", @@ -6937,7 +6942,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Mapped_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Mapped_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Mapped - Used memory in mapped pages files which have been mapped, such as libraries", @@ -6949,7 +6954,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Shmem_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Shmem_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Shmem - Used shared memory (shared between several processes, thus including RAM disks)", @@ -6961,7 +6966,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_ShmemHugePages_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_ShmemHugePages_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -6974,7 +6979,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_ShmemPmdMapped_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_ShmemPmdMapped_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -7363,7 +7368,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SUnreclaim_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_SUnreclaim_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SUnreclaim - Part of Slab, that cannot be reclaimed on memory pressure", @@ -7375,7 +7380,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_SReclaimable_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_SReclaimable_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "SReclaimable - Part of Slab, that might be reclaimed, such as caches", @@ -7748,7 +7753,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocChunk_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_VmallocChunk_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -7761,7 +7766,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocTotal_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_VmallocTotal_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -7774,7 +7779,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_VmallocUsed_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_VmallocUsed_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -8134,7 +8139,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Bounce_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Bounce_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Bounce - Memory used for block device bounce buffers", @@ -8519,7 +8524,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_AnonHugePages_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_AnonHugePages_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "AnonHugePages - Memory in anonymous huge pages", @@ -8531,7 +8536,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_AnonPages_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_AnonPages_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "AnonPages - Memory in user pages not backed by files", @@ -8890,7 +8895,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_KernelStack_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_KernelStack_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "KernelStack - Kernel memory stack. This is not reclaimable", @@ -8902,7 +8907,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Percpu_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Percpu_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -9275,7 +9280,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Free{hostname=\"$hostname\"}", + "expr": "node_memory_HugePages_Free{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages_Free - Huge pages in the pool that are not yet allocated", @@ -9287,7 +9292,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Rsvd{hostname=\"$hostname\"}", + "expr": "node_memory_HugePages_Rsvd{tenant=\"$tenant\",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", @@ -9299,7 +9304,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Surp{hostname=\"$hostname\"}", + "expr": "node_memory_HugePages_Surp{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages_Surp - Huge pages in the pool above the value in /proc/sys/vm/nr_hugepages", @@ -9671,7 +9676,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_HugePages_Total{hostname=\"$hostname\"}", + "expr": "node_memory_HugePages_Total{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "HugePages - Total size of the pool of huge pages", @@ -9683,7 +9688,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Hugepagesize_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Hugepagesize_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Hugepagesize - Huge Page size", @@ -10055,7 +10060,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap1G_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_DirectMap1G_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "DirectMap1G - Amount of pages mapped as this size", @@ -10067,7 +10072,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap2M_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_DirectMap2M_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -10080,7 +10085,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_DirectMap4k_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_DirectMap4k_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -10440,7 +10445,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Unevictable_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Unevictable_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Unevictable - Amount of unevictable memory that can't be swapped out for a variety of reasons", @@ -10452,7 +10457,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_Mlocked_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_Mlocked_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "MLocked - Size of pages locked to memory using the mlock() system call", @@ -10840,7 +10845,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_memory_NFS_Unstable_bytes{hostname=\"$hostname\"}", + "expr": "node_memory_NFS_Unstable_bytes{tenant=\"$tenant\",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", @@ -10981,7 +10986,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgpgin{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgpgin{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pagesin - Page in operations", @@ -10993,7 +10998,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgpgout{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgpgout{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pagesout - Page out operations", @@ -11107,7 +11112,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pswpin{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pswpin{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pswpin - Pages swapped in", @@ -11119,7 +11124,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pswpout{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pswpout{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pswpout - Pages swapped out", @@ -11497,7 +11502,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgfault{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgfault{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgfault - Page major and minor fault operations", @@ -11509,7 +11514,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgmajfault{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgmajfault{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgmajfault - Major page fault operations", @@ -11521,7 +11526,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_pgfault{hostname=\"$hostname\"}[$__rate_interval]) - irate(node_vmstat_pgmajfault{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_pgfault{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval]) - irate(node_vmstat_pgmajfault{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Pgminfault - Minor page fault operations", @@ -11909,7 +11914,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_vmstat_oom_kill{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_vmstat_oom_kill{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12055,7 +12060,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_estimated_error_seconds{hostname=\"$hostname\"}", + "expr": "node_timex_estimated_error_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12069,7 +12074,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_offset_seconds{hostname=\"$hostname\"}", + "expr": "node_timex_offset_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12083,7 +12088,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_maxerror_seconds{hostname=\"$hostname\"}", + "expr": "node_timex_maxerror_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -12187,7 +12192,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_loop_time_constant{hostname=\"$hostname\"}", + "expr": "node_timex_loop_time_constant{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12306,7 +12311,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_sync_status{hostname=\"$hostname\"}", + "expr": "node_timex_sync_status{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12319,7 +12324,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_frequency_adjustment_ratio{hostname=\"$hostname\"}", + "expr": "node_timex_frequency_adjustment_ratio{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12422,7 +12427,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_tick_seconds{hostname=\"$hostname\"}", + "expr": "node_timex_tick_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12435,7 +12440,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_timex_tai_offset_seconds{hostname=\"$hostname\"}", + "expr": "node_timex_tai_offset_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12565,7 +12570,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_procs_blocked{hostname=\"$hostname\"}", + "expr": "node_procs_blocked{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Processes blocked waiting for I/O to complete", @@ -12577,7 +12582,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_procs_running{hostname=\"$hostname\"}", + "expr": "node_procs_running{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Processes in runnable state", @@ -12680,7 +12685,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_state{hostname=\"$hostname\"}", + "expr": "node_processes_state{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -12783,7 +12788,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_forks_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_forks_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -12899,7 +12904,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_bytes{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -12912,7 +12917,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_resident_memory_max_bytes{hostname=\"$hostname\"}", + "expr": "process_resident_memory_max_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "hide": false, "interval": "", "intervalFactor": 1, @@ -12925,7 +12930,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_bytes{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -12938,7 +12943,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_virtual_memory_max_bytes{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(process_virtual_memory_max_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -13062,7 +13067,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_pids{hostname=\"$hostname\"}", + "expr": "node_processes_pids{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13075,7 +13080,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_max_processes{hostname=\"$hostname\"}", + "expr": "node_processes_max_processes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13190,7 +13195,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_running_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_schedstat_running_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13203,7 +13208,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_schedstat_waiting_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13327,7 +13332,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_threads{hostname=\"$hostname\"}", + "expr": "node_processes_threads{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13340,7 +13345,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_processes_max_threads{hostname=\"$hostname\"}", + "expr": "node_processes_max_threads{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -13471,7 +13476,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_context_switches_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_context_switches_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Context switches", @@ -13483,7 +13488,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_intr_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_intr_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13587,7 +13592,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load1{hostname=\"$hostname\"}", + "expr": "node_load1{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 1m", @@ -13599,7 +13604,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load5{hostname=\"$hostname\"}", + "expr": "node_load5{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 5m", @@ -13611,7 +13616,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_load15{hostname=\"$hostname\"}", + "expr": "node_load15{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Load 15m", @@ -13712,7 +13717,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_cpu_scaling_frequency_hertz{hostname=\"$hostname\"}", + "expr": "node_cpu_scaling_frequency_hertz{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -13881,7 +13886,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_cpu_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "rate(node_pressure_cpu_waiting_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "CPU some", @@ -13895,7 +13900,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_memory_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "rate(node_pressure_memory_waiting_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13910,7 +13915,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_memory_stalled_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "rate(node_pressure_memory_stalled_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13925,7 +13930,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_io_waiting_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "rate(node_pressure_io_waiting_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -13940,7 +13945,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "rate(node_pressure_io_stalled_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "rate(node_pressure_io_stalled_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -14085,7 +14090,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_interrupts_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_interrupts_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14188,7 +14193,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_schedstat_timeslices_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_schedstat_timeslices_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14292,7 +14297,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_entropy_available_bits{hostname=\"$hostname\"}", + "expr": "node_entropy_available_bits{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Entropy available to random number generators", @@ -14394,7 +14399,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(process_cpu_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(process_cpu_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14518,7 +14523,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_max_fds{hostname=\"$hostname\"}", + "expr": "process_max_fds{tenant=\"$tenant\",hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "Maximum open file descriptors", @@ -14530,7 +14535,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "process_open_fds{hostname=\"$hostname\"}", + "expr": "process_open_fds{tenant=\"$tenant\",hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "Open file descriptors", @@ -14699,7 +14704,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", + "expr": "node_hwmon_temp_celsius{tenant=\"$tenant\",hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14712,7 +14717,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_alarm_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", + "expr": "node_hwmon_temp_crit_alarm_celsius{tenant=\"$tenant\",hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14726,7 +14731,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", + "expr": "node_hwmon_temp_crit_celsius{tenant=\"$tenant\",hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14739,7 +14744,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_crit_hyst_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", + "expr": "node_hwmon_temp_crit_hyst_celsius{tenant=\"$tenant\",hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14753,7 +14758,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_hwmon_temp_max_celsius{hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{hostname=\"$hostname\"}", + "expr": "node_hwmon_temp_max_celsius{tenant=\"$tenant\",hostname=\"$hostname\"} * on(chip) group_left(chip_name) node_hwmon_chip_names{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -14877,7 +14882,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_cooling_device_cur_state{hostname=\"$hostname\"}", + "expr": "node_cooling_device_cur_state{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -14891,7 +14896,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_cooling_device_max_state{hostname=\"$hostname\"}", + "expr": "node_cooling_device_max_state{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -14994,7 +14999,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_power_supply_online{hostname=\"$hostname\"}", + "expr": "node_power_supply_online{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -15125,7 +15130,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_systemd_socket_accepted_connections_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_systemd_socket_accepted_connections_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15303,7 +15308,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{hostname=\"$hostname\",state=\"activating\"}", + "expr": "node_systemd_units{tenant=\"$tenant\",hostname=\"$hostname\",state=\"activating\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15316,7 +15321,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{hostname=\"$hostname\",state=\"active\"}", + "expr": "node_systemd_units{tenant=\"$tenant\",hostname=\"$hostname\",state=\"active\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15329,7 +15334,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{hostname=\"$hostname\",state=\"deactivating\"}", + "expr": "node_systemd_units{tenant=\"$tenant\",hostname=\"$hostname\",state=\"deactivating\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15342,7 +15347,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{hostname=\"$hostname\",state=\"failed\"}", + "expr": "node_systemd_units{tenant=\"$tenant\",hostname=\"$hostname\",state=\"failed\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15355,7 +15360,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_systemd_units{hostname=\"$hostname\",state=\"inactive\"}", + "expr": "node_systemd_units{tenant=\"$tenant\",hostname=\"$hostname\",state=\"inactive\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -15798,7 +15803,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_completed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_completed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 4, "legendFormat": "{{device}} - Reads completed", "refId": "A", @@ -15809,7 +15814,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_completed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_completed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Writes completed", "refId": "B", @@ -16223,7 +16228,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_bytes_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_read_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 4, "legendFormat": "{{device}} - Read bytes", @@ -16235,7 +16240,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_written_bytes_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_written_bytes_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Written bytes", @@ -16650,7 +16655,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_read_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_reads_completed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_read_time_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_reads_completed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 4, @@ -16663,7 +16668,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_write_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_writes_completed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_write_time_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval]) / irate(node_disk_writes_completed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "hide": false, "interval": "", "intervalFactor": 1, @@ -17068,7 +17073,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_weighted_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_io_time_weighted_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}}", @@ -17483,7 +17488,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_reads_merged_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_reads_merged_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Read merged", "refId": "A", @@ -17494,7 +17499,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_writes_merged_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_writes_merged_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "intervalFactor": 1, "legendFormat": "{{device}} - Write merged", "refId": "B", @@ -17897,7 +17902,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_io_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_io_time_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - IO", @@ -17909,7 +17914,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discard_time_seconds_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_discard_time_seconds_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - discard", @@ -18313,7 +18318,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_disk_io_now{hostname=\"$hostname\"}", + "expr": "node_disk_io_now{tenant=\"$tenant\",hostname=\"$hostname\"}", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - IO now", @@ -18716,7 +18721,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discards_completed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_discards_completed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, "legendFormat": "{{device}} - Discards completed", @@ -18728,7 +18733,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_disk_discards_merged_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_disk_discards_merged_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "intervalFactor": 1, "legendFormat": "{{device}} - Discards merged", @@ -18858,7 +18863,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_avail_bytes{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_avail_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -18872,7 +18877,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_free_bytes{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_free_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": true, "intervalFactor": 1, @@ -18885,7 +18890,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_size_bytes{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_size_bytes{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": true, "intervalFactor": 1, @@ -18989,7 +18994,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_files_free{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_files_free{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -19093,7 +19098,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filefd_maximum{hostname=\"$hostname\"}", + "expr": "node_filefd_maximum{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 4, "legendFormat": "Max open files", @@ -19105,7 +19110,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filefd_allocated{hostname=\"$hostname\"}", + "expr": "node_filefd_allocated{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Open files", @@ -19208,7 +19213,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_files{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_files{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -19329,7 +19334,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_readonly{hostname=\"$hostname\",device!~'rootfs'}", + "expr": "node_filesystem_readonly{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{mountpoint}} - ReadOnly", @@ -19341,7 +19346,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_filesystem_device_error{hostname=\"$hostname\",device!~'rootfs',fstype!~'tmpfs'}", + "expr": "node_filesystem_device_error{tenant=\"$tenant\",hostname=\"$hostname\",device!~'rootfs',fstype!~'tmpfs'}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19544,7 +19549,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_packets_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_packets_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19557,7 +19562,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_packets_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_packets_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -19673,7 +19678,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_errs_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_errs_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive errors", @@ -19685,7 +19690,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_errs_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_errs_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit errors", @@ -19800,7 +19805,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_drop_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_drop_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive drop", @@ -19812,7 +19817,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_drop_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_drop_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit drop", @@ -19927,7 +19932,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_compressed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_compressed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive compressed", @@ -19939,7 +19944,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_compressed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_compressed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit compressed", @@ -20054,7 +20059,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_multicast_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_multicast_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive multicast", @@ -20169,7 +20174,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_fifo_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_fifo_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Receive fifo", @@ -20181,7 +20186,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_fifo_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_fifo_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit fifo", @@ -20296,7 +20301,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_receive_frame_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_receive_frame_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -20399,7 +20404,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_carrier_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_carrier_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Statistic transmit_carrier", @@ -20514,7 +20519,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_network_transmit_colls_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_network_transmit_colls_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{device}} - Transmit colls", @@ -20636,7 +20641,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_nf_conntrack_entries{hostname=\"$hostname\"}", + "expr": "node_nf_conntrack_entries{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "NF conntrack entries", @@ -20648,7 +20653,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_nf_conntrack_entries_limit{hostname=\"$hostname\"}", + "expr": "node_nf_conntrack_entries_limit{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "NF conntrack limit", @@ -20750,7 +20755,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_arp_entries{hostname=\"$hostname\"}", + "expr": "node_arp_entries{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - ARP entries", @@ -20853,7 +20858,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_mtu_bytes{hostname=\"$hostname\"}", + "expr": "node_network_mtu_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Bytes", @@ -20956,7 +20961,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_speed_bytes{hostname=\"$hostname\"}", + "expr": "node_network_speed_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Speed", @@ -21059,7 +21064,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_transmit_queue_length{hostname=\"$hostname\"}", + "expr": "node_network_transmit_queue_length{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ device }} - Interface transmit queue length", @@ -21174,7 +21179,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_processed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_softnet_processed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21187,7 +21192,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_dropped_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_softnet_dropped_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21290,7 +21295,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_softnet_times_squeezed_total{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_softnet_times_squeezed_total{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21393,7 +21398,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_up{operstate=\"up\",hostname=\"$hostname\"}", + "expr": "node_network_up{operstate=\"up\",tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{interface}} - Operational state UP", @@ -21405,7 +21410,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_network_carrier{hostname=\"$hostname\"}", + "expr": "node_network_carrier{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "instant": false, "legendFormat": "{{device}} - Physical link state", @@ -21534,7 +21539,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_alloc{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_alloc{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21547,7 +21552,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_inuse{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_inuse{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21560,7 +21565,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_mem{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_mem{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": true, "interval": "", @@ -21574,7 +21579,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_orphan{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_orphan{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21587,7 +21592,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_tw{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_tw{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21691,7 +21696,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDPLITE_inuse{hostname=\"$hostname\"}", + "expr": "node_sockstat_UDPLITE_inuse{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21704,7 +21709,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_inuse{hostname=\"$hostname\"}", + "expr": "node_sockstat_UDP_inuse{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21717,7 +21722,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_mem{hostname=\"$hostname\"}", + "expr": "node_sockstat_UDP_mem{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21821,7 +21826,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_FRAG_inuse{hostname=\"$hostname\"}", + "expr": "node_sockstat_FRAG_inuse{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21834,7 +21839,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_RAW_inuse{hostname=\"$hostname\"}", + "expr": "node_sockstat_RAW_inuse{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21938,7 +21943,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_TCP_mem_bytes{hostname=\"$hostname\"}", + "expr": "node_sockstat_TCP_mem_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21951,7 +21956,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_UDP_mem_bytes{hostname=\"$hostname\"}", + "expr": "node_sockstat_UDP_mem_bytes{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -21964,7 +21969,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_FRAG_memory{hostname=\"$hostname\"}", + "expr": "node_sockstat_FRAG_memory{tenant=\"$tenant\",hostname=\"$hostname\"}", "interval": "", "intervalFactor": 1, "legendFormat": "FRAG_memory - Used memory for frag", @@ -22066,7 +22071,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_sockstat_sockets_used{hostname=\"$hostname\"}", + "expr": "node_sockstat_sockets_used{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22209,7 +22214,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_IpExt_InOctets{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_IpExt_InOctets{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22222,7 +22227,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_IpExt_OutOctets{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_IpExt_OutOctets{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, "legendFormat": "OutOctets - Sent octets", @@ -22325,7 +22330,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Ip_Forwarding{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Ip_Forwarding{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22440,7 +22445,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_InMsgs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_InMsgs{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22453,7 +22458,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_OutMsgs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_OutMsgs{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22568,7 +22573,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Icmp_InErrors{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Icmp_InErrors{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22695,7 +22700,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_InDatagrams{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_InDatagrams{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22708,7 +22713,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_OutDatagrams{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_OutDatagrams{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22810,7 +22815,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_InErrors{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_InErrors{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22823,7 +22828,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_NoPorts{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_NoPorts{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22836,7 +22841,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_UdpLite_InErrors{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_UdpLite_InErrors{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "InErrors Lite - UDPLite Datagrams that could not be delivered to an application", "refId": "C" @@ -22846,7 +22851,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_RcvbufErrors{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_RcvbufErrors{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22859,7 +22864,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Udp_SndbufErrors{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Udp_SndbufErrors{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -22986,7 +22991,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_InSegs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_InSegs{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "instant": false, "interval": "", @@ -23000,7 +23005,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_OutSegs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_OutSegs{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23104,7 +23109,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_ListenOverflows{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_ListenOverflows{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23118,7 +23123,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_ListenDrops{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_ListenDrops{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23132,7 +23137,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_TCPSynRetrans{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_TCPSynRetrans{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23145,7 +23150,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_RetransSegs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_RetransSegs{tenant=\"$tenant\",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" @@ -23155,7 +23160,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_InErrs{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_InErrs{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "InErrs - Segments received in error (e.g., bad TCP checksums)", "refId": "E" @@ -23165,7 +23170,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_OutRsts{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_OutRsts{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "interval": "", "legendFormat": "OutRsts - Segments sent with RST flag", "refId": "F" @@ -23285,7 +23290,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_netstat_Tcp_CurrEstab{hostname=\"$hostname\"}", + "expr": "node_netstat_Tcp_CurrEstab{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23299,7 +23304,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_netstat_Tcp_MaxConn{hostname=\"$hostname\"}", + "expr": "node_netstat_Tcp_MaxConn{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23416,7 +23421,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesFailed{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesFailed{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23430,7 +23435,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesRecv{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesRecv{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23444,7 +23449,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_TcpExt_SyncookiesSent{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_TcpExt_SyncookiesSent{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "hide": false, "interval": "", @@ -23548,7 +23553,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_ActiveOpens{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_ActiveOpens{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23561,7 +23566,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "irate(node_netstat_Tcp_PassiveOpens{hostname=\"$hostname\"}[$__rate_interval])", + "expr": "irate(node_netstat_Tcp_PassiveOpens{tenant=\"$tenant\",hostname=\"$hostname\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23662,7 +23667,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"established\",hostname=\"$hostname\"}", + "expr": "node_tcp_connection_states{state=\"established\",tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -23677,7 +23682,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"fin_wait2\",hostname=\"$hostname\"}", + "expr": "node_tcp_connection_states{state=\"fin_wait2\",tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23693,7 +23698,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"listen\",hostname=\"$hostname\"}", + "expr": "node_tcp_connection_states{state=\"listen\",tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23709,7 +23714,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "node_tcp_connection_states{state=\"time_wait\",hostname=\"$hostname\"}", + "expr": "node_tcp_connection_states{state=\"time_wait\",tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23841,7 +23846,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_scrape_collector_duration_seconds{hostname=\"$hostname\"}", + "expr": "node_scrape_collector_duration_seconds{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23968,7 +23973,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_scrape_collector_success{hostname=\"$hostname\"}", + "expr": "node_scrape_collector_success{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -23982,7 +23987,7 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "node_textfile_scrape_error{hostname=\"$hostname\"}", + "expr": "node_textfile_scrape_error{tenant=\"$tenant\",hostname=\"$hostname\"}", "format": "time_series", "hide": false, "interval": "", @@ -24038,7 +24043,31 @@ }, { "current": { - "selected": true, + "selected": false, + "text": "fake", + "value": "fake" + }, + "definition": "label_values(tenant)", + "hide": 0, + "includeAll": true, + "label": "Tenant", + "multi": true, + "name": "tenant", + "options": [], + "query": { + "qryType": 1, + "query": "label_values(tenant)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": false, "text": "meta01", "value": "meta01" }, @@ -24094,7 +24123,6 @@ "from": "now-15m", "to": "now" }, - "timeRangeUpdatedDuringEditOrView": false, "timepicker": { "refresh_intervals": [ "5s", @@ -24125,4 +24153,4 @@ "uid": "rYdddlPWk", "version": 1, "weekStart": "" -} \ No newline at end of file +}