pvc/monitoring/prometheus/grafana-pvc-vms-dashboard.json

2627 lines
66 KiB
JSON
Raw Normal View History

2023-12-29 14:27:01 -05:00
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
2024-10-11 09:42:21 -04:00
"version": "11.1.4"
2023-12-29 14:27:01 -05:00
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 13,
"panels": [],
"title": "VM Details",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Cluster ID as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 1
},
"id": 1,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^pvc_cluster_id$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_info{pvc_cluster_id=\"$cluster_id\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Cluster",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "VM name as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 1
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^vm$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_uuid{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "VM Name",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "VM state as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "green",
"index": 0,
"text": "start"
},
"1": {
"color": "blue",
"index": 1,
"text": "migrate"
},
"2": {
"color": "blue",
"index": 2,
"text": "unmigrate"
},
"3": {
"color": "super-light-blue",
"index": 3,
"text": "provision"
},
"4": {
"color": "dark-blue",
"index": 4,
"text": "disable"
},
"5": {
"color": "dark-yellow",
"index": 5,
"text": "shutdown"
},
"6": {
"color": "super-light-yellow",
"index": 6,
"text": "restart"
},
"7": {
"color": "red",
"index": 7,
"text": "stop"
},
"8": {
"color": "dark-red",
"index": 8,
"text": "fail"
2024-10-11 09:42:21 -04:00
},
"9": {
"color": "dark-blue",
"index": 9,
"text": "import"
},
"10": {
"color": "dark-blue",
"index": 10,
"text": "restore"
},
"99": {
"color": "dark-purple",
"index": 11,
"text": "mirror"
2023-12-29 14:27:01 -05:00
}
},
"type": "value"
}
]
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 1
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Value$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_state{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "State",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "UUID as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 12,
"x": 12,
"y": 1
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^uuid$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_uuid{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "UUID",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Active node as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 4
},
"id": 10,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^node$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_active_node{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Active Node",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "If VM is migrated, the last node, or \"No\".",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 4
},
"id": 11,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^last_node$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_migrated{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Migrated",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "VM autostart flag as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"0": {
"color": "blue",
"index": 0,
"text": "False"
},
"1": {
"color": "green",
"index": 1,
"text": "True"
}
},
"type": "value"
}
]
}
]
}
]
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 4
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Value$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_autostart{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Autostart",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Description as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 12,
"x": 12,
"y": 4
},
"id": 4,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^description$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_description{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Description",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "vCPU count as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 2,
"x": 0,
"y": 7
},
"id": 7,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Value$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_vcpus{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "vCPUs",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "vCPU topology (Sockets/Cores/Threads) as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 2,
"y": 7
},
"id": 27,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^topology$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_vcpu_topology{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "vCPU Topology",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Memory value (MB) as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "mbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 5,
"y": 7
},
"id": 12,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^Value$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_memory{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "vRAM",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Node limits as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 7
},
"id": 8,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "/^node_limit$/",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_node_limit{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Node Limits",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Failure Reason as provided by PVC.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 12,
"x": 12,
"y": 7
},
"id": 6,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
2024-10-11 09:42:21 -04:00
"percentChangeColorMode": "standard",
2023-12-29 14:27:01 -05:00
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "failed_reason",
"values": false
},
2024-10-11 09:42:21 -04:00
"showPercentChange": false,
2023-12-29 14:27:01 -05:00
"textMode": "auto",
"wideLayout": true
},
2024-10-11 09:42:21 -04:00
"pluginVersion": "11.1.4",
2023-12-29 14:27:01 -05:00
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "pvc_vm_failed_reason{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"format": "table",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A",
"useBackend": false
}
],
"title": "Failure Reason",
"type": "stat"
},
{
2024-10-11 09:42:21 -04:00
"collapsed": false,
2023-12-29 14:27:01 -05:00
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 10
},
"id": 14,
2024-10-11 09:42:21 -04:00
"panels": [],
"title": "CPU & Memory Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "CPU time as reported by Libvirt, in milliseconds.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
2023-12-29 14:27:01 -05:00
}
},
2024-10-11 09:42:21 -04:00
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 11
},
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
2023-12-29 14:27:01 -05:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_vcpus_cpu_time{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "CPU Time",
"range": true,
"refId": "A",
"useBackend": false
2023-12-29 14:27:01 -05:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_vcpus_user_time{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "User Time",
"range": true,
"refId": "B",
"useBackend": false
2023-12-29 14:27:01 -05:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_vcpus_system_time{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "System Time",
"range": true,
"refId": "C",
"useBackend": false
2023-12-29 14:27:01 -05:00
}
],
2024-10-11 09:42:21 -04:00
"title": "CPU Time",
"type": "timeseries"
2023-12-29 14:27:01 -05:00
},
{
2024-10-11 09:42:21 -04:00
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"description": "Memory utilization of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
2023-12-29 14:27:01 -05:00
},
{
2024-10-11 09:42:21 -04:00
"color": "red",
"value": 80
2023-12-29 14:27:01 -05:00
}
]
},
2024-10-11 09:42:21 -04:00
"unit": "kbytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 11
},
"id": 16,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
2023-12-29 14:27:01 -05:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_actual{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Allocated",
"range": true,
"refId": "A",
"useBackend": false
2023-12-29 14:27:01 -05:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_rss{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "RSS",
"range": true,
"refId": "B",
"useBackend": false
2023-12-29 14:27:01 -05:00
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_disk_caches{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Disk Caches",
"range": true,
"refId": "C",
"useBackend": false
}
],
"title": "Memory Utilization",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Memory page faults of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 19
},
"id": 17,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_major_fault{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Major",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_minor_fault{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Minor",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Memory Page Faults",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Memory swap utilization of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/out/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 19
},
"id": 18,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_swap_in{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "In",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "pvc_vm_memory_stats_swap_out{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Out",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Swap Utilization (+ in/- out)",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 19,
"panels": [],
"title": "NIC Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Packets per second for each NIC of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/TX/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 28
},
"id": 20,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_rd_packets{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} RX",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_wr_packets{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} TX",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Packets (+ RX/- TX)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Bytes per second for each NIC of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/TX/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
2023-12-29 14:27:01 -05:00
}
]
2024-10-11 09:42:21 -04:00
}
]
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 38
},
"id": 21,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_rd_bits{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} RX",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_wr_bits{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} TX",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Traffic (+ RX/- TX)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Drops per second for each NIC of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "pps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/TX/"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 48
},
"id": 22,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_rd_drops{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} RX",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_wr_drops{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} TX",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "Drops (+ RX/- TX)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Errors per second for each NIC of VM as reported by libvirt.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
2023-12-29 14:27:01 -05:00
}
},
2024-10-11 09:42:21 -04:00
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
},
"unit": "pps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/TX/"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 48
},
"id": 23,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
2023-12-29 14:27:01 -05:00
],
2024-10-11 09:42:21 -04:00
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_rd_errors{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} RX",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_network_wr_errors{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "VNI {{vni}} TX",
"range": true,
"refId": "B",
"useBackend": false
2023-12-29 14:27:01 -05:00
}
],
2024-10-11 09:42:21 -04:00
"title": "Errors (+ RX/- TX)",
"type": "timeseries"
2023-12-29 14:27:01 -05:00
},
{
2024-10-11 09:42:21 -04:00
"collapsed": false,
2023-12-29 14:27:01 -05:00
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
2024-10-11 09:42:21 -04:00
"y": 56
2023-12-29 14:27:01 -05:00
},
"id": 24,
2024-10-11 09:42:21 -04:00
"panels": [],
"title": "Disk Stats",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "I/O requests per second each disk of VM as reported by libvirt; \"sdz\" (metrics disk) excluded explicitly.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
2023-12-29 14:27:01 -05:00
},
{
2024-10-11 09:42:21 -04:00
"color": "red",
"value": 80
2023-12-29 14:27:01 -05:00
}
]
},
2024-10-11 09:42:21 -04:00
"unit": "iops"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/Write/"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 57
},
"id": 25,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
2023-12-29 14:27:01 -05:00
],
2024-10-11 09:42:21 -04:00
"displayMode": "table",
"placement": "right",
"showLegend": true
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
2023-12-29 14:27:01 -05:00
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_disk_rd_req{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\", disk!=\"sdz\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Disk {{disk}} Read",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_disk_wr_req{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\", disk!=\"sdz\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Disk {{disk}} Write",
"range": true,
"refId": "B",
"useBackend": false
}
],
"title": "IOPS (+ Read/- Write)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "Data bytes per second each disk of VM as reported by libvirt; \"sdz\" (metrics disk) excluded explicitly.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"thresholdsStyle": {
"mode": "off"
2023-12-29 14:27:01 -05:00
}
},
2024-10-11 09:42:21 -04:00
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/Write/"
2023-12-29 14:27:01 -05:00
},
2024-10-11 09:42:21 -04:00
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 66
},
"id": 26,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean",
"last"
2023-12-29 14:27:01 -05:00
],
2024-10-11 09:42:21 -04:00
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_disk_rd_bytes{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\", disk!=\"sdz\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Disk {{disk}} Read",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "rate(pvc_vm_disk_wr_bytes{pvc_cluster_id=\"$cluster_id\", vm=\"$vm_name\", disk!=\"sdz\"}[$__rate_interval])",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "Disk {{disk}} Write",
"range": true,
"refId": "B",
"useBackend": false
2023-12-29 14:27:01 -05:00
}
],
2024-10-11 09:42:21 -04:00
"title": "Data (+ Read/- Write)",
"type": "timeseries"
2023-12-29 14:27:01 -05:00
}
],
"refresh": "5s",
2024-10-11 09:42:21 -04:00
"schemaVersion": 39,
2023-12-29 14:56:02 -05:00
"tags": [
"pvc"
],
2023-12-29 14:27:01 -05:00
"templating": {
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(pvc_cluster_name)",
"description": "Select the desired cluster",
"hide": 0,
"includeAll": false,
"label": "Cluster",
"multi": false,
"name": "cluster_name",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(pvc_cluster_name)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values({pvc_cluster_name=\"$cluster_name\"},pvc_cluster_id)",
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "cluster_id",
"options": [],
"query": {
"qryType": 1,
"query": "label_values({pvc_cluster_name=\"$cluster_name\"},pvc_cluster_id)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values({pvc_cluster_name=\"$cluster_name\"},vm)",
"hide": 0,
"includeAll": false,
"label": "VM",
"multi": false,
"name": "vm_name",
"options": [],
"query": {
"qryType": 1,
"query": "label_values({pvc_cluster_name=\"$cluster_name\"},vm)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "PVC VMs",
"uid": "bc30d656-1053-4901-9eb4-f0b66dce3222",
"version": 1,
"weekStart": ""
}