Skip to content

Commit 9ba2c54

Browse files
Merge pull request #219384 from v-jbasden/jbasden-merge-auto-collect-dependencies
Merging app/auto-collect-dependencies.md into app/asp-net-dependencies.md
2 parents 75e8304 + 1df31d2 commit 9ba2c54

9 files changed

+82
-93
lines changed

.openpublishing.redirection.azure-monitor.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5532,6 +5532,11 @@
55325532
"redirect_url": "/azure/azure-monitor/app/export-telemetry",
55335533
"redirect_document_id": false
55345534
},
5535+
{
5536+
"source_path_from_root": "/articles/azure-monitor/app/auto-collect-dependencies.md",
5537+
"redirect_url": "/azure/azure-monitor/app/asp-net-dependencies",
5538+
"redirect_document_id": false
5539+
},
55355540
{
55365541
"source_path_from_root": "/articles/azure-monitor/app/custom-endpoints.md",
55375542
"redirect_url": "/azure/azure-monitor/app/create-new-resource",

articles/azure-monitor/app/app-map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ There are many filter combinations. Here are some suggestions that apply to most
411411
:::image type="content" source="media/app-map/image-12.png" alt-text="A screenshot displaying the Intelligent Overview toggle.":::
412412

413413
- Hide low-traffic connectors with no errors to quickly focus on issues that have higher impact:
414-
:::image type="content" source="media/app-map/image-13.png" alt-text="A screenshot displaying the Last 24 hours, calls greater than 876, and highlihgted errors filters.":::
414+
:::image type="content" source="media/app-map/image-13.png" alt-text="A screenshot displaying the Last 24 hours, calls greater than 876, and highlighted errors filters.":::
415415

416416
- Show high-traffic connectors with high average duration to focus on potential performance issues:
417417
:::image type="content" source="media/app-map/image-14.png" alt-text="A screenshot displaying the Last 24 hours, calls greater than 3057, and average time greater than 467 filters.":::
@@ -511,7 +511,7 @@ If you're having trouble getting Application Map to work as expected, try these
511511

512512
1. Confirm the [cloud role name](#set-or-override-cloud-role-name) is correctly configured.
513513

514-
1. If you're missing a dependency, make sure it's in the list of [autocollected dependencies](./auto-collect-dependencies.md). If not, you can still track it manually with a [track dependency call](./api-custom-events-metrics.md#trackdependency).
514+
1. If you're missing a dependency, make sure it's in the list of [autocollected dependencies](asp-net-dependencies.md#dependency-auto-collection). If not, you can still track it manually with a [track dependency call](./api-custom-events-metrics.md#trackdependency).
515515

516516
### Too many nodes on the map
517517

articles/azure-monitor/app/asp-net-dependencies.md

Lines changed: 48 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Dependency tracking in Application Insights | Microsoft Docs
33
description: Monitor dependency calls from your on-premises or Azure web application with Application Insights.
44
ms.topic: conceptual
5-
ms.date: 11/15/2022
5+
ms.date: 12/13/2022
66
ms.devlang: csharp
77
ms.custom: devx-track-csharp
88
ms.reviewer: casocha
@@ -28,7 +28,7 @@ Application Insights SDKs for .NET and .NET Core ship with `DependencyTrackingTe
2828
|[Azure Service Bus client SDK](https://nuget.org/packages/Azure.Messaging.ServiceBus)| Use the latest package: https://nuget.org/packages/Azure.Messaging.ServiceBus. |
2929
|Azure Cosmos DB | Only tracked automatically if HTTP/HTTPS is used. TCP mode won't be captured by Application Insights. |
3030

31-
If you're missing a dependency or using a different SDK, make sure it's in the list of [autocollected dependencies](./auto-collect-dependencies.md). If the dependency isn't autocollected, you can track it manually with a [track dependency call](./api-custom-events-metrics.md#trackdependency).
31+
If you're missing a dependency or using a different SDK, make sure it's in the list of [autocollected dependencies](#dependency-auto-collection). If the dependency isn't autocollected, you can track it manually with a [track dependency call](./api-custom-events-metrics.md#trackdependency).
3232

3333
## Set up automatic dependency tracking in console apps
3434

@@ -224,8 +224,53 @@ In the Log Analytics query view, `timestamp` represents the moment the TrackDepe
224224

225225
Like every Application Insights SDK, the dependency collection module is also open source. Read and contribute to the code or report issues at [the official GitHub repo](https://github.com/Microsoft/ApplicationInsights-dotnet).
226226

227+
## Dependency auto-collection
228+
229+
Below is the currently supported list of dependency calls that are automatically detected as dependencies without requiring any additional modification to your application's code. These dependencies are visualized in the Application Insights [Application map](./app-map.md) and [Transaction diagnostics](./transaction-diagnostics.md) views. If your dependency isn't on the list below, you can still track it manually with a [track dependency call](./api-custom-events-metrics.md#trackdependency).
230+
231+
### .NET
232+
233+
| App frameworks| Versions |
234+
| ------------------------|----------|
235+
| ASP.NET Webforms | 4.5+ |
236+
| ASP.NET MVC | 4+ |
237+
| ASP.NET WebAPI | 4.5+ |
238+
| ASP.NET Core | 1.1+ |
239+
| <b> Communication libraries</b> |
240+
| [HttpClient](https://dotnet.microsoft.com) | 4.5+, .NET Core 1.1+ |
241+
| [SqlClient](https://www.nuget.org/packages/System.Data.SqlClient) | .NET Core 1.0+, NuGet 4.3.0 |
242+
| [Microsoft.Data.SqlClient](https://www.nuget.org/packages/Microsoft.Data.SqlClient/1.1.2)| 1.1.0 - latest stable release. (See Note below.)
243+
| [Event Hubs Client SDK](https://www.nuget.org/packages/Microsoft.Azure.EventHubs) | 1.1.0 |
244+
| [ServiceBus Client SDK](https://www.nuget.org/packages/Microsoft.Azure.ServiceBus) | 3.0.0 |
245+
| <b>Storage clients</b>| |
246+
| ADO.NET | 4.5+ |
247+
248+
> [!NOTE]
249+
> There is a [known issue](https://github.com/microsoft/ApplicationInsights-dotnet/issues/1347) with older versions of Microsoft.Data.SqlClient. We recommend using 1.1.0 or later to mitigate this issue. Entity Framework Core does not necessarily ship with the latest stable release of Microsoft.Data.SqlClient so we advise confirming that you are on at least 1.1.0 to avoid this issue.
250+
251+
252+
### Java
253+
254+
See the list of Application Insights Java's
255+
[autocollected dependencies](java-in-process-agent.md#autocollected-dependencies).
256+
257+
### Node.js
258+
259+
A list of the latest [currently supported modules](https://github.com/microsoft/node-diagnostic-channel/tree/master/src/diagnostic-channel-publishers) is maintained [here](https://github.com/microsoft/node-diagnostic-channel/tree/master/src/diagnostic-channel-publishers).
260+
261+
### JavaScript
262+
263+
| Communication libraries | Versions |
264+
| ------------------------|----------|
265+
| [XMLHttpRequest](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest) | All |
266+
227267
## Next steps
228268

229269
* [Exceptions](./asp-net-exceptions.md)
230270
* [User and page data](./javascript.md)
231-
* [Availability](./monitor-web-app-availability.md)
271+
* [Availability](./monitor-web-app-availability.md)
272+
* Set up custom dependency tracking for [Java](java-in-process-agent.md#add-spans).
273+
* Set up custom dependency tracking for [OpenCensus Python](./opencensus-python-dependency.md).
274+
* [Write custom dependency telemetry](./api-custom-events-metrics.md#trackdependency)
275+
* See [data model](./data-model.md) for Application Insights types and data model.
276+
* Check out [platforms](./app-insights-overview.md#supported-languages) supported by Application Insights.

articles/azure-monitor/app/auto-collect-dependencies.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

articles/azure-monitor/app/azure-vm-vmss-apps.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom: devx-track-azurepowershell
88
ms.reviewer: abinetabate
99
---
1010

11-
# Deploy Application Insights Agent on virtual machines and virtual machine scale sets
11+
# Deploy Application Insights Agent on virtual machines and Virtual Machine Scale Sets
1212

1313
Enabling monitoring for your .NET or Java-based web applications running on [Azure Virtual Machines](https://azure.microsoft.com/services/virtual-machines/) and [Azure Virtual Machine Scale Sets](../../virtual-machine-scale-sets/index.yml) is now easier than ever. Get all the benefits of using Application Insights without modifying your code.
1414

@@ -34,11 +34,11 @@ For a complete list of supported auto-instrumentation scenarios, see [Supported
3434
3535
### [.NET Framework](#tab/net)
3636

37-
The Application Insights Agent autocollects the same dependency signals out-of-the-box as the SDK. To learn more, see [Dependency autocollection](./auto-collect-dependencies.md#net).
37+
The Application Insights Agent autocollects the same dependency signals out-of-the-box as the SDK. To learn more, see [Dependency autocollection](asp-net-dependencies.md#net).
3838

3939
### [.NET Core/.NET](#tab/core)
4040

41-
The Application Insights Agent autocollects the same dependency signals out-of-the-box as the SDK. To learn more, see [Dependency autocollection](./auto-collect-dependencies.md#net).
41+
The Application Insights Agent autocollects the same dependency signals out-of-the-box as the SDK. To learn more, see [Dependency autocollection](asp-net-dependencies.md#net).
4242

4343
### [Java](#tab/Java)
4444

@@ -119,9 +119,9 @@ You can also view installed extensions in the [Azure Virtual Machine section](..
119119
> [!NOTE]
120120
> Verify installation by selecting **Live Metrics Stream** within the Application Insights resource associated with the connection string you used to deploy the Application Insights Agent extension. If you're sending data from multiple virtual machines, select the target virtual machines under **Server Name**. It might take up to a minute for data to begin flowing.
121121
122-
## Manage Application Insights Agent for .NET applications on virtual machine scale sets by using PowerShell
122+
## Manage Application Insights Agent for .NET applications on Virtual Machine Scale Sets by using PowerShell
123123

124-
Install or update Application Insights Agent as an extension for a virtual machine scale set:
124+
Install or update Application Insights Agent as an extension for a Virtual Machine Scale Set:
125125

126126
```powershell
127127
$publicCfgHashtable =
@@ -152,7 +152,7 @@ Update-AzVmss -ResourceGroupName $vmss.ResourceGroupName -Name $vmss.Name -Virtu
152152
# Note: Depending on your update policy, you might need to run Update-AzVmssInstance for each instance.
153153
```
154154

155-
Uninstall the application monitoring extension from virtual machine scale sets:
155+
Uninstall the application monitoring extension from Virtual Machine Scale Sets:
156156

157157
```powershell
158158
$vmss = Get-AzVmss -ResourceGroupName "<myResourceGroup>" -VMScaleSetName "<myVmssName>"
@@ -164,13 +164,13 @@ Update-AzVmss -ResourceGroupName $vmss.ResourceGroupName -Name $vmss.Name -Virtu
164164
# Note: Depending on your update policy, you might need to run Update-AzVmssInstance for each instance.
165165
```
166166

167-
Query the application monitoring extension status for virtual machine scale sets:
167+
Query the application monitoring extension status for Virtual Machine Scale Sets:
168168

169169
```powershell
170170
# Not supported by extensions framework
171171
```
172172

173-
Get a list of installed extensions for virtual machine scale sets:
173+
Get a list of installed extensions for Virtual Machine Scale Sets:
174174

175175
```powershell
176176
Get-AzResource -ResourceId /subscriptions/<mySubscriptionId>/resourceGroups/<myResourceGroup>/providers/Microsoft.Compute/virtualMachineScaleSets/<myVmssName>/extensions
@@ -184,7 +184,7 @@ Get-AzResource -ResourceId /subscriptions/<mySubscriptionId>/resourceGroups/<myR
184184

185185
## Troubleshooting
186186

187-
Find troubleshooting tips for the Application Insights Monitoring Agent extension for .NET applications running on Azure virtual machines and virtual machine scale sets.
187+
Find troubleshooting tips for the Application Insights Monitoring Agent extension for .NET applications running on Azure virtual machines and Virtual Machine Scale Sets.
188188

189189
> [!NOTE]
190190
> The following steps don't apply to Node.js and Python applications, which require SDK instrumentation.
@@ -215,5 +215,5 @@ Added ASP.NET Core auto-instrumentation feature
215215

216216
## Next steps
217217

218-
* Learn how to [deploy an application to a virtual machine scale set](../../virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app.md).
218+
* Learn how to [deploy an application to a Virtual Machine Scale Set](../../virtual-machine-scale-sets/virtual-machine-scale-sets-deploy-app.md).
219219
* [Set up availability web tests](monitor-web-app-availability.md) to be alerted if your endpoint is down.

articles/azure-monitor/app/distributed-tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The Application Insights agents and SDKs for .NET, .NET Core, Java, Node.js, and
3434
* [JavaScript](./javascript.md#enable-distributed-tracing)
3535
* [Python](opencensus-python.md)
3636

37-
With the proper Application Insights SDK installed and configured, tracing information is automatically collected for popular frameworks, libraries, and technologies by SDK dependency auto-collectors. The full list of supported technologies is available in the [Dependency auto-collection documentation](./auto-collect-dependencies.md).
37+
With the proper Application Insights SDK installed and configured, tracing information is automatically collected for popular frameworks, libraries, and technologies by SDK dependency auto-collectors. The full list of supported technologies is available in the [Dependency auto-collection documentation](asp-net-dependencies.md#dependency-auto-collection).
3838

3939
Any technology also can be tracked manually with a call to [TrackDependency](./api-custom-events-metrics.md) on the [TelemetryClient](./api-custom-events-metrics.md).
4040

articles/azure-monitor/app/worker-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,6 @@ For the latest updates and bug fixes, [see the Release Notes](./release-notes.md
602602
## Next steps
603603

604604
* [Use the API](./api-custom-events-metrics.md) to send your own events and metrics for a detailed view of your app's performance and usage.
605-
* [Track more dependencies not automatically tracked](./auto-collect-dependencies.md).
605+
* [Track more dependencies not automatically tracked](asp-net-dependencies.md#dependency-auto-collection).
606606
* [Enrich or filter auto-collected telemetry](./api-filtering-sampling.md).
607607
* [Dependency Injection in ASP.NET Core](/aspnet/core/fundamentals/dependency-injection).

articles/azure-monitor/toc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,8 +1534,6 @@ items:
15341534
href: agents/azure-monitor-agent-extension-versions.md
15351535
- name: Application Insights
15361536
items:
1537-
- name: Dependency auto-collection
1538-
href: app/auto-collect-dependencies.md
15391537
- name: Telemetry correlation
15401538
href: app/correlation.md
15411539
- name: Azure Functions

0 commit comments

Comments
 (0)