如何停止运行 Azure Web App 的多个应用程序见解? [英] How to stop running multiple application insights for Azure Web App?

查看:17
本文介绍了如何停止运行 Azure Web App 的多个应用程序见解?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

We have enabled Application Insights for an Azure Web App. The following highlighted Application Insights automatically added to the app service even after deleted manually. Is there anyway to permanently disable/delete this?

NOTE: We have configured Scale Out (Max: 10 instances) for the App Service.

解决方案

It seems that the old extension was not properly removed when you enabled the new experience. Even though the App Service doesn't show the "Microsoft.ApplicationInsights.AzureWebSites" extension as being installed, the extension is still there and periodically writes ApplicationInsightsProfiler2.

To solve the problem open Kudu and remove this entire folder: "D:homeSiteExtensionsMicrosoft.ApplicationInsights.AzureWebSites".

You might get an access denied (some of the files might be loaded in the running process). If that happens you have 2 options:

  1. Stop the App Service and try removing the folder again.
  2. Only remove "D:homeSiteExtensionsMicrosoft.ApplicationInsights.AzureWebSitesapplicationHost.xdt" & "D:homeSiteExtensionsMicrosoft.ApplicationInsights.AzureWebSitesscmApplicationHost.xdt" and then restart the AppService. Now the extension is not used anymore and you can safely remove the entire folder.

这篇关于如何停止运行 Azure Web App 的多个应用程序见解?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆