Skip to content

Commit 8e027b3

Browse files
Merge pull request #274604 from cdpark/horz-monitor-vm
User Story 246543: Q&M: Curate 27 SOX Azure Monitor horizontals articles to reduce duplication - Virtual Machines
2 parents 142d347 + 5699e55 commit 8e027b3

File tree

5 files changed

+21
-47
lines changed

5 files changed

+21
-47
lines changed

articles/virtual-machines/TOC.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2059,40 +2059,12 @@
20592059
href: ./windows/tutorial-config-management.md
20602060
- name: Monitoring
20612061
items:
2062-
- name: Monitor
2062+
- name: Monitor Virtual Machines
20632063
href: monitor-vm.md?toc=/azure/virtual-machines/toc.json
20642064
- name: Monitoring data reference
20652065
href: monitor-vm-reference.md?toc=/azure/virtual-machines/toc.json
20662066
- name: Availability with Resource Graph
20672067
href: resource-graph-availability.md
2068-
- name: Tutorials
2069-
items:
2070-
- name: Enable recommended alerts
2071-
href: /azure/azure-monitor/vm/tutorial-monitor-vm-alert-recommended?toc=/azure/virtual-machines/toc.json
2072-
- name: Create availability alert
2073-
href: /azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability?toc=/azure/virtual-machines/toc.json
2074-
- name: Enable VM insights
2075-
href: /azure/azure-monitor/vm/tutorial-monitor-vm-enable-insights?toc=/azure/virtual-machines/toc.json
2076-
- name: Collect guest logs and metrics
2077-
href: /azure/azure-monitor/vm/tutorial-monitor-vm-guest?toc=/azure/virtual-machines/toc.json
2078-
- name: Monitor virtual machines guide
2079-
items:
2080-
- name: Overview
2081-
href: /azure/azure-monitor/vm/monitor-virtual-machine
2082-
- name: Deploy agents
2083-
href: /azure/azure-monitor/vm/monitor-virtual-machine-agent
2084-
- name: Collect data
2085-
href: /azure/azure-monitor/vm/monitor-virtual-machine-data-collection
2086-
- name: Analyze data
2087-
href: /azure/azure-monitor/vm/monitor-virtual-machine-analyze
2088-
- name: Create alerts
2089-
href: /azure/azure-monitor/vm/monitor-virtual-machine-alerts
2090-
- name: Migrate management pack logic
2091-
href: /azure/azure-monitor/vm/monitor-virtual-machine-management-packs
2092-
- name: VM insights
2093-
href: /azure/azure-monitor/vm/vminsights-overview
2094-
- name: Azure Monitor Agent
2095-
href: /azure/azure-monitor/agents/agents-overview
20962068
- name: Monitor availability
20972069
items:
20982070
- name: Overview

articles/virtual-machines/flash-azure-monitor.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For documentation specific to the other solutions offered by Flash, choose from
2222

2323
## Azure monitor - VM availability metric
2424

25-
Currently in public preview. It's well-suited for tracking trends, aggregating platform metrics (such as CPU and disk usage) and configuring precise threshold-based alerts. Customers can utilize this out-of-the-box [VM availability metric](../azure-monitor/platform/alerts-overview.md) in [Azure Monitor](../azure-monitor/platform/alerts-overview.md). This metric displays the trend of VM availability over time, so users can:
25+
Currently in public preview. The VM availability metric is well-suited for tracking trends, aggregating platform metrics (such as CPU and disk usage), and configuring precise threshold-based alerts. Customers can utilize this out-of-the-box [VM availability metric](monitor-vm-reference.md#vm-availability-metric-preview) in [Azure Monitor](../azure-monitor/platform/alerts-overview.md). This metric displays the trend of VM availability over time, so users can:
2626

2727
- Set up [threshold-based metric alerts](../azure-monitor/alerts/alerts-create-new-alert-rule.md?tabs=metric) on dipping VM availability to quickly trigger appropriate mitigation actions.
2828
- Correlate the VM availability metric with existing [platform metrics](../azure-monitor/essentials/data-platform-metrics.md) like memory, network, or disk for deeper insights into concerning changes that impact the overall performance of workloads.
@@ -37,21 +37,11 @@ Once on the Azure portal, navigate to the VM overview blade. The new metric is d
3737

3838
:::image type="content" source="media/flash/virtual-machine-availability-metric.png" alt-text="Screenshot of virtual machine availability metric on a virtual machine's overview page on the Azure portal." lightbox="media/flash/virtual-machine-availability-metric.png" :::
3939

40-
Select (single click) the VM availability metric chart on the overview page, to navigate to [Metrics Explorer](../azure-monitor/essentials/metrics-getting-started.md) for further analysis.
41-
Select the VM availability metric chart on the overview page, to navigate to [Metrics Explorer](../azure-monitor/essentials/metrics-getting-started.md) for further analysis.
40+
To navigate to the [metrics explorer](../azure-monitor/essentials/metrics-getting-started.md) for further analysis, select the VM availability metric chart on the overview page.
4241

4342
:::image type="content" source="media/flash/metrics-explorer-virtual-machine-availability.png" alt-text="Screenshot of the newly added VM availability Metric on Metrics Explorer on Azure portal." lightbox="media/flash/metrics-explorer-virtual-machine-availability.png" :::
4443

45-
### Metric description
46-
47-
| **Display Name** | **VM Availability (preview)** |
48-
| --- | --- |
49-
| Metric Values | 1 during expected behavior; corresponds to VM in Available state. 0 when VM is impacted by rebootful disruptions; corresponds to VM in Unavailable state. NULL (shows a dotted or dashed line on charts) when the Azure service that is emitting the metric is down or is unaware of the exact status of the VM; corresponds to VM in Unknown state. |
50-
| Aggregation | The default aggregation of the metric is Average, for prioritized investigations based on extent of downtime incurred. The other aggregations available are: Min, to immediately pinpoint to all the times where VM was unavailable. Max, to immediately pinpoint to all the instances where VM was Available. For more information on chart range, granularity, and data aggregation, see [Azure Monitor Metrics aggregation and display explained](../azure-monitor/essentials/metrics-aggregation-explained.md). |
51-
| Data Retention | Data for the VM availability metric is [stored for 93 days](../azure-monitor/essentials/data-platform-metrics.md#retention-of-metrics) to help trend analysis and historical lookback. |
52-
| Pricing | Refer to the [Pricing breakdown](https://azure.microsoft.com/pricing/details/monitor/#pricing), specifically in the "Metrics" and "Alert Rules" sections. |
53-
54-
We plan to include impact details (user vs platform initiated, planned vs unplanned) as dimensions to the metric, so users are well equipped to interpret dips, and set up much more targeted metric alerts. With the emission of dimensions in 2023, we also anticipate transitioning the offering to a general availability status.
44+
For a description of the metric's display values, see [VM availability metric](monitor-vm-reference.md#vm-availability-metric-preview).
5545

5646
### Useful links
5747

articles/virtual-machines/linux/metrics-vm-usage-rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Complete reference documentation and samples for the REST API are available in t
2121

2222
## Build the request
2323

24-
Use the following GET request to collect the [Percentage CPU metric](../../azure-monitor/essentials/metrics-supported.md#microsoftcomputevirtualmachines) from a Virtual Machine
24+
Use the following GET request to collect the [Percentage CPU metric](../monitor-vm-reference.md#supported-metrics-for-microsoftcomputevirtualmachines) from a virtual machine.
2525

2626
```http
2727
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmname}/providers/microsoft.insights/metrics?api-version=2018-01-01&metricnames=Percentage%20CPU&timespan=2018-06-05T03:00:00Z/2018-06-07T03:00:00Z

articles/virtual-machines/monitor-vm-reference.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,26 @@ See [Monitor Azure Virtual Machines](monitor-vm.md) for details on the data you
2424
The following table lists the metrics available for the Microsoft.Compute/virtualMachines resource type.
2525

2626
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
27-
[!INCLUDE [Microsoft.Compute/virtualMachines](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-compute-virtualmachines-metrics-include.md)]
27+
[!INCLUDE [microsoft-compute-virtualmachines-metrics-include](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/metrics/microsoft-compute-virtualmachines-metrics-include.md)]
28+
29+
For an example that shows how to collect the *Percentage CPU* metric from a VM, see [Get virtual machine usage metrics using the REST API](linux/metrics-vm-usage-rest.md).
2830

2931
### VM availability metric (preview)
30-
The VM availability metric is currently in public preview. This metric value indicates whether a machine is currently running and available. You can use the metric to trend availability over time and to alert if the machine is stopped. VM availability has the values in the following table.
32+
The VM availability metric is currently in public preview. This metric value indicates whether a machine is currently running and available. You can use the metric to trend availability over time and to alert if the machine is stopped. VM availability displays the following values.
3133

3234
| Value | Description |
3335
|:---|:---|
34-
| 1 | VM is running and available. |
36+
| 1 | VM is running and available. |
3537
| 0 | VM is unavailable. The VM could be stopped or rebooting. If you shut down a VM from within the VM, it emits this value. |
36-
| Null | State of the VM is unknown. If you stop a VM from the Azure portal, CLI, or PowerShell, it immediately stops emitting the availability metric, and you see null values. |
38+
| Null (dashed line) | State of the VM is unknown. If you stop a VM from the Azure portal, CLI, or PowerShell, it immediately stops emitting the availability metric, and you see null values. |
39+
40+
| Display name | Description |
41+
| --- | --- |
42+
| Aggregation | *Average* (default aggregation): for prioritized investigations based on extent of downtime incurred. <br><br>*Min*: immediately pinpoints all the times where the VM was unavailable. <br><br>*Max*: immediately pinpoints all the instances where the VM was available. <br><br>For more information on chart range, granularity, and data aggregation, see [Azure Monitor metrics aggregation and display explained](../azure-monitor/essentials/metrics-aggregation-explained.md). |
43+
| Data retention | Data for the VM availability metric is [stored for 93 days](../azure-monitor/essentials/data-platform-metrics.md#retention-of-metrics) to help trend analysis and historical lookback. |
44+
| Pricing | Refer to the [Pricing breakdown](https://azure.microsoft.com/pricing/details/monitor/#pricing), specifically in the *Metrics* and *Alert Rules* sections. |
45+
46+
To learn how to use the VM availability metric to monitor Azure Virtual Machine availability, see [Use Azure Monitor to monitor Azure Virtual Machine availability](flash-azure-monitor.md).
3747

3848
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
3949

articles/virtual-machines/monitor-vm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ For a tutorial on enabling VM insights for a virtual machine, see [Enable monito
6565

6666
If you enable VM insights, the Azure Monitor agent is installed and starts sending a predefined set of performance data to Azure Monitor Logs. You can create other data collection rules to collect events and other performance data. To learn how to install the Azure Monitor agent and create a data collection rule (DCR) that defines the data to collect, see [Tutorial: Collect guest logs and metrics from an Azure virtual machine](/azure/azure-monitor/vm/tutorial-monitor-vm-guest).
6767

68+
In VM insights, you can use the Azure Monitor Map feature to view application components that run in Azure or your environment. The Dependency agent VM extension is available for [Windows](extensions/agent-dependency-windows.md) and [Linux](extensions/agent-dependency-linux.md).
69+
6870
[!INCLUDE [horz-monitor-data-storage](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)]
6971

7072
[!INCLUDE [horz-monitor-platform-metrics](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)]

0 commit comments

Comments
 (0)