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/azure-stack/user/azure-stack-metrics-azure-data.md
+45-26Lines changed: 45 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,80 +23,99 @@ ms.author: mabrigg
23
23
24
24
This article provides an overview of the Azure Monitor service in Azure Stack. It discusses the operation of Azure Monitor and additional information on how to use Azure Monitor on Azure Stack.
25
25
26
+
For an introduction, overview, and how to get started with Azure Monitor, see the global Azure article [Get started with Azure Monitor](https://docs.microsoft.com/azure/monitoring-and-diagnostics/monitoring-get-started).
Azure Monitor is the platform service that provides a single source for monitoring Azure resources. With Azure Monitor, you can visualize, query, route, archive, and otherwise take action on the metrics and logs coming from resources in Azure. You can work with this data by using the Azure Stack admin portal, Monitor PowerShell Cmdlets, Cross-Platform CLI, or Azure Monitor REST APIs. For the specific connectivity supported by Azure Stack, see [How to consume monitoring data from Azure Stack](azure-stack-metrics-supported.md)
31
+
26
32
> [!Note]
27
33
Metrics and diagnostic logs are not available for the Azure Stack Development Kit.
28
34
29
35
## Prerequisites
30
36
31
-
You should register **Microsoft.insights** providers on your subscription's offer resource providers settings. `Is there any existing guides on how Azure user should perform this kind of the ops?`
37
+
Register the **Microsoft.insights** resource provider on your subscription's offer resource providers settings. You can verify that the resource provider is available in your offer associated with your subscription:
38
+
39
+
1. Open the Azure Stack admin portal.
40
+
2. Select **Offers**.
41
+
3. Select the offer associated with the subscription.
42
+
4. Select **Resource providers** under **Settings.**
43
+
5. Find **Microsoft.Insights** in the list and verify that the status is **Registered.**.
44
+
45
+
`Is there any existing guides on how Azure user should perform this kind of the ops?`
32
46
33
47
## Overview
34
48
35
49
Like Azure Monitor on Azure, Azure Monitor on Azure Stack provides base-level infrastructure metrics and logs for most services.
The *Microsoft.Compute resource provider in Azure Stack includes:
42
56
- Virtual Machines
43
-
- Virtual Machines scale sets `we don't have metrics for VMSS yet.`
57
+
- Virtual Machines scale sets `strike out if not available yet.`
44
58
45
59
### Application - Diagnostics logs, Application logs, and Metrics
46
60
47
-
Applications can run on top of the Guest OS in the compute model. They emit their own set of logs and metrics. Azure Monitor relies on the Azure diagnostics extension (Windows or Linux) to collect most application level metrics and logs. The types include:
61
+
Applications can run in the OS of a VM running with the **Microsoft.Compute** resource provider. These applications and VMs emit their own set of logs and metrics. Azure Monitor relies on the Azure diagnostics extension (Windows or Linux) to collect most application level metrics and logs.
62
+
63
+
The types of measures include:
48
64
- Performance counters
49
-
- Application Logs
50
-
- Windows Event Logs
51
-
- .NET Event Source
52
-
- IIS Logs
53
-
- Manifestbased ETW
54
-
- Crash Dumps
55
-
- Customer Error Logs
65
+
- Application logs
66
+
- Windows event logs
67
+
- .NET event source
68
+
- IIS logs
69
+
- Manifest-based ETW
70
+
- Crash dumps
71
+
- Customer error logs
56
72
57
73
> [!Note]
58
74
> Linux Diagnostics extension on Azure Stack are not supported.
59
75
60
76
### Host and Guest VM metrics
61
77
62
-
The previously listed compute resources have a dedicated host VM and guest OS they interact with. The host VM and guest OS are the equivalent of root VM and guest VM in the Hyper-V hypervisor model. You can collect metrics on both. You can also collect diagnostics logs on the guest OS. (Vita: although we can have guest Agent to collect metrics/logs, Azure will do differently, they will VM guest metrics into MDM and OBO) A list of collectable metrics for Host and Guest VM metrics on Azure Stack are available at supported metrics (TBA: [Supported metrics with Azure Monitor on Azure Stack](azure-stack-metrics-supported.md)).
78
+
The previously listed compute resources have a dedicated host VM and guest OS. The host VM and guest OS are the equivalent of root VM and guest VM in Hyper-V hypervisor. You can collect metrics for both the host VM and the guest OS. In addition, you can collect diagnostics logs for the guest OS. `Vita: although we can have guest Agent to collect metrics/logs, Azure will do differently, they will VM guest metrics into MDM and OBO.` A list of collectable metrics for Host and Guest VM metrics on Azure Stack are available at [Supported metrics with Azure Monitor on Azure Stack](azure-stack-metrics-supported.md).
63
79
64
80
### Activity log
65
81
66
-
You can search the activity logs for information about your compute resources as seen by the Azure Stack infrastructure. The log contains information such as times when resources are created or destroyed. The Activity logs on Azure Stack is consistent with Azure. For more information, see the description of [Activity log overview on Azure](https://docs.microsoft.com/azure/monitoring-and-diagnostics/monitoring-overview-activity-logs).
82
+
You can search the activity logs for information about your compute resources as seen by the Azure Stack infrastructure. The log contains information such as times when resources are created or destroyed. The activity logs on Azure Stack is consistent with Azure. For more information, see the description of [Activity log overview on Azure](https://docs.microsoft.com/azure/monitoring-and-diagnostics/monitoring-overview-activity-logs).
Collectable metrics and diagnostics logs vary based on the resource type. A list of collectable metrics for each resource on Azure Stack is available at supported metrics(TBA: Supported metrics with Azure Monitor on Azure Stack). (Vita: this should be another link for logs when we have any)
91
+
Collectible metrics and diagnostics logs vary based on the resource type. A list of collectible metrics for each resource on Azure Stack is available at supported metrics. For more information, see [Supported metrics with Azure Monitor on Azure Stack](azure-stack-metrics-supported.md).
76
92
77
93
### Activity log
78
-
The activity log is the same as for compute resources.
94
+
95
+
The activity log is the same for compute resources.
79
96
80
97
### Uses for monitoring data
81
-
Store and Archive
98
+
99
+
**Store and Archive**
100
+
82
101
Some monitoring data is already stored and available in Azure Monitor for a set amount of time.
83
102
- Metrics are stored for 90 days.
84
103
- Activity log entries are stored for 90 days.
85
-
- Diagnostics logs are not stored at all. (Vita: this is confused, should be store upon resource diagnostic setting, and we don't have any resource supports this yet)
86
-
Archive the data to storage account longer (Vita: shorter is not supported neither) than the time period listed above is not support yet on Azure Stack.
104
+
- Diagnostics logs are not stored. `Vita: this is confused, should be store upon resource diagnostic setting, and we don't have any resource supports this yet.`
105
+
-Archive the data to storage account longer `Vita: shorter is not supported neither) than the time period listed above is not support yet on Azure Stack.`
87
106
88
-
**Query**
107
+
**Query**
89
108
90
-
You can use the Azure Monitor REST API, crossplatform Command-Line Interface (CLI) commands, PowerShell cmdlets, or the .NET SDK to access the data in the system or Azure storage.
109
+
You can use the Azure Monitor REST API, cross-platform Command-Line Interface (CLI) commands, PowerShell cmdlets, or the .NET SDK to access the data in the system or Azure storage.
91
110
92
-
**Virtualize**
111
+
**Visualization**
93
112
94
113
Visualizing your monitoring data in graphics and charts helps you find trends quicker than looking through the data itself.
95
114
96
115
A few visualization methods include:
97
-
- Use the Azure Stack user's and admin portal
98
-
- Route data to Microsoft Power BI - TBD
99
-
- Route the data to a third-party visualization tool using either live streaming or by having the tool read from an archive in Azure storage - TBD
116
+
- Use the Azure Stack user and admin portal
117
+
- Route data to Microsoft Power BI
118
+
- Route the data to a third-party visualization tool using either live streaming or by having the tool read from an archive in Azure storage
100
119
101
120
## Methods of accessing Azure monitor on Azure Stack
0 commit comments