Dependency auto-collection
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 and Transaction diagnostics views. If your dependency isn't on the list below, you can still track it manually with a track dependency call.
.NET
| App frameworks | Versions |
|---|---|
| ASP.NET Webforms | 4.5+ |
| ASP.NET MVC | 4+ |
| ASP.NET WebAPI | 4.5+ |
| ASP.NET Core | 1.1+ |
| Communication libraries | |
| HttpClient | 4.5+, .NET Core 1.1+ |
| SqlClient | .NET Core 1.0+, NuGet 4.3.0 |
| Microsoft.Data.SqlClient | 1.1.0 - latest stable release. (See Note below.) |
| EventHubs Client SDK | 1.1.0 |
| ServiceBus Client SDK | 3.0.0 |
| Storage clients | |
| ADO.NET | 4.5+ |
Note
There is a known issue 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.
Java
| App servers | Versions |
|---|---|
| Tomcat | 7, 8 |
| JBoss EAP | 6, 7 |
| Jetty | 9 |
| App frameworks | |
| Spring | 3.0 |
| Spring Boot | 1.5.9+* |
| Java Servlet | 3.1+ |
| Communication libraries | |
| Apache Http Client | 4.3+† |
| Storage clients | |
| SQL Server | 1+† |
| PostgreSQL (Beta Support) | |
| Oracle | 1+† |
| MySql | 1+† |
| Logging libraries | |
| Logback | 1+ |
| Log4j | 1.2+ |
| Metrics libraries | |
| JMX | 1.0+ |
Note
*Except reactive programing support.
†Requires installation of JVM Agent.
Node.js
| Communication libraries | Versions |
|---|---|
| HTTP, HTTPS | 0.10+ |
| Storage clients | |
| Redis | 2.x |
| MongoDb; MongoDb Core | 2.x - 3.x |
| MySQL | 2.0.0 - 2.16.x |
| PostgreSql; | 6.x - 7.x |
| pg-pool | 1.x - 2.x |
| Logging libraries | |
| console | 0.10+ |
| Bunyan | 1.x |
| Winston | 2.x - 3.x |
JavaScript
| Communication libraries | Versions |
|---|---|
| XMLHttpRequest | All |
Next steps
- Set up custom dependency tracking for .NET.
- Set up custom dependency tracking for Java.
- Set up custom dependency tracking for OpenCensus Python.
- Write custom dependency telemetry
- See data model for Application Insights types and data model.
- Check out platforms supported by Application Insights.