Grafana dashboard: VM template
Description: Azure VM Dashboard


{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 10075,
  "graphTooltip": 0,
  "hideControls": false,
  "id": 15,
  "links": [],
  "rows": [
    {
      "collapse": false,
      "height": "250px",
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "{dataSourceName}",
          "fill": 1,
          "id": 1,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 12,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "appInsights": {
                "groupBy": "none",
                "metricName": "select",
                "timeGrainType": "auto"
              },
              "azureMonitor": {
                "aggOptions": [
                  "None",
                  "Average",
                  "Minimum",
                  "Maximum",
                  "Total",
                  "Count"
                ],
                "aggregation": "Average",
                "dimension": "",
                "dimensionFilter": "*",
                "dimensions": [],
                "metricDefinition": "Microsoft.Compute/virtualMachines",
                "metricName": "Percentage CPU",
                "resourceGroup": "{resourceGroupName}",
                "resourceName": "{resourceName}",
                "timeGrain": "1",
                "timeGrainUnit": "minute"
              },
              "expr": "",
              "format": "time_series",
              "intervalFactor": 2,
              "queryType": "Azure Monitor",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Percentage CPU",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 193,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "{dataSourceName}",
          "fill": 1,
          "id": 2,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "appInsights": {
                "groupBy": "none",
                "metricName": "select",
                "timeGrainType": "auto"
              },
              "azureMonitor": {
                "aggOptions": [
                  "None",
                  "Average",
                  "Minimum",
                  "Maximum",
                  "Total",
                  "Count"
                ],
                "aggregation": "Total",
                "dimension": "",
                "dimensionFilter": "*",
                "dimensions": [],
                "metricDefinition": "Microsoft.Compute/virtualMachines",
                "metricName": "Network In",
                "resourceGroup": "{resourceGroupName}",
                "resourceName": "{resourceName}",
                "timeGrain": "1",
                "timeGrainUnit": "minute"
              },
              "expr": "",
              "format": "time_series",
              "intervalFactor": 2,
              "queryType": "Azure Monitor",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Network In",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "{dataSourceName}",
          "fill": 1,
          "id": 3,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "appInsights": {
                "groupBy": "none",
                "metricName": "select",
                "timeGrainType": "auto"
              },
              "azureMonitor": {
                "aggOptions": [
                  "None",
                  "Average",
                  "Minimum",
                  "Maximum",
                  "Total",
                  "Count"
                ],
                "aggregation": "Total",
                "dimension": "",
                "dimensionFilter": "*",
                "dimensions": [],
                "metricDefinition": "Microsoft.Compute/virtualMachines",
                "metricName": "Network Out",
                "resourceGroup": "{resourceGroupName}",
                "resourceName": "{resourceName}",
                "timeGrain": "1",
                "timeGrainUnit": "minute"
              },
              "expr": "",
              "format": "time_series",
              "intervalFactor": 2,
              "queryType": "Azure Monitor",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Network Out",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 241,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "{dataSourceName}",
          "fill": 1,
          "id": 4,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "appInsights": {
                "groupBy": "none",
                "metricName": "select",
                "timeGrainType": "auto"
              },
              "azureMonitor": {
                "aggOptions": [
                  "None",
                  "Average",
                  "Minimum",
                  "Maximum",
                  "Total",
                  "Count"
                ],
                "aggregation": "Total",
                "dimension": "",
                "dimensionFilter": "*",
                "dimensions": [],
                "metricDefinition": "Microsoft.Compute/virtualMachines",
                "metricName": "Disk Read Bytes",
                "resourceGroup": "{resourceGroupName}",
                "resourceName": "{resourceName}",
                "timeGrain": "1",
                "timeGrainUnit": "minute"
              },
              "expr": "",
              "format": "time_series",
              "intervalFactor": 2,
              "queryType": "Azure Monitor",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Read Bytes",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "{dataSourceName}",
          "fill": 1,
          "id": 5,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "appInsights": {
                "groupBy": "none",
                "metricName": "select",
                "timeGrainType": "auto"
              },
              "azureMonitor": {
                "aggOptions": [
                  "None",
                  "Average",
                  "Minimum",
                  "Maximum",
                  "Total",
                  "Count"
                ],
                "aggregation": "Total",
                "dimension": "",
                "dimensionFilter": "*",
                "dimensions": [],
                "metricDefinition": "Microsoft.Compute/virtualMachines",
                "metricName": "Disk Write Bytes",
                "resourceGroup": "{resourceGroupName}",
                "resourceName": "{resourceName}",
                "timeGrain": "1",
                "timeGrainUnit": "minute"
              },
              "expr": "",
              "format": "time_series",
              "intervalFactor": 2,
              "queryType": "Azure Monitor",
              "refId": "A"
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "Disk Write Bytes",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "VM template",
  "version": 4,
  "description": "Azure VM Dashboard"
}