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
> Use the full connection string, which includes `IngestionEndpoint`, when you configure your app with the Java agent. For example, use `InstrumentationKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX;IngestionEndpoint=https://XXXX.applicationinsights.azure.com/`.
147
146
148
-
> [!NOTE]
149
-
> For more information about migrating from the 2.X SDK to the 3.X Java agent, see [Upgrading from Application Insights Java 2.x SDK](java-standalone-upgrade-from-2x.md).
150
-
151
147
1. Add the JSON configuration to the *ApplicationInsights.json* configuration file depending on the authentication you're using. We recommend using managed identities.
152
148
149
+
> [!NOTE]
150
+
> For more information about migrating from the 2.X SDK to the 3.X Java agent, see [Upgrading from Application Insights Java 2.x SDK](java-standalone-upgrade-from-2x.md).
151
+
153
152
#### System-assigned managed identity
154
153
155
154
The following example shows how to configure the Java agent to use system-assigned managed identity for authentication with Azure AD.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/data-model-request-telemetry.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ ID is the identifier of a request call instance. It's used for correlation betwe
32
32
33
33
## URL
34
34
35
-
The request URL with all query string parameters.
35
+
URL is the request URL with all query string parameters.
36
36
37
37
**Maximum length**: 2,048 characters
38
38
@@ -56,7 +56,7 @@ The response code is the result of a request execution. It's the HTTP status cod
56
56
57
57
Success indicates whether a call was successful or unsuccessful. This field is required. When a request isn't set explicitly to `false`, it's considered to be successful. Set this value to `false` if the operation was interrupted by an exception or a returned error result code.
58
58
59
-
For web applications, Application Insights define a request as successful when the response code is less than `400` or equal to `401`. However, there are cases when this default mapping doesn't match the semantics of the application.
59
+
For web applications, Application Insights defines a request as successful when the response code is less than `400` or equal to `401`. However, there are cases when this default mapping doesn't match the semantics of the application.
60
60
61
61
Response code `404` might indicate "no records," which can be part of regular flow. It also might indicate a broken link. For broken links, you can implement more advanced logic. You can mark broken links as failures only when those links are located on the same site by analyzing the URL referrer. Or you can mark them as failures when they're accessed from the company's mobile application. Similarly, `301` and `302` indicate failure when they're accessed from the client that doesn't support redirect.
62
62
@@ -75,6 +75,6 @@ You can read more about the request result code and status code in the [blog pos
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/live-stream.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ If you want to monitor a particular server role instance, you can filter by serv
171
171
172
172
LiveMetricscustomfiltersallowyoutocontrolwhichofyourapplication's telemetry is streamed to the Live Metrics view in the Azure portal. The filters criteria are sent to the apps that are instrumented with the Application Insights SDK. The filter value could potentially contain sensitive information, such as the customer ID. To keep this value secured and prevent potential disclosure to unauthorized applications, you have two options:
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/tutorial-runtime-exceptions.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,29 +60,28 @@ Application Insights collects any failures in your application. It lets you view
60
60
61
61
1. The operations detail also shows a format exception, which appears to have caused the failure. You can see that it's because of an invalid Zip Code. You can open the debug snapshot to see code-level debug information in Visual Studio.
62
62
63
-

63
+

64
64
65
65
## Identify failing code
66
66
The Snapshot Debugger collects snapshots of the most frequent exceptions in your application to assist you in diagnosing its root cause in production. You can view debug snapshots in the portal to see the call stack and inspect variables at each call stack frame. Afterward, you can debug the source code by downloading the snapshot and opening it in Visual Studio 2019 Enterprise.
67
67
68
68
1. In the properties of the exception, select **Open debug snapshot**.
69
-
1. The **Debug Snapshot** pane opens with the call stack for the request. Select any method to view the values of all local variables at the time of the request. Starting from the top method in this example, we can see local variables that have no value.
69
+
1. The **Debug Snapshot** pane opens with the call stack for the request. Select any method to view the values of all local variables at the time of the request. Starting from the top method in this example, you can see local variables that have no value.
70
70
71
-

71
+

72
72
73
-
1. The first call that has valid values is **ValidZipCode**. We can see that a Zip Code was provided with letters that can't be translated into an integer. This issue appears to be the error in the code that must be corrected.
73
+
1. The first call that has valid values is **ValidZipCode**. You can see that a Zip Code was provided with letters that can't be translated into an integer. This issue appears to be the error in the code that must be corrected.
74
74
75
75

76
76
77
-
1. You can then download this snapshot into Visual Studio where we can locate the actual code that must be corrected. To do so, select **Download Snapshot**.
77
+
1. You can then download this snapshot into Visual Studio where you can locate the actual code that must be corrected. To do so, select **Download Snapshot**.
78
78
1. The snapshot is loaded into Visual Studio.
79
79
1. You can now run a debug session in Visual Studio Enterprise that quickly identifies the line of code that caused the exception.
80
80
81
-

82
-
81
+

83
82
84
83
## Use analytics data
85
-
All data collected by Application Insights is stored in Azure Log Analytics, which provides a rich query language that you can use to analyze the data in various ways. We can use this data to analyze the requests that generated the exception we're researching.
84
+
All data collected by Application Insights is stored in Azure Log Analytics, which provides a rich query language that you can use to analyze the data in various ways. You can use this data to analyze the requests that generated the exception you're researching.
86
85
87
86
1. Select the CodeLens information above the code to view telemetry provided by Application Insights.
88
87
@@ -92,17 +91,17 @@ All data collected by Application Insights is stored in Azure Log Analytics, whi
92
91
93
92
<br>
94
93
95
-
## Add work item
94
+
## Add a work item
96
95
If you connect Application Insights to a tracking system, such as Azure DevOps or GitHub, you can create a work item directly from Application Insights.
97
96
98
97
1. Return to the **Exception Properties** pane in Application Insights.
99
98
1. Select **New Work Item**.
100
99
1. The **New Work Item** pane opens with details about the exception already populated. You can add more information before you save it.
101
100
102
-

101
+

103
102
104
103
## Next steps
105
104
Now that you've learned how to identify runtime exceptions, advance to the next tutorial to learn how to identify and diagnose performance issues.
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/visual-studio.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ In Visual Studio, you see a count of the events that were logged by the Applicat
25
25
26
26
Select the **Application Insights** button to search your telemetry.
27
27
28
-
## Application Insights search
28
+
## Application Insights Search
29
29
The **Application Insights Search** window shows logged events. If you signed in to Azure when you set up Application Insights, you can search the same events in the Azure portal. Right-click the project and select **Application Insights** > **Search**.
30
30
31
31

Copy file name to clipboardExpand all lines: articles/azure-monitor/profiler/profiler.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ To enable Azure AD for profiles ingestion:
97
97
98
98
b. [User-Assigned Managed identity documentation](../../app-service/overview-managed-identity.md?tabs=portal%2chttp#add-a-user-assigned-identity)
99
99
100
-
1.[Configure and enable Azure AD](../app/azure-ad-authentication.md?tabs=net#configuring-and-enabling-azure-ad-based-authentication) in your Application Insights resource.
100
+
1.[Configure and enable Azure AD](../app/azure-ad-authentication.md?tabs=net#configure-and-enable-azure-ad-based-authentication) in your Application Insights resource.
101
101
102
102
1. Add the following application setting to let the Profiler agent know which managed identity to use:
Copy file name to clipboardExpand all lines: articles/azure-monitor/snapshot-debugger/snapshot-debugger-app-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ To turn-on Azure AD for snapshot ingestion:
76
76
77
77
1. For User-Assigned Managed identity, see the following [documentation](../../app-service/overview-managed-identity.md?tabs=portal%2chttp#add-a-user-assigned-identity).
78
78
79
-
1. Configure and turn on Azure AD in your Application Insights resource. For more information, see the following [documentation](../app/azure-ad-authentication.md?tabs=net#configuring-and-enabling-azure-ad-based-authentication)
79
+
1. Configure and turn on Azure AD in your Application Insights resource. For more information, see the following [documentation](../app/azure-ad-authentication.md?tabs=net#configure-and-enable-azure-ad-based-authentication)
80
80
1. Add the following application setting, used to let Snapshot Debugger agent know which managed identity to use:
Copy file name to clipboardExpand all lines: includes/application-insights-data-model-measurements.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ ms.topic: include
5
5
ms.date: 11/09/2018
6
6
ms.author: mbullwin
7
7
---
8
-
Collection of custom measurements. Use this collection to report named measurement associated with the telemetry item. Typical use cases are:
9
-
-the size of Dependency Telemetry payload
10
-
-the number of queue items processed by Request Telemetry
11
-
- time that customer took to complete the step in wizard step completion Event Telemetry.
8
+
Collection of custom measurements: Use this collection to report named measurements associated with the telemetry item. Typical use cases are:
9
+
-The size of the Dependency telemetry payload.
10
+
-The number of queue items processed by Request telemetry.
11
+
-The time that a customer took to finish the wizard step completing Event telemetry.
12
12
13
13
You can query custom measurements in Application Analytics:
14
14
@@ -19,6 +19,6 @@ customEvents
19
19
```
20
20
21
21
> [!NOTE]
22
-
> Custom measurements are associated with the telemetry item they belong to. They are subject to sampling with the telemetry item containing those measurements. To track a measurement that has a value independent from other telemetry types, use [Metric telemetry](../articles/azure-monitor/app/api-custom-events-metrics.md).
22
+
> Custom measurements are associated with the telemetry item they belong to. They're subject to sampling with the telemetry item that contains those measurements. To track a measurement that has a value independent from other telemetry types, use [Metric telemetry](../articles/azure-monitor/app/api-custom-events-metrics.md).
0 commit comments