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-monitor/app/change-analysis.md
+36-28Lines changed: 36 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Use Application Change Analysis in Azure Monitor to troubleshoot ap
4
4
ms.topic: conceptual
5
5
author: cawams
6
6
ms.author: cawa
7
-
ms.date: 05/07/2019
7
+
ms.date: 05/04/2020
8
8
9
9
---
10
10
@@ -25,19 +25,21 @@ The following diagram illustrates the architecture of Change Analysis:
25
25
26
26

27
27
28
-
Currently Change Analysis is integrated into the **Diagnose and solve problems** experience in the App Service web app, as well as available as a standalone tab in Azure portal.
29
-
See the *Viewing changes for all resources in Azure* section to access Change Analysis blade and the *Change Analysis for the Web Apps feature* section for using it within Web App portal later in this article.
28
+
## Data sources
29
+
30
+
Application change analysis queries for Azure Resource Manager tracked properties, proxied configurations and web app in-guest changes. In addition, the service tracks resource dependency changes to diagnose and monitor an application end-to-end.
Using [Azure Resource Graph](https://docs.microsoft.com/azure/governance/resource-graph/overview), Change Analysis provides a historical record of how the Azure resources that host your application have changed over time. Tracked settings such as managed identities, Platform OS upgrade, and hostnames can be detected.
Settings such as IP Configuration rule, TLS settings, and extension versions are not yet available in ARG, so Change Analysis queries and computes these changes securely to provide more details in what changed in the app. This information is not available yet in Azure Resource Graph but will be available soon.
37
+
38
+
Settings such as IP Configuration rule, TLS settings, and extension versions are not yet available in Azure Resource Graph, so Change Analysis queries and computes these changes securely to provide more details in what changed in the app.
37
39
38
40
### Changes in web app deployment and configuration (in-guest changes)
39
41
40
-
Change Analysis captures the deployment and configuration state of an application every 4 hours. It can detect, for example, changes in the application environment variables. The tool computes the differences and presents what has changed. Unlike Resource Manager changes, code deployment change information might not be available immediately in the tool. To view the latest changes in Change Analysis, select **Scan changes now**.
42
+
Change Analysis captures the deployment and configuration state of an application every 4 hours. It can detect, for example, changes in the application environment variables. The tool computes the differences and presents what has changed. Unlike Resource Manager changes, code deployment change information might not be available immediately in the tool. To view the latest changes in Change Analysis, select **Refresh**.
41
43
42
44

43
45
@@ -49,70 +51,71 @@ Currently the following dependencies are supported:
49
51
- Azure Storage
50
52
- Azure SQL
51
53
52
-
### Enablement
53
-
"Microsoft.ChangeAnalysis" resource provider needs to be registered with a subscription for the Azure Resource Manager tracked properties and proxied settings change data to be available. As you enter the Web App diagnose and solve problems tool or bring up the Change Analysis standalone tab, this resource provider is automatically registered. It does not have any performance and cost implementations for your subscription. When you enable Change Analysis for web apps (or enabling in the Diagnose and Solve problems tool), it will have negligible performance impact on the web app and no billing cost.
54
-
For web app in-guest changes, separate enablement is required for scanning code files within a web app. For more information, see [Enable Change Analysis in the Diagnose and solve problems tool](https://docs.microsoft.com/azure/azure-monitor/app/change-analysis#enable-change-analysis-in-the-diagnose-and-solve-problems-tool) section later in this article for more details.
54
+
## Application Change Analysis service
55
+
56
+
The Application Change Analysis service computes and aggregates change data from the data sources mentioned above. It provides a set of analytics for users to easily navigate through all resource changes and to identify which change is relevant in the troubleshooting or monitoring context.
57
+
"Microsoft.ChangeAnalysis" resource provider needs to be registered with a subscription for the Azure Resource Manager tracked properties and proxied settings change data to be available. As you enter the Web App diagnose and solve problems tool or bring up the Change Analysis standalone tab, this resource provider is automatically registered. It does not have any performance or cost implementations for your subscription. When you enable Change Analysis for web apps (or enable the Diagnose and Solve problems tool), it will have negligible performance impact on the web app and no billing cost.
58
+
For web app in-guest changes, separate enablement is required for scanning code files within a web app. For more information, see [Change Analysis in the Diagnose and solve problems tool](https://docs.microsoft.com/azure/azure-monitor/app/change-analysis#application-change-analysis-in-the-diagnose-and-solve-problems-tool) section later in this article for more details.
55
59
60
+
## Visualizations for Application Change Analysis
56
61
57
-
## Viewing changes for all resources in Azure
58
-
In Azure Monitor, there is a standalone blade for Change Analysis to view all changes with insights and application dependencies resources.
62
+
### Standalone UI
59
63
60
-
Search for Change Analysis in the search bar on Azure portal to launch the blade.
64
+
In Azure Monitor, there is a standalone pane for Change Analysis to view all changes with insights into application dependencies and resources.
65
+
66
+
Search for Change Analysis in the search bar on Azure portal to launch the experience.
61
67
62
68

63
69
64
-
Select Resource Group and resources to start viewing changes.
70
+
All resources under a selected subscription are displayed with changes from the past 24 hours. To optimize for the page load performance the service is displaying 10 resources at a time. Click on next pages to view more resources. We are working on removing this limitation.
65
71
66
72

67
73
68
-
You can see Insights and related dependencies resources that host your application. This view is designed to be application-centric for developers to troubleshoot issues.
74
+
Clicking into a resource to view all its changes. If needed, drill down into a change to view json formatted change details and insights.
69
75
70
-
Currently supported resources include:
71
-
- Virtual Machines
72
-
- Virtual Machine Scale Set
73
-
- Azure Networking resources
74
-
- Web app with in-guest file tracking and environment variables changes
76
+

75
77
76
78
For any feedback, use the send feedback button in the blade or email [email protected].
77
79
78
80

79
81
80
-
##Change Analysis for the Web Apps feature
82
+
### Web App Diagnose and Solve Problems
81
83
82
84
In Azure Monitor, Change Analysis is also built into the self-service **Diagnose and solve problems** experience. Access this experience from the **Overview** page of your App Service application.
83
85
84
86

85
87
86
-
### Enable Change Analysis in the Diagnose and solve problems tool
88
+
### Application Change Analysis in the Diagnose and solve problems tool
89
+
90
+
Application Change Analysis is a standalone detector in the Web App diagnose and solve problems tools. It is also aggregated in **Application Crashes** and **Web App Down detectors**. As you enter the Diagnose and Solve Problems tool, the **Microsoft.ChangeAnalysis** resource provider will automatically be registered. Follow these instructions to enable web app in-guest change tracking.
87
91
88
92
1. Select **Availability and Performance**.
89
93
90
94

91
95
92
-
1. Select **Application Changes**. Not that the feature is also available in **Application Crashes**.
96
+
2. Select **Application Changes**. The feature is also available in **Application Crashes**.
93
97
94
98

95
99
96
-
1. To enable Change Analysis, select **Enable now**.
100
+
3. To enable Change Analysis, select **Enable now**.
97
101
98
102

99
103
100
-
1. Turn on **Change Analysis** and select **Save**. The tool displays all web apps under an App Service plan. You can use the plan level switch to turn on Change Analysis for all web apps under a plan.
104
+
4. Turn on **Change Analysis** and select **Save**. The tool displays all web apps under an App Service plan. You can use the plan level switch to turn on Change Analysis for all web apps under a plan.
101
105
102
106

103
107
104
-
105
-
1. To access Change Analysis, select **Diagnose and solve problems** > **Availability and Performance** > **Application Crashes**. You'll see a graph that summarizes the type of changes over time along with details on those changes. By default, changes in the past 24 hours are displayed to help with immediate problems.
108
+
5. To access Change Analysis, select **Diagnose and solve problems** > **Availability and Performance** > **Application Crashes**. You'll see a graph that summarizes the type of changes over time along with details on those changes. By default, changes in the past 24 hours are displayed to help with immediate problems.
106
109
107
110

108
111
109
-
110
112
### Enable Change Analysis at scale
111
113
112
114
If your subscription includes numerous web apps, enabling the service at the level of the web app would be inefficient. Run the following script to enable all web apps in your subscription.
113
115
114
116
Pre-requisites:
115
-
* PowerShell Az Module. Follow instructions at [Install the Azure PowerShell module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-2.6.0)
117
+
118
+
- PowerShell Az Module. Follow instructions at [Install the Azure PowerShell module](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-2.6.0)
@@ -141,7 +143,13 @@ foreach ($webapp in $webapp_list)
141
143
142
144
```
143
145
146
+
### Virtual Machine Diagnose and Solve Problems
147
+
148
+
Go to Diagnose and Solve Problems tool for a Virtual Machine. Go to **Troubleshooting Tools**, browse down the page and select **Analyze recent changes** to view changes on the Virtual Machine.
149
+
150
+

144
151
152
+

0 commit comments