用于虚拟目录应用程序的应用程序见解实时指标

发布于 2025-02-04 22:01:54 字数 195 浏览 3 评论 0 原文

我有关于Azure的应用服务。它在2个不同的虚拟目录中包含2个Web应用程序集。根文件夹中没有Web应用程序。我已经为Visual Studio中的Project配置了应用程序洞察力,并将每个应用程序发布到其Azure Virtual Directory。但是,在应用程序服务的应用洞察中,没有什么可以显示的。我所看到的只是:“不可用:您的应用程序是离线或使用较旧的SDK”。

I have an App Service on azure. It contains 2 web app set in 2 different virtual directory. There is no web app in the root folder. I have configure the Application Insight for both project in Visual Studio and publish each app to their azure virtual directory. But nothing is showing up in Live Metric of the Application Insight of the App Service. All I see is : "Not available: your app is offline or using an older SDK" .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你怎么敢 2025-02-11 22:01:54

似乎应用程序洞察力只能在root网站上运行

顺便说一句,您设置虚拟应用程序的方式可能会有一些错误。您应该按以下方式设置:

“在此处输入image

有关更多详细信息,您可以参考文章 -

另外,您还必须将应用程序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:

enter image description here

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文