Azure Application Insights 探查器错误

问题描述 投票:0回答:1

我已将 Azure 应用程序洞察集成到我的 Azure 应用程序服务(API 应用程序)中,并打开了探查器和快照,但很少有异常情况会被频繁记录。

我已将 Azure 应用程序洞察集成到我的 Azure 应用程序服务(API 应用程序)并打开分析器,快照也如下图所示。

EnablingProfiler

我的应用程序服务计划位于 B2。以下例外情况,跟踪经常记录在应用程序洞察中。您能否帮我了解集成是否有任何问题。

例外情况

Exceptions

痕迹

Traces

azure-application-insights azure-application-insights-profiler
1个回答
0
投票

我已配置 Application Insights 并为

.NET Core 6
Web 应用程序启用 Profiler。

enter image description here

enter image description here

我能够毫无问题地查看探查器日志。

enter image description here

  • 即使你可以看到我只有痕迹和请求(没有例外)。 enter image description here

根据此 MSDoc,我们最多只能在同一应用程序服务计划中分析 4 个 Web 应用程序。

  • 正如你所提到的,

我有 10 个其他应用程序在同一应用程序服务计划中运行分析器

这是不可能的,这就是您得到例外的原因。 即使例外也说要停止之前的会话。

根据文档,可用的解决方案是

将一些网络应用程序移至不同的服务计划。

© www.soinside.com 2019 - 2024. All rights reserved.