Skip to content

Commit 0427e94

Browse files
committed
more fixes
1 parent d582e91 commit 0427e94

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The VM availability metric is currently in public preview. This metric value ind
8585
- If you have metrics with dimensions, use the following include and list the metrics with dimensions after the include. For an example, see https://learn.microsoft.com/azure/storage/common/monitor-storage-reference#metrics-dimensions. Questions: email [email protected]. -->
8686
[!INCLUDE [horz-monitor-ref-metrics-dimensions](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions.md)]
8787

88-
Virtual Machines and Virtual Machine Scale Sets have the following dimensions that are associated with their metrics:
88+
### Dimensions associated with Virtual Machines and Virtual Machine Scale Sets metrics
8989

9090
| Dimension name | Description |
9191
| ------------------- | ----------------- |
@@ -104,7 +104,7 @@ Virtual Machines and Virtual Machine Scale Sets have the following dimensions th
104104

105105
<!-- ## Azure Monitor Logs tables. Required section. -->
106106
[!INCLUDE [horz-monitor-ref-logs-tables](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
107-
### Virtual Machines
107+
108108
|Microsoft.Compute/VirtualMachines|Microsoft.Compute/virtualMachineScaleSets|
109109
|--------------|------------------------|
110110
|[Heartbeat](/azure/azure-monitor/reference/tables/Heartbeat#columns)|[AzureActivity](/azure/azure-monitor/reference/tables/AzureActivity#columns)|

articles/virtual-machines/monitor-vm.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ At a minimum your service should have the following two articles:
3636
<!-- Intro. Required. -->
3737
[!INCLUDE [horz-monitor-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)]
3838

39-
> [!NOTE]
40-
> This article provides basic information to help you get started with monitoring Azure Virtual Machines and Virtual Machine Scale Sets. For a complete guide to monitoring your entire environment of Azure and hybrid virtual machines (VMs), see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
41-
> -
39+
>[!NOTE]
40+
>This article provides basic information to help you get started with monitoring Azure Virtual Machines and Virtual Machine Scale Sets. For a complete guide to monitoring your entire environment of Azure and hybrid virtual machines (VMs), see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
4241
4342
<!-- ## Insights. Optional section. If your service has insights, add the following include and information. -->
4443
[!INCLUDE [horz-monitor-insights](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-insights.md)]
@@ -85,6 +84,9 @@ Add service-specific information about your container/Prometheus metrics here.--
8584
[!INCLUDE [horz-monitor-system-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-system-metrics.md)]
8685

8786
<!-- ## Custom metrics. Optional. If your service uses custom imported metrics, add the following include and information. -->
87+
88+
Azure Monitor starts automatically collecting metric data for your virtual machine host when you create the VM. However, to collect logs and performance data from the guest operating system of the VM, you must install the Azure Monitor agent. You can install the agent and configure collection by using VM insights or by creating a DCR.
89+
8890
[!INCLUDE [horz-monitor-custom-metrics](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-custom-metrics.md)]
8991

9092
To see how to retrieve the CPU usage for a Linux VM by using the Azure REST API, sees [Get Virtual Machine usage metrics using the REST API](linux/metrics-vm-usage-rest.md).
@@ -117,10 +119,6 @@ Add service-specific information about your imported logs here. -->
117119
<!-- ## Other logs. Optional section.
118120
If your service has other logs that aren't resource logs or in the activity log, add information that states what they are and what they cover here. You can describe how to route them in a later section. -->
119121

120-
## Azure Monitor agent
121-
122-
Azure Monitor starts automatically collecting metric data for your virtual machine host when you create the VM. However, to collect logs and performance data from the guest operating system of the VM, you must install the [Azure Monitor agent](/azure/azure-monitor/agents/azure-monitor-agent-overview). You can install the agent and configure collection by using VM insights or by creating a DCR.
123-
124122
<!-- LOGS SECTION END ------------------------------------->
125123

126124
<!-- ANALYSIS SECTION START -------------------------------------->
@@ -131,11 +129,7 @@ Azure Monitor starts automatically collecting metric data for your virtual machi
131129
<!-- ### External tools. Required section. -->
132130
[!INCLUDE [horz-monitor-external-tools](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-external-tools.md)]
133131

134-
### Analyze Virtual Machines metrics
135-
136-
Although platform metrics for the VM host are collected automatically, you must install the Azure Monitor agent and create a DCR to collect guest metrics.
137-
138-
### Analyze Virtual Machines logs
132+
### Query logs from VM insights
139133

140134
VM insights stores the data it collects in Azure Monitor Logs, and the insights provide performance and map views that you can use to interactively analyze the data. You can work directly with this data to drill down further or perform custom analyses. For more information and to get sample queries for this data, see [How to query logs from VM insights](/azure/azure-monitor/vm/vminsights-log-query).
141135

@@ -160,8 +154,7 @@ Add short information or links to specific articles that outline how to analyze
160154
<!-- ## Alerts. Required section. -->
161155
[!INCLUDE [horz-monitor-alerts](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)]
162156

163-
<!-- ONLY if applications run on your service that work with Application Insights, add the following include. -->
164-
[!INCLUDE [horz-monitor-insights-alerts](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-insights-alerts.md)]
157+
You can create a single multi-resource alert rule that applies to all VMs in a particular resource group or subscription within the same region. See [Create availability alert rule for Azure virtual machine (preview)](/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability.md) for a tutorial using the availability metric.
165158

166159
<!-- ONLY if your service (Azure VMs, AKS, or Log Analytics workspaces) offer out-of-the-box recommended alerts, add the following include. -->
167160
[!INCLUDE [horz-monitor-insights-alerts](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-recommended-alert-rules.md)]
@@ -181,8 +174,6 @@ To see common log alert rules in the Azure portal, go to the **Queries** pane in
181174

182175
For a list and description of common alert rules for Virtual Machines, see [Common alert rules](/azure/azure-monitor/vm/monitor-virtual-machine-alerts#common-alert-rules).
183176

184-
You can create a single multi-resource alert rule that applies to all VMs in a particular resource group or subscription within the same region. See [Create availability alert rule for Azure virtual machine (preview)](/azure/azure-monitor/vm/tutorial-monitor-vm-alert-availability.md) for a tutorial using the availability metric.
185-
186177
<!-- ### Advisor recommendations. Required section. -->
187178
[!INCLUDE [horz-monitor-advisor-recommendations](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-advisor-recommendations.md)]
188179
<!-- Add any service-specific advisor recommendations or screenshots here. -->

0 commit comments

Comments
 (0)