{ "annotations": { "list": [ { "$$hashKey": "object:215", "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "limit": 100, "name": "Annotations & Alerts", "showIn": 0, "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "Proxmox Virtual Environment Dashboard", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 10, "links": [], "panels": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "footer": { "reducers": [] }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Time" }, "properties": [ { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.hideFrom.viz", "value": true }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "id" }, "properties": [ { "id": "displayName", "value": "ID" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "name" }, "properties": [ { "id": "displayName", "value": "Name" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "type" }, "properties": [ { "id": "displayName", "value": "Type" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #A" }, "properties": [ { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.hideFrom.viz", "value": true }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #B" }, "properties": [ { "id": "displayName", "value": "Status" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 0 }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "custom.align" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgba(245, 54, 54, 0.9)", "value": 0 }, { "color": "#56A64B", "value": 0 } ] } } ] }, { "matcher": { "id": "byName", "options": "Value #C" }, "properties": [ { "id": "displayName", "value": "vCPUs" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 0 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #D" }, "properties": [ { "id": "displayName", "value": "Memory" }, { "id": "unit", "value": "bytes" }, { "id": "decimals", "value": 1 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #E" }, "properties": [ { "id": "displayName", "value": "Mem usage (%)" }, { "id": "unit", "value": "percentunit" }, { "id": "decimals", "value": 0 }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "custom.align" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgba(50, 172, 45, 0.97)", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "rgba(245, 54, 54, 0.9)", "value": 0 } ] } } ] }, { "matcher": { "id": "byName", "options": "Value #F" }, "properties": [ { "id": "displayName", "value": "Disk" }, { "id": "unit", "value": "bytes" }, { "id": "decimals", "value": 1 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #G" }, "properties": [ { "id": "displayName", "value": "Disk usage (%)" }, { "id": "unit", "value": "percentunit" }, { "id": "custom.cellOptions", "value": { "type": "color-text" } }, { "id": "custom.align" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgba(50, 172, 45, 0.97)", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "rgba(245, 54, 54, 0.9)", "value": 0 } ] } } ] } ] }, "gridPos": { "h": 10, "w": 14, "x": 0, "y": 0 }, "id": 17, "options": { "cellHeight": "sm", "showHeader": true }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id, name, type) (pve_guest_info{instance=\"$instance\",template!=\"1\"})", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_up{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_cpu_usage_limit{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_memory_size_bytes{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_memory_usage_bytes{instance=\"$instance\",template!=\"1\"} / pve_memory_size_bytes and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_disk_size_bytes{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "F" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "sum by (id) (pve_disk_usage_bytes{instance=\"$instance\",template!=\"1\"} / pve_disk_size_bytes and on (id, instance) pve_guest_info)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "G" } ], "title": "Resource allocation summary", "transformations": [ { "id": "merge", "options": { "reducers": [] } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0.7 }, { "color": "#d44a3a", "value": 0.9 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 5, "w": 10, "x": 14, "y": 0 }, "id": 7, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "editorMode": "code", "expr": "pve_cpu_usage_ratio{instance=\"$instance\",id=\"node/$node\"} / pve_cpu_usage_limit and on(id) pve_node_info", "format": "time_series", "intervalFactor": 1, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total CPU", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": 0 }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0.6 }, { "color": "#d44a3a", "value": 0.8 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 5, "w": 10, "x": 14, "y": 5 }, "id": 8, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "editorMode": "code", "expr": "pve_memory_usage_bytes{instance=\"$instance\",id=\"node/$node\"} / pve_memory_size_bytes and on(id) pve_node_info", "format": "time_series", "intervalFactor": 1, "legendFormat": "", "range": true, "refId": "A" } ], "title": "Total Memory", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "area" } }, "decimals": 2, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent", "value": 0 }, { "color": "red", "value": 1 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 10, "w": 12, "x": 0, "y": 10 }, "id": 2, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "asc" } }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "((pve_cpu_usage_ratio{instance=\"$instance\"} / pve_cpu_usage_limit) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", "interval": "", "intervalFactor": 4, "legendFormat": "{{name}} ({{type}})", "refId": "A" } ], "title": "Guests CPU usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "area" } }, "decimals": 1, "links": [], "mappings": [], "max": 1.2, "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent", "value": 0 }, { "color": "red", "value": 0.9 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 10, "w": 12, "x": 12, "y": 10 }, "id": 5, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "(pve_memory_usage_bytes{instance=\"$instance\"} / pve_memory_size_bytes * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", "interval": "", "intervalFactor": 4, "legendFormat": "{{name}} ({{type}})", "refId": "A" } ], "title": "Guests memory usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [ { "from": "", "id": 1, "operator": "", "text": "", "to": "", "type": 1, "value": "" } ], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "yellow", "value": 0.75 }, { "color": "red", "value": 0.9 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 20 }, "id": 11, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto", "text": {} }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "editorMode": "code", "expr": "pve_disk_usage_bytes{instance=\"$instance\", id=~\"storage/.+\",id!~\".+/local\"} / pve_disk_size_bytes * on (id, instance) group_left(storage) pve_storage_info", "format": "time_series", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "{{storage}}", "refId": "A" } ], "title": "Storage usage", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1, "scaleDistribution": { "type": "linear" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 12, "y": 20 }, "id": 15, "options": { "barRadius": 0, "barWidth": 0.8, "fullHighlight": false, "groupWidth": 1, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "orientation": "vertical", "showValue": "never", "stacking": "none", "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }, "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, "pluginVersion": "12.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "editorMode": "code", "expr": "pve_disk_size_bytes{instance=\"$instance\", id=~\"storage/.+\",id!~\".+/local\"} * on (id, instance) group_left(storage) pve_storage_info", "format": "time_series", "instant": true, "intervalFactor": 1, "legendFormat": "{{storage}}", "refId": "A" } ], "title": "Space allocation", "type": "barchart" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "area" } }, "decimals": 1, "links": [], "mappings": [], "max": 1.2, "thresholds": { "mode": "absolute", "steps": [ { "color": "transparent" }, { "color": "orange", "value": 0.75 }, { "color": "red", "value": 0.9 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 31 }, "id": 9, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.4.0-96993pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "pve_disk_usage_bytes{instance=\"$instance\"} / pve_disk_size_bytes{instance=\"$instance\"} * on (id, instance) group_left(name, type) pve_guest_info", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{name}} ({{type}})", "refId": "A" } ], "title": "Guests Disk usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/RECV/" }, "properties": [ { "id": "custom.transform", "value": "negative-Y" } ] } ] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 43 }, "id": 13, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "sum" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "9.4.0-96993pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "(rate(pve_network_receive_bytes{instance=\"$instance\"}[5m]) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", "interval": "", "intervalFactor": 3, "legendFormat": "{{name}} RECV ({{type}})", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "(rate(pve_network_transmit_bytes{instance=\"$instance\"}[5m])* on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", "interval": "", "intervalFactor": 3, "legendFormat": "{{name}} SEND ({{type}})", "refId": "B" } ], "title": "Network IO/s", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 53 }, "id": 12, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "9.4.0-96993pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "expr": "((rate(pve_disk_write_bytes{instance=\"$instance\"}[5m]) + rate(pve_disk_read_bytes[5m])) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{name}} ({{type}})", "refId": "A" } ], "title": "Disk IO/s", "type": "timeseries" } ], "preload": false, "refresh": "1m", "schemaVersion": 42, "tags": [ "Proxmox", "Prometheus" ], "templating": { "list": [ { "current": { "text": "sv3", "value": "sv3" }, "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "definition": "label_values(pve_node_info, instance)", "hide": 2, "includeAll": false, "name": "instance", "options": [], "query": { "query": "label_values(pve_node_info, instance)", "refId": "Prometheus-instance-Variable-Query" }, "refresh": 2, "regex": "", "sort": 1, "type": "query" }, { "current": { "text": "sv5", "value": "sv5" }, "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "definition": "label_values(pve_node_info,name)", "includeAll": false, "label": "Node", "name": "node", "options": [], "query": { "qryType": 1, "query": "label_values(pve_node_info,name)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Proxmox", "uid": "Dp7Cd57Zza", "version": 1 }