{ "__inputs": [], "__elements": {}, "__requires": [ { "type": "panel", "id": "bargauge", "name": "Bar gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "10.4.1" }, { "type": "datasource", "id": "grafana-azure-monitor-datasource", "name": "Azure Monitor", "version": "1.0.0" }, { "type": "datasource", "id": "marcusolsson-json-datasource", "name": "JSON API", "version": "1.3.12" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" } ], "description": "This dashboard displays traffic-light indicators to show the health of your Azure infrastructure resources based on key performance indicators and thresholds defined for each infrastructure resource type. The KPIs and thresholds come from Azure Monitor Baseline Alerts (https://azure.github.io/azure-monitor-baseline-alerts/). \n\nPrerequisites:\nThe queries used in the dashboard require that you have resource metrics being sent to a Log Analytics Workspace. The InsightsMetrics table is required. Enable VM Insights by following the instructions provided here: https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-enable-overview\n\nInstallation and Configuration:\nThis dashboard requires the JSON API Grafana plugin and a configured data source for Azure Monitor Baseline Alerts. Follow these steps to install and configure the JSON API plugin:\n\n1. Navigate to Connections->Connect Data.\n2. Search for “JSON API” and then select the JSON API data source.\n3. Install the plugin if it is not already installed.\n4. On the JSON API plugin page, click “Create a JSON API data source\".\n5. On the create JSON API page, give it the name “AMBA” and for the URL, give it the value: https://raw.githubusercontent.com/Azure/azure-monitor-baseline-alerts/main/visualizations/grafana/infra-monitoring-amba-thresholds.json \n6. Click the Save & test button. You should see a green checkbox and Success message if configured correctly.\n\nThis is one of a collection of dashboards linked together via dashboard links and the \"azure-infra-monitor\" tag. Other dashboards in the collection include:\nAzure / Infrastructure / Network Monitoring\nAzure / Infrastructure / Storage and Key Vaults Monitoring\nAzure / Infrastructure / Apps Monitoring\nAzure / Infrastructure / Data Monitoring\n\nThe other dashboards in this collection can be found in the Azure Monitor Team Grafana library here: https://grafana.com/orgs/azuremonitorteam/dashboards. Once imported, you will be able to access these dashboards using the Azure Infra Monitoring Dashboards tab. ", "editable": true, "id": null, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": false, "keepTime": false, "tags": ["azure-infra-monitor"], "targetBlank": false, "title": "Azure Infra Monitoring Dashboards", "tooltip": "", "type": "dashboards", "url": "" } ], "liveNow": true, "panels": [ { "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 5, "w": 12, "x": 0, "y": 0 }, "id": 1, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "

Azure Infrastructure Monitoring Dashboard (Compute)

\r\n\r\nSelect a data source, workspace scope, workspace(s) and resource scope. \r\nExamine the key performance indicators for your resources by expanding the row for a resource type. \r\nRecommended KPIs and thresholds used in this dashboard come from [Azure Monitor Baseline Alerts](https://azure.github.io/azure-monitor-baseline-alerts/). \r\nSee dashboard description for more details on linking to other Infrastructure Monitor dashboards.\r\n", "mode": "markdown" }, "transparent": true, "type": "text" }, { "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 5, "w": 12, "x": 12, "y": 0 }, "id": 90, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "
\r\n\r\nKey:\r\n- Green\\Healthy  - None of the resources of that resource type have KPIs that are exceeding thresholds.\r\n- Yellow\\Warning - At least one resource of that resource type has one KPI exceeding a threshold.\r\n- Red\\Unhealthy  - At least one resource of that resource type has two or more KPIs exceeding a threshold.", "mode": "markdown" }, "transparent": true, "type": "text" }, { "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "links": [], "mappings": [ { "options": { "0": { "index": 0, "text": "Healthy" }, "1": { "index": 1, "text": "Warning" } }, "type": "value" }, { "options": { "from": 2, "result": { "index": 2, "text": "Unhealthy" }, "to": 4 }, "type": "range" } ], "max": 4, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 0, "y": 5 }, "id": 2, "options": { "colorMode": "background_solid", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["max"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "azureLogAnalytics": { "dashboardTime": true, "query": "InsightsMetrics\r\n| where _ResourceId has '/microsoft.compute/virtualmachines/'\r\n| where _ResourceId has_any ($subsRESScope)\r\n| where Origin == \"vm.azm.ms\"\r\n| where Namespace in (\"Processor\", \"Memory\", \"Network\") and Name in (\"UtilizationPercentage\", \"AvailableMB\", \"ReadBytesPerSecond\", \"WriteBytesPerSecond\")\r\n| extend Resource = toupper(tostring(split(_ResourceId,'/')[8]))\r\n| summarize\r\n kpi1 = avgif((toreal(Val) / (toreal(todynamic(Tags)[\"vm.azm.ms/memorySizeMB\"]))) * 100.0, Name == \"AvailableMB\"),\r\n kpi2 = avgif(Val, Name == \"UtilizationPercentage\"),\r\n kpi3 = avgif(Val, Name == \"ReadBytesPerSecond\"),\r\n kpi4 = avgif(Val, Name == \"WriteBytesPerSecond\") by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4) \r\n|extend health1 = iff(kpi1<$amba_vm_AvailableMB, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_vm_UtilizationPercentage, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_vm_ReadBytesPerSecond, 1, 0)\r\n|extend health4 = iff(kpi4>$amba_vm_WriteBytesPerSecond, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc", "resources": ["$laws"], "resultFormat": "logs", "timeColumn": "TimeGenerated" }, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "queryType": "Azure Log Analytics", "refId": "A", "subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"] } ], "title": "Virtual Machines", "transformations": [ { "id": "organize", "options": { "excludeByName": { "A": false, "Resource": true, "_ResourceId": true, "h1color": true, "h2color": true, "h3color": true, "h4color": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": true, "kpi4": true }, "indexByName": {}, "renameByName": { "A": " ", "health": " " } } }, { "id": "configFromData", "options": { "configRefId": "A", "mappings": [ { "fieldName": "hcolor", "handlerKey": "color", "reducerId": "firstNotNull" } ] } } ], "transparent": true, "type": "stat" }, { "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "links": [], "mappings": [ { "options": { "0": { "index": 0, "text": "Healthy" }, "1": { "index": 1, "text": "Warning" } }, "type": "value" }, { "options": { "from": 2, "result": { "index": 2, "text": "Unhealthy" }, "to": 4 }, "type": "range" } ], "max": 4, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 3, "y": 5 }, "id": 26, "options": { "colorMode": "background_solid", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["max"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "azureLogAnalytics": { "dashboardTime": true, "query": "InsightsMetrics\r\n| where _ResourceId has '/microsoft.compute/virtualmachinescalesets/'\r\n| where _ResourceId has_any ($subsRESScope)\r\n| where Origin == \"vm.azm.ms\"\r\n| where Namespace in (\"Processor\", \"Memory\", \"Network\") and Name in (\"UtilizationPercentage\", \"AvailableMB\", \"ReadBytesPerSecond\", \"WriteBytesPerSecond\")\r\n| extend Resource = strcat(toupper(tostring(split(_ResourceId,'/')[8])), \"-\", toupper(tostring(split(_ResourceId,'/')[10])))\r\n| summarize\r\n kpi1 = avgif((toreal(Val) / (toreal(todynamic(Tags)[\"vm.azm.ms/memorySizeMB\"]))) * 100.0, Name == \"AvailableMB\"),\r\n kpi2 = avgif(Val, Name == \"UtilizationPercentage\"),\r\n kpi3 = avgif(Val, Name == \"ReadBytesPerSecond\"),\r\n kpi4 = avgif(Val, Name == \"WriteBytesPerSecond\") by _ResourceId, Resource\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend kpi4 = iff(isnan(kpi4), 0.0, kpi4) \r\n|extend health1 = iff(kpi1<$amba_vmss_AvailableMB, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_vmss_UtilizationPercentage, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_vmss_ReadBytesPerSecond, 1, 0)\r\n|extend health4 = iff(kpi4>$amba_vmss_WriteBytesPerSecond, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend h4color = iff(tobool(health4), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3 + health4\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc", "resources": ["$laws"], "resultFormat": "logs", "timeColumn": "TimeGenerated" }, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "queryType": "Azure Log Analytics", "refId": "A", "subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"] } ], "title": "Virtual Machine Scale Sets", "transformations": [ { "id": "organize", "options": { "excludeByName": { "A": false, "Resource": true, "_ResourceId": true, "h1color": true, "h2color": true, "h3color": true, "h4color": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "A": " ", "health": " " } } }, { "id": "configFromData", "options": { "configRefId": "A", "mappings": [ { "fieldName": "hcolor", "handlerKey": "color", "reducerId": "firstNotNull" } ] } } ], "transparent": true, "type": "stat" }, { "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "links": [], "mappings": [ { "options": { "0": { "index": 0, "text": "Healthy" }, "1": { "index": 1, "text": "Warning" } }, "type": "value" }, { "options": { "from": 2, "result": { "index": 2, "text": "Unhealthy" }, "to": 4 }, "type": "range" } ], "max": 4, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 6, "y": 5 }, "id": 94, "options": { "colorMode": "background_solid", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["max"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "targets": [ { "azureLogAnalytics": { "dashboardTime": true, "query": "InsightsMetrics\r\n| where _ResourceId has '/microsoft.compute/virtualmachines/'\r\n| where _ResourceId has_any ($subsRESScope)\r\n| where Origin == \"vm.azm.ms\"\r\n| where Namespace == \"LogicalDisk\"\r\n| extend Resource = toupper(tostring(split(_ResourceId,'/')[8]))\r\n| extend Disk=tostring(todynamic(Tags)[\"vm.azm.ms/mountId\"])\r\n| summarize\r\n kpi1 = avgif(Val, Name == \"FreeSpacePercentage\"),\r\n kpi2 = avgif(Val, Name == \"ReadLatencyMs\"),\r\n kpi3 = avgif(Val, Name == \"WriteLatencyMs\") by Computer, _ResourceId, Disk\r\n|extend kpi1 = iff(isnan(kpi1), 0.0, kpi1)\r\n|extend kpi2 = iff(isnan(kpi2), 0.0, kpi2) \r\n|extend kpi3 = iff(isnan(kpi3), 0.0, kpi3) \r\n|extend health1 = iff(kpi1<$amba_disk_FreeSpacePercentage, 1, 0)\r\n|extend health2 = iff(kpi2>$amba_disk_ReadLatencyMs, 1, 0)\r\n|extend health3 = iff(kpi3>$amba_disk_WriteLatencyMs, 1, 0)\r\n|extend h1color = iff(tobool(health1), $unhealthy_color, $healthy_color)\r\n|extend h2color = iff(tobool(health2), $unhealthy_color, $healthy_color)\r\n|extend h3color = iff(tobool(health3), $unhealthy_color, $healthy_color)\r\n|extend health = health1 + health2 + health3\r\n|extend hcolor = iff(health>1, $unhealthy_color, iff(health==1, $warning_color, $healthy_color))\r\n| order by health desc", "resources": ["$laws"], "resultFormat": "logs", "timeColumn": "TimeGenerated" }, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "queryType": "Azure Log Analytics", "refId": "A", "subscriptions": ["ebb79bc0-aa86-44a7-8111-cabbe0c43993"] } ], "title": "Disks", "transformations": [ { "id": "organize", "options": { "excludeByName": { "A": false, "Computer": true, "Disk": true, "Resource": true, "_ResourceId": true, "h1color": true, "h2color": true, "h3color": true, "h4color": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": { "A": " ", "health": " " } } }, { "id": "configFromData", "options": { "configRefId": "A", "mappings": [ { "fieldName": "hcolor", "handlerKey": "color", "reducerId": "firstNotNull" } ] } } ], "transparent": true, "type": "stat" }, { "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 8 }, "id": 25, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "", "mode": "markdown" }, "transparent": true, "type": "text" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 }, "id": 22, "panels": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 0, "y": 9 }, "id": 6, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 2, "refId": "A" } ], "title": "Virtual Machine Available Memory Percentage", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": false, "h2color": true, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi2": true, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": false, "field": "kpi1" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi1", "handlerKey": "field.value" }, { "fieldName": "h1color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 6, "y": 9 }, "id": 92, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 2, "refId": "A" } ], "title": "Virtual Machine Processor Utilization Percentage ", "transformations": [ { "id": "organize", "options": { "excludeByName": { "TimeGenerated": true, "_ResourceId": true, "h1color": true, "h2color": false, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": false, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi2" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi2", "handlerKey": "field.value" }, { "fieldName": "h2color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 10000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 12, "y": 9 }, "id": 7, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 2, "refId": "A" } ], "title": "Virtual Machine Network Read (bytes/sec)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": true, "h2color": true, "h3color": false, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": false, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi3" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi3", "handlerKey": "field.value" }, { "fieldName": "h3color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 10000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 18, "y": 9 }, "id": 8, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 2, "refId": "A" } ], "title": "Virtual Machine Network Write (bytes/sec)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": true, "h2color": true, "h3color": true, "h4color": false, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi4" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi4", "handlerKey": "field.value" }, { "fieldName": "h4color", "handlerKey": "color" } ] } } ], "type": "bargauge" } ], "title": "Virtual Machines", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 10 }, "id": 21, "panels": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 0, "y": 10 }, "id": 16, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 26, "refId": "A" } ], "title": "VMSS Available Memory Percentage", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h2color": true, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": false, "kpi2": true, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": false, "field": "kpi1" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi1", "handlerKey": "field.value" }, { "fieldName": "h1color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 6, "y": 10 }, "id": 93, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 26, "refId": "A" } ], "title": "VMSS Processor Utilization Percentage", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": true, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": false, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi2" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi2", "handlerKey": "field.value" }, { "fieldName": "h2color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 10000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 12, "y": 10 }, "id": 17, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 26, "refId": "A" } ], "title": "VMSS Network Read (bytes/sec)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": true, "h2color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi3" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi3", "handlerKey": "field.value" }, { "fieldName": "h3color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 10000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 18, "y": 10 }, "id": 18, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 26, "refId": "A" } ], "title": "VMSS Network Write (bytes/sec)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "_ResourceId": true, "h1color": true, "h2color": true, "h3color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Resource", "handlerKey": "field.name" }, { "fieldName": "kpi4", "handlerKey": "field.value" }, { "fieldName": "h4color", "handlerKey": "color" } ] } } ], "type": "bargauge" } ], "title": "Virtual Machine Scale Set Uniform Instances", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 11 }, "id": 95, "panels": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 0, "y": 11 }, "id": 96, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 94, "refId": "A" } ], "title": "Disk Free Space", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Computer": false, "Disk": false, "TimeGenerated": true, "_ResourceId": true, "h1color": false, "h2color": true, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi2": true, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": false, "field": "kpi1" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "kpi1", "handlerKey": "field.value" }, { "fieldName": "h1color", "handlerKey": "color" }, { "fieldName": "Computer", "handlerKey": "field.name" }, { "fieldName": "Disk", "handlerKey": "field.label" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 6, "y": 11 }, "id": 97, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 94, "refId": "A" } ], "title": "Disk Read Latency (ms)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Computer": false, "Disk": false, "TimeGenerated": true, "_ResourceId": true, "h1color": true, "h2color": false, "h3color": true, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": false, "kpi3": true, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi2" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Computer", "handlerKey": "field.name" }, { "fieldName": "Disk", "handlerKey": "field.label" }, { "fieldName": "kpi2", "handlerKey": "field.value" }, { "fieldName": "h2color", "handlerKey": "color" } ] } } ], "type": "bargauge" }, { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "fieldConfig": { "defaults": { "color": { "mode": "fixed" }, "displayName": "${__field.displayName}", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "#808080" } ] } }, "overrides": [] }, "gridPos": { "h": 12, "w": 6, "x": 12, "y": 11 }, "id": 98, "options": { "displayMode": "gradient", "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": true }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" }, "targets": [ { "datasource": { "type": "datasource", "uid": "-- Dashboard --" }, "panelId": 94, "refId": "A" } ], "title": "Disk Write Latency (ms)", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Computer": false, "Disk": false, "TimeGenerated": true, "_ResourceId": true, "h1color": true, "h2color": true, "h3color": false, "h4color": true, "hcolor": true, "health": true, "health1": true, "health2": true, "health3": true, "health4": true, "kpi1": true, "kpi2": true, "kpi3": false, "kpi4": true }, "includeByName": {}, "indexByName": {}, "renameByName": {} } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "kpi3" } ] } }, { "id": "rowsToFields", "options": { "mappings": [ { "fieldName": "Computer", "handlerKey": "field.name" }, { "fieldName": "Disk", "handlerKey": "field.label" }, { "fieldName": "kpi3", "handlerKey": "field.value" }, { "fieldName": "h3color", "handlerKey": "color" } ] } } ], "type": "bargauge" } ], "title": "Disks", "type": "row" } ], "refresh": "", "schemaVersion": 39, "tags": ["azure-infra-monitor"], "templating": { "list": [ { "current": {}, "hide": 0, "includeAll": false, "label": "Datasource", "multi": false, "name": "ds", "options": [], "query": "grafana-azure-monitor-datasource", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "hide": 2, "includeAll": false, "label": "Azure Monitor Baseline Alerts", "multi": false, "name": "amba", "options": [], "query": "marcusolsson-json-datasource", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "definition": "", "description": "Subscriptions used to filter Log Analytics Workspaces variable.", "hide": 0, "includeAll": false, "label": "Workspace Scope", "multi": true, "name": "subsWSScope", "options": [], "query": { "azureLogAnalytics": { "query": "", "resources": [] }, "queryType": "Azure Subscriptions", "refId": "A" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "type": "query" }, { "current": {}, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "definition": "", "description": "Log Analytics Workspaces in scope.", "hide": 0, "includeAll": false, "label": "Workspaces", "multi": true, "name": "laws", "options": [], "query": { "azureLogAnalytics": { "query": "", "resources": [] }, "azureResourceGraph": { "query": "resources\r\n| where type == \"microsoft.operationalinsights/workspaces\"\r\n| project value=['id'], text=['name']" }, "queryType": "Azure Resource Graph", "refId": "A", "subscriptions": ["$subsWSScope"] }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "grafana-azure-monitor-datasource", "uid": "${ds}" }, "definition": "", "description": "Subscriptions used to filter resources returned from queries.", "hide": 0, "includeAll": false, "label": "Resource Scope", "multi": true, "name": "subsRESScope", "options": [], "query": { "azureLogAnalytics": { "query": "", "resources": [] }, "queryType": "Azure Subscriptions", "refId": "A" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "type": "query" }, { "current": { "selected": false, "text": "\"rgb(45,161,55)\"", "value": "\"rgb(45,161,55)\"" }, "description": "Color used when KPIs are below thresholds.", "hide": 2, "includeAll": false, "multi": false, "name": "healthy_color", "options": [ { "selected": true, "text": "\"rgb(45,161,55)\"", "value": "\"rgb(45,161,55)\"" } ], "query": "\"rgb(45\\,161\\,55)\"", "skipUrlSync": false, "type": "custom" }, { "current": { "selected": false, "text": "\"rgb(222,210,38)\"", "value": "\"rgb(222,210,38)\"" }, "description": "Color used when one KPI exceeds threshold", "hide": 2, "includeAll": false, "multi": false, "name": "warning_color", "options": [ { "selected": true, "text": "\"rgb(222,210,38)\"", "value": "\"rgb(222,210,38)\"" } ], "query": "\"rgb(222\\,210\\,38)\"", "skipUrlSync": false, "type": "custom" }, { "current": { "selected": false, "text": "\"rgb(255,31,46)\"", "value": "\"rgb(255,31,46)\"" }, "description": "Color used when KPIs exceed thresholds", "hide": 2, "includeAll": false, "multi": false, "name": "unhealthy_color", "options": [ { "selected": true, "text": "\"rgb(255,31,46)\"", "value": "\"rgb(255,31,46)\"" } ], "query": "\"rgb(255\\,31\\,46)\"", "skipUrlSync": false, "type": "custom" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"AvailableMB\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vm_AvailableMB", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"AvailableMB\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"UtilizationPercentage\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vm_UtilizationPercentage", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"UtilizationPercentage\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"ReadBytesPerSecond\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vm_ReadBytesPerSecond", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"ReadBytesPerSecond\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"WriteBytesPerSecond\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vm_WriteBytesPerSecond", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"WriteBytesPerSecond\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachineScaleSets\".\"AvailableMB\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vmss_AvailableMB", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachineScaleSets\".\"AvailableMB\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachineScaleSets\".\"UtilizationPercentage\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vmss_UtilizationPercentage", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachineScaleSets\".\"UtilizationPercentage\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachineScaleSets\".\"ReadBytesPerSecond\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vmss_ReadBytesPerSecond", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachineScaleSets\".\"ReadBytesPerSecond\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachineScaleSets\".\"WriteBytesPerSecond\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_vmss_WriteBytesPerSecond", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachineScaleSets\".\"WriteBytesPerSecond\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"FreeSpacePercentage\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_disk_FreeSpacePercentage", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"FreeSpacePercentage\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"ReadLatencyMs\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_disk_ReadLatencyMs", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"ReadLatencyMs\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" }, { "current": {}, "datasource": { "type": "marcusolsson-json-datasource", "uid": "${amba}" }, "definition": "\"Microsoft.Compute/virtualMachines\".\"WriteLatencyMs\"", "hide": 2, "includeAll": false, "multi": false, "name": "amba_disk_WriteLatencyMs", "options": [], "query": { "cacheDurationSeconds": 300, "fields": [ { "jsonPath": "\"Microsoft.Compute/virtualMachines\".\"WriteLatencyMs\"", "language": "jsonata" } ], "method": "GET", "queryParams": "", "urlPath": "" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Azure / Infrastructure / Compute Monitoring", "version": 40 }