【发布时间】:2021-12-20 05:34:23
【问题描述】:
我有一个 ASP.NET Core Razor 应用程序,我在其中将 JavaScript AppInsights 组件用于 ckient 端(在 _Layout.cshtml 中配置)和用于服务器端的 nuget 包。
很遗憾,我无法将客户端的页面浏览量与服务器端的请求关联起来。此外,无论我尝试什么,应用程序地图都没有正确绘制。如您所见,它们是“断开连接的”。
我在前端尝试了以下设置,但没有运气。有什么想法吗?
disableFetchTracking: false,
enableCorsCorrelation: true,
enableRequestHeaderTracking: true,
enableResponseHeaderTracking: true,
【问题讨论】:
-
您是否使用在后端服务上使用的相同检测密钥来初始化 Application Insights JavaScript 客户端?
标签: azure asp.net-core azure-application-insights