用于虚拟目录应用程序的应用程序见解实时指标
我有关于Azure的应用服务。它在2个不同的虚拟目录中包含2个Web应用程序集。根文件夹中没有Web应用程序。我已经为Visual Studio中的Project配置了应用程序洞察力,并将每个应用程序发布到其Azure Virtual Directory。但是,在应用程序服务的应用洞察中,没有什么可以显示的。我所看到的只是:“不可用:您的应用程序是离线或使用较旧的SDK”。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎应用程序洞察力只能在root网站上运行。
顺便说一句,您设置虚拟应用程序的方式可能会有一些错误。您应该按以下方式设置:
有关更多详细信息,您可以参考文章 - 。
另外,您还必须将应用程序Insights SDK添加到所有应用程序中,并确保为每个应用程序设置Instrumentation Keyke。
请参阅此 /a>用于类似问题的线程。
It seems that Application insight could only run on root website.
BTW, the way you set up virtual applications may have some mistakes. You should set as below:
For more details, you could refer to the article-Deploying multiple virtual directories to a single Azure Website.
Also you will have to add the app insights SDK to all the app and be sure you set InstrumentationKey for each as well.
Refer this SO thread for similar kind of issue.