You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/monitor-vm-reference.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ See [Monitor Azure Virtual Machines](monitor-vm.md) for details on the data you
46
46
>[!IMPORTANT]
47
47
>Metrics for the guest operating system (guest OS) that runs in a virtual machine (VM) aren't listed here. Guest OS metrics must be collected through one or more agents that run on or as part of the guest operating system. Guest OS metrics include performance counters that track guest CPU percentage or memory usage, both of which are frequently used for autoscaling or alerting.
48
48
>
49
-
>Host OS metrics are available and listed in the tables. Host OS metrics relate to the Hyper-V session that's hosting your guest OS session. For more information, see [Guest OS and host OS metrics](/azure/azure-monitor/reference/supported-metrics/metrics-index#guest-os-and-host-os-metrics).
49
+
>Host OS metrics are available and listed in the following tables. Host OS metrics relate to the Hyper-V session that's hosting your guest OS session. For more information, see [Guest OS and host OS metrics](/azure/azure-monitor/reference/supported-metrics/metrics-index#guest-os-and-host-os-metrics).
50
50
51
51
### Supported metrics for Microsoft.Compute/virtualMachines
52
52
The following table lists the metrics available for the Microsoft.Compute/virtualMachines resource type.
@@ -85,8 +85,6 @@ The VM availability metric is currently in public preview. This metric value ind
85
85
- 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]. -->
>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).
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, see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
41
41
42
42
<!-- ## Insights. Optional section. If your service has insights, add the following include and information. -->
@@ -46,7 +46,7 @@ At a minimum your service should have the following two articles:
46
46
47
47
VM insights monitors your Azure and hybrid virtual machines in a single interface. VM insights provides the following benefits beyond other features for monitoring VMs in Azure Monitor:
48
48
49
-
- Simplified onboarding of the Azure Monitor agent and the Dependency agent, so that you can monitor a virtual machine guest operating system and workloads.
49
+
- Simplified onboarding of the Azure Monitor agent and the Dependency agent, so that you can monitor a virtual machine (VM) guest operating system and workloads.
50
50
- Predefined data collection rules that collect the most common set of performance data.
51
51
- Predefined trending performance charts and workbooks, so that you can analyze core performance metrics from the virtual machine's guest operating system.
52
52
- The Dependency map, which displays processes that run on each virtual machine and the interconnected components with other machines and external sources.
@@ -57,7 +57,7 @@ VM insights monitors your Azure and hybrid virtual machines in a single interfac
57
57
58
58
For a tutorial on enabling VM insights for a virtual machine, see [Enable monitoring with VM insights for Azure virtual machine](/azure/azure-monitor/vm/tutorial-monitor-vm-enable-insights). For general information about enabling insights and a variety of methods for onboarding VMs, see [Enable VM insights overview](/azure/azure-monitor/vm/vminsights-enable-overview).
59
59
60
-
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 more data collection rules (DCRs) to collect events and other performance data. To learn how to install the Azure Monitor agent and create a 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).
60
+
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).
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).
92
+
You can send custom VM metrics to Azure Monitor via several methods:
93
+
94
+
- Install the [Azure Monitor Agent](/azure/azure-monitor/agents/azure-monitor-agent-overview) on your Windows or Linux Azure virtual machine or virtual machine scale set and use a [data collection rule](/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent) to send performance counters to Azure Monitor metrics.
95
+
- Install the Azure Diagnostics extension on your [Azure VM](/azure/azure-monitor/essentials/collect-custom-metrics-guestos-resource-manager-vm), [Virtual Machine Scale Set](/azure/azure-monitor/essentials/collect-custom-metrics-guestos-resource-manager-vmss), or [classic VM](/azure/azure-monitor/essentials/collect-custom-metrics-guestos-vm-classic). Then send performance counters to Azure Monitor.
96
+
- Install the [InfluxData Telegraf agent](/azure/monitor/essentials/collect-custom-metrics-linux-telegraf) on your Azure Linux VM. Send metrics by using the Azure Monitor output plug-in.
97
+
- Send custom metrics [directly to the Azure Monitor REST API](/azure/monitor/essentials/metrics-store-custom-rest-api).
98
+
99
+
For more information about custom metrics, see [Custom metrics in Azure Monitor (preview)](/azure/azure-monitor/essentials/metrics-custom-overview). To retrieve metrics like CPU usage for a Linux VM by using the Azure REST API, see [Get Virtual Machine usage metrics using the REST API](linux/metrics-vm-usage-rest.md).
93
100
94
101
<!-- ## Non-Azure Monitor metrics. Optional. If your service uses any non-Azure Monitor based metrics, add the following include and information.
@@ -170,9 +177,9 @@ Ask your PMs if you don't know. This information is the BIGGEST request we get i
170
177
171
178
### Common alert rules
172
179
173
-
To see common log alert rules in the Azure portal, go to the **Queries** pane in Log Analytics. For **Resource type**, enter **Virtual machines**, and for **Type**, enter **Alerts**.
180
+
To see common VM log alert rules in the Azure portal, go to the **Queries** pane in Log Analytics. For **Resource type**, enter **Virtual machines**, and for **Type**, enter **Alerts**.
174
181
175
-
For a list and discussion of common alert rules for Virtual Machines, see [Common alert rules](/azure/azure-monitor/vm/monitor-virtual-machine-alerts#common-alert-rules).
182
+
For a list and discussion of common Virtual Machines alert rules, see [Common alert rules](/azure/azure-monitor/vm/monitor-virtual-machine-alerts#common-alert-rules).
@@ -183,9 +190,9 @@ For a list and discussion of common alert rules for Virtual Machines, see [Commo
183
190
## Related content
184
191
<!-- You can change the wording and add more links if useful. -->
185
192
186
-
-See [Virtual Machines monitoring data reference](monitor-vm-reference.md) for a reference of the metrics, logs, and other important values for Virtual Machines.
187
-
-See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for general details on monitoring Azure resources.
188
-
-Read about[Best practices for monitoring virtual machines in Azure Monitor](/azure/azure-monitor/best-practices-vm).
189
-
-See [Overview of VM insights](/azure/azure-monitor/vm/vminsights-overview) to get started with VM insights.
190
-
-Learn how to collect and analyze VM host and client metrics and logs with the training course [Monitor your Azure virtual machines with Azure Monitor](/training/modules/monitor-azure-vm-using-diagnostic-data).
193
+
-For a reference of the metrics, logs, and other important values for Virtual Machines, see [Virtual Machines monitoring data reference](monitor-vm-reference.md).
194
+
-For general details about monitoring Azure resources, see [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource).
195
+
-For guidance based on the five pillars of the Azure Well-Architected Framework, see[Best practices for monitoring virtual machines in Azure Monitor](/azure/azure-monitor/best-practices-vm).
196
+
-To get started with VM insights, see [Overview of VM insights](/azure/azure-monitor/vm/vminsights-overview).
197
+
-To learn how to collect and analyze VM host and client metrics and logs, see the training course [Monitor your Azure virtual machines with Azure Monitor](/training/modules/monitor-azure-vm-using-diagnostic-data).
191
198
- For a complete guide to monitoring Azure and hybrid VMs, see the [Monitor virtual machines deployment guide](/azure/azure-monitor/vm/monitor-virtual-machine).
0 commit comments