通过ARM模板的Web应用程序和应用程序见解 [英] Web App and Application Insights via ARM template

查看:84
本文介绍了通过ARM模板的Web应用程序和应用程序见解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个ARM模板,该模板创建了与该模板(https://github.com/tomasr/webapp-appinsights)相似的App Service(Web应用程序)和Application Insights资源. App洞察力已连接到Web应用程序,并且一切正常, 唯一的问题是应用洞察力会自动生成对Web应用根目录的请求,作为可用性测试的一部分,该请求始终会返回错误,因为我的根路径中没有任何内容(即使我有,它也会调用http而不是https url) .有 设置此请求的模板中没有任何内容,如果我转到可用性属性,则没有任何内容.有没有办法关闭此功能或将其配置为调用有效的URL?

I created a ARM template that creates App Service (web application) and Application Insights resource that is similar to this template (https://github.com/tomasr/webapp-appinsights). The App insights is connected to web app and everything works fine, the only problem is that app insights automatically generates requests to root of my web app as part of availability test that always return error because I don't have anything in the root path (even if I had, it is calling http instead of https url). There is nothing in the template that sets up this request, and if I go to availability properties, nothing is there. Is there a way to turn this feature off or configure it to call a valid URL?

推荐答案

我确定您已经阅读了该文档,但以防万一,这里是:

I'm sure that you've already looked at the documentation, but just in case, here it is:

https://docs.microsoft.com/en-us/azure /application-insights/app-insights-powershell

更具体地说,是使用带有Application Insights的ARM模板进行Web App部署:

And more specifically, Web App deployment using ARM templates with Application Insights:

https://docs.microsoft.com/en -us/azure/app-service/web-sites-rm-template-guided

不过,对于您来说,该问题似乎与始终在线"请求有关.

In your case though, it appears that the issue may be related to an Always On request.


这篇关于通过ARM模板的Web应用程序和应用程序见解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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