|
2 | 2 | title: Monitor Azure App Service performance | Microsoft Docs
|
3 | 3 | description: Application performance monitoring for Azure App Service. Chart load and response time, dependency information, and set alerts on performance.
|
4 | 4 | ms.topic: conceptual
|
5 |
| -ms.date: 11/15/2022 |
| 5 | +ms.date: 03/01/2023 |
6 | 6 | ms.custom: "devx-track-js, devx-track-dotnet"
|
7 | 7 | ---
|
8 | 8 |
|
@@ -31,13 +31,112 @@ There are two ways to enable monitoring for applications hosted on App Service:
|
31 | 31 |
|
32 | 32 | This approach is much more customizable, but it requires the following approaches: SDK for [.NET Core](./asp-net-core.md), [.NET](./asp-net.md), [Node.js](./nodejs.md), [Python](./opencensus-python.md), and a standalone agent for [Java](./opentelemetry-enable.md?tabs=java). This method also means you must manage the updates to the latest version of the packages yourself.
|
33 | 33 |
|
34 |
| - If you need to make custom API calls to track events/dependencies not captured by default with auto-instrumentation monitoring, you'll need to use this method. To learn more, see [Application Insights API for custom events and metrics](./api-custom-events-metrics.md). |
| 34 | + If you need to make custom API calls to track events/dependencies not captured by default with auto-instrumentation monitoring, you need to use this method. To learn more, see [Application Insights API for custom events and metrics](./api-custom-events-metrics.md). |
35 | 35 |
|
36 |
| -If both auto-instrumentation monitoring and manual SDK-based instrumentation are detected, in .NET only the manual instrumentation settings will be honored, while in Java only the auto-instrumentation will be emitting the telemetry. This practice is to prevent duplicate data from being sent. |
| 36 | +If both auto-instrumentation monitoring and manual SDK-based instrumentation are detected, in .NET only the manual instrumentation settings are honored, while in Java only the auto-instrumentation are emitting the telemetry. This practice is to prevent duplicate data from being sent. |
37 | 37 |
|
38 | 38 | > [!NOTE]
|
39 | 39 | > Snapshot Debugger and Profiler are only available in .NET and .NET Core.
|
40 | 40 |
|
| 41 | +## Release notes |
| 42 | + |
| 43 | +This section contains the release notes for Azure Web Apps Extension for runtime instrumentation with Application Insights. |
| 44 | + |
| 45 | +To find which version of the extension you're currently using, go to `https://<yoursitename>.scm.azurewebsites.net/ApplicationInsights`. |
| 46 | + |
| 47 | +### Release notes |
| 48 | + |
| 49 | +#### 2.8.44 |
| 50 | + |
| 51 | +- .NET/.NET Core: Upgraded to [ApplicationInsights .NET SDK to 2.20.1](https://github.com/microsoft/ApplicationInsights-dotnet/tree/autoinstrumentation/2.20.1). |
| 52 | + |
| 53 | +#### 2.8.43 |
| 54 | + |
| 55 | +- Separate .NET/.NET Core, Java and Node.js package into different App Service Windows Site Extension. |
| 56 | + |
| 57 | +#### 2.8.42 |
| 58 | + |
| 59 | +- JAVA extension: Upgraded to [Java Agent 3.2.0](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.2.0) from 2.5.1. |
| 60 | +- Node.js extension: Updated AI SDK to [2.1.8](https://github.com/microsoft/ApplicationInsights-node.js/releases/tag/2.1.8) from 2.1.7. Added support for User and System assigned Azure AD Managed Identities. |
| 61 | +- .NET Core: Added self-contained deployments and .NET 6.0 support using [.NET Startup Hook](https://github.com/dotnet/runtime/blob/main/docs/design/features/host-startup-hook.md). |
| 62 | + |
| 63 | +#### 2.8.41 |
| 64 | + |
| 65 | +- Node.js extension: Updated AI SDK to [2.1.7](https://github.com/microsoft/ApplicationInsights-node.js/releases/tag/2.1.7) from 2.1.3. |
| 66 | +- .NET Core: Removed out-of-support version (2.1). Supported versions are 3.1 and 5.0. |
| 67 | + |
| 68 | +#### 2.8.40 |
| 69 | + |
| 70 | +- JAVA extension: Upgraded to [Java Agent 3.1.1 (GA)](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.1.1) from 3.0.2. |
| 71 | +- Node.js extension: Updated AI SDK to [2.1.3](https://github.com/microsoft/ApplicationInsights-node.js/releases/tag/2.1.3) from 1.8.8. |
| 72 | + |
| 73 | +#### 2.8.39 |
| 74 | + |
| 75 | +- .NET Core: Added .NET Core 5.0 support. |
| 76 | + |
| 77 | +#### 2.8.38 |
| 78 | + |
| 79 | +- JAVA extension: upgraded to [Java Agent 3.0.2 (GA)](https://github.com/microsoft/ApplicationInsights-Java/releases/tag/3.0.2) from 2.5.1. |
| 80 | +- Node.js extension: Updated AI SDK to [1.8.8](https://github.com/microsoft/ApplicationInsights-node.js/releases/tag/1.8.8) from 1.8.7. |
| 81 | +- .NET Core: Removed out-of-support versions (2.0, 2.2, 3.0). Supported versions are 2.1 and 3.1. |
| 82 | + |
| 83 | +#### 2.8.37 |
| 84 | + |
| 85 | +- AppSvc Windows extension: Made .NET Core work with any version of System.Diagnostics.DiagnosticSource.dll. |
| 86 | + |
| 87 | +#### 2.8.36 |
| 88 | + |
| 89 | +- AppSvc Windows extension: Enabled Inter-op with AI SDK in .NET Core. |
| 90 | + |
| 91 | +#### 2.8.35 |
| 92 | + |
| 93 | +- AppSvc Windows extension: Added .NET Core 3.1 support. |
| 94 | + |
| 95 | +#### 2.8.33 |
| 96 | + |
| 97 | +- .NET, .NET core, Java, and Node.js agents and the Windows Extension: Support for sovereign clouds. Connections strings can be used to send data to sovereign clouds. |
| 98 | + |
| 99 | +#### 2.8.31 |
| 100 | + |
| 101 | +- The ASP.NET Core agent fixed an issue with the Application Insights SDK. If the runtime loaded the incorrect version of `System.Diagnostics.DiagnosticSource.dll`, the codeless extension doesn't crash the application and backs off. To fix the issue, customers should remove `System.Diagnostics.DiagnosticSource.dll` from the bin folder or use the older version of the extension by setting `ApplicationInsightsAgent_EXTENSIONVERSION=2.8.24`. If they don't, application monitoring isn't enabled. |
| 102 | + |
| 103 | +#### 2.8.26 |
| 104 | + |
| 105 | +- ASP.NET Core agent: Fixed issue related to updated Application Insights SDK. The agent doesn't try to load `AiHostingStartup` if the ApplicationInsights.dll is already present in the bin folder. It resolves issues related to reflection via Assembly\<AiHostingStartup\>.GetTypes(). |
| 106 | +- Known issues: Exception `System.IO.FileLoadException: Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'` could be thrown if another version of `DiagnosticSource` dll is loaded. It could happen, for example, if `System.Diagnostics.DiagnosticSource.dll` is present in the publish folder. As mitigation, use the previous version of extension by setting app settings in app services: ApplicationInsightsAgent_EXTENSIONVERSION=2.8.24. |
| 107 | + |
| 108 | +#### 2.8.24 |
| 109 | + |
| 110 | +- Repackaged version of 2.8.21. |
| 111 | + |
| 112 | +#### 2.8.23 |
| 113 | + |
| 114 | +- Added ASP.NET Core 3.0 codeless monitoring support. |
| 115 | +- Updated ASP.NET Core SDK to [2.8.0](https://github.com/microsoft/ApplicationInsights-aspnetcore/releases/tag/2.8.0) for runtime versions 2.1, 2.2 and 3.0. Apps targeting .NET Core 2.0 continue to use 2.1.1 of the SDK. |
| 116 | + |
| 117 | +#### 2.8.14 |
| 118 | + |
| 119 | +- Updated ASP.NET Core SDK version from 2.3.0 to the latest (2.6.1) for apps targeting .NET Core 2.1, 2.2. Apps targeting .NET Core 2.0 continue to use 2.1.1 of the SDK. |
| 120 | + |
| 121 | +#### 2.8.12 |
| 122 | + |
| 123 | +- Support for ASP.NET Core 2.2 apps. |
| 124 | +- Fixed a bug in ASP.NET Core extension causing injection of SDK even when the application is already instrumented with the SDK. For 2.1 and 2.2 apps, the presence of ApplicationInsights.dll in the application folder now causes the extension to back off. For 2.0 apps, the extension backs off only if ApplicationInsights is enabled with a `UseApplicationInsights()` call. |
| 125 | + |
| 126 | +- Permanent fix for incomplete HTML response for ASP.NET Core apps. This fix is now extended to work for .NET Core 2.2 apps. |
| 127 | + |
| 128 | +- Added support to turn off JavaScript injection for ASP.NET Core apps (`APPINSIGHTS_JAVASCRIPT_ENABLED=false appsetting`). For ASP.NET core, the JavaScript injection is in "Opt-Out" mode by default, unless explicitly turned off. (The default setting is done to retain current behavior.) |
| 129 | + |
| 130 | +- Fixed ASP.NET Core extension bug that caused injection even if ikey wasn't present. |
| 131 | +- Fixed a bug in the SDK version prefix logic that caused an incorrect SDK version in telemetry. |
| 132 | + |
| 133 | +- Added SDK version prefix for ASP.NET Core apps to identify how telemetry was collected. |
| 134 | +- Fixed SCM- ApplicationInsights page to correctly show the version of the pre-installed extension. |
| 135 | + |
| 136 | +#### 2.8.10 |
| 137 | + |
| 138 | +- Fix for incomplete HTML response for ASP.NET Core apps. |
| 139 | + |
41 | 140 | ## Next steps
|
42 | 141 |
|
43 | 142 | Learn how to enable auto-instrumentation application monitoring for your [.NET Core](./azure-web-apps-net-core.md), [.NET](./azure-web-apps-net.md), [Java](./azure-web-apps-java.md), or [Nodejs](./azure-web-apps-nodejs.md) application running on App Service.
|
0 commit comments